 #ftf-itinerary-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ftf-popup-inner {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

#ftf-upgrade-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ftf-popup-inner {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.membership-wrapper {
  text-align: center;
}

.membership-title {
  font-size: 32px;
  font-weight: 700;
}

.membership-subtitle {
  color: #777;
  margin-bottom: 40px;
}

.plans-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-card {
  width: 320px;
  padding: 30px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: left;
}

.plan-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.features li {
  margin-bottom: 10px;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.upgrade-btn {
  background: #ff6b00;
  color: #fff;
}

.current-plan {
  background: #ccc;
  cursor: not-allowed;
}

.global-upgrade-btn {
  position: absolute;
  top: 20px;
  right: 20px;

}
.user-login-sec > .container{
    position: relative;
}
.content-side ul.festivals-list li{
    flex: 0 31%;
}
.content-side ul.festivals-list li .link-box-q{
height: auto;
}
.ftf-actions{
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
}
.drag-handle {
  cursor: grab;
  font-size: 18px;
  color: #888;
}

.drag-handle:active {
  cursor: grabbing;
}

.ftf-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.ftf-card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.ftf-card.highlight {
  border: 2px solid #ff6b00;
}

.ftf-card h3 {
  margin-bottom: 10px;
}

.ftf-usage-box {
  padding: 20px;
  background: #fff7f0;
  border-radius: 10px;
}

.ftf-progress {
  height: 8px;
  background: #eee;
  border-radius: 10px;
  margin: 10px 0;
}

.ftf-progress-bar {
  height: 100%;
  background: #ff6b00;
  border-radius: 10px;
}

.upgrade-btn {
  background: #ff6b00;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  display: inline-block;
}

.ftf-itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ftf-itinerary-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.2s ease;
}

.ftf-itinerary-card:hover {
  transform: translateY(-3px);
}

.ftf-itinerary-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.ftf-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status {
  font-weight: 600;
}

.status.active {
  color: green;
}

.status.empty {
  color: #aaa;
}

.ftf-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ftf-actions .btn {
  padding: 8px 12px;
}

.ftf-archive-itinerary {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.ftf-conflicts-box {
  background: #fff3f3;
  border: 1px solid #ffb3b3;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.ftf-conflicts-box h4 {
  margin-bottom: 10px;
  color: #d8000c;
}

.ftf-conflicts-box li {
  margin-bottom: 6px;
}
.has-conflict {
  background: #fff0f0;
}

.ftf-route-summary {
  background: #f8f9ff;
  border: 1px solid #e6e8ff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.ftf-route-stats {
  display: flex;
  gap: 30px;
  margin: 15px 0;
}

.ftf-route-stats div {
  text-align: center;
}

.ftf-route-stats strong {
  font-size: 20px;
  display: block;
}

.ftf-route-stats span {
  font-size: 12px;
  color: #777;
}

.ftf-route-reason {
  font-size: 14px;
  color: #444;
}