/* ═══════════════════════════════════════════════════════════
   QARIBIA — Flights Page CSS (Premium V2)
   ══════════════════════════════════════════════════════════ */

.fl-body {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(45, 90, 66, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(200, 150, 62, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ── Hero: Asymmetrical & Biophilic ────────────────────── */
.fl-hero {
  position: relative;
  height: 55vh;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.fl-hero__bg {
  position: absolute;
  inset: 0;
}

.fl-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: flHeroZoom 20s ease forwards;
}

@keyframes flHeroZoom {
  to {
    transform: scale(1);
  }
}

.fl-hero__overlay {
  position: absolute;
  inset: 0;
  /* Deep green gradient transitioning upwards */
  background: linear-gradient(110deg, rgba(13, 27, 42, 0.95) 0%, rgba(26, 58, 46, 0.75) 45%, transparent 100%);
}

.fl-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  /* Asymmetrical */
  margin: 0;
  padding: 0 max(20px, 5vw) 80px;
  width: 100%;
}

.fl-hero__title {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.fl-hero__title em {
  font-style: italic;
  color: var(--amber-light);
}

.fl-hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.65;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.breadcrumb a {
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb i {
  font-size: 0.55rem;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}


/* ══════════════════════════════════════════════════════════
   SEARCH CARD (Floating Glassmorphism)
   ══════════════════════════════════════════════════════════ */
.fl-search-section {
  max-width: 1600px;
  margin: -45px auto 0;
  padding: 0 max(20px, 4vw);
  position: relative;
  z-index: 10;
}

.fl-search-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 28px 32px;
}

/* Tabs */
.fl-search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.fl-tab {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--warm-white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fl-tab:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fl-tab.active {
  background: var(--deep-green);
  border-color: var(--deep-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 58, 46, 0.3);
}

.fl-tab.active i {
  color: var(--amber-light);
}

/* Search grid */
.fl-search-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  padding: 8px 16px;
}

.fl-field {
  flex: 1;
  padding: 8px 0;
  position: relative;
}

.fl-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.fl-field label i {
  color: var(--amber);
  margin-right: 6px;
}

.fl-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  padding: 0;
}

.fl-input--fixed {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.fl-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.fl-select {
  cursor: pointer;
}

/* Dividers & Swap */
.fl-search-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.fl-swap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--trans-base);
  flex-shrink: 0;
}

.fl-swap:hover {
  background: var(--deep-green);
  color: #fff;
  border-color: var(--deep-green);
  transform: rotate(180deg);
}

/* Autocomplete dropdown */
.fl-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  width: 320px;
  overflow: hidden;
  z-index: 100;
  display: none;
}

.fl-dropdown.open {
  display: block;
}

.fl-dd-item {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background var(--trans-base);
  font-size: 0.85rem;
}

.fl-dd-item:hover {
  background: var(--warm-white);
}

.fl-dd-item__code {
  width: 42px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--amber);
}

.fl-dd-item__city {
  font-weight: 600;
  color: var(--text-primary);
}

.fl-dd-item__name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* Search button */
.fl-search-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--deep-green), var(--forest));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--trans-base);
  box-shadow: 0 8px 24px rgba(26, 58, 46, 0.25);
}

.fl-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 58, 46, 0.35);
}

/* Partners */
.fl-partners {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0 0;
  flex-wrap: wrap;
}

.fl-partners__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.fl-partners__logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fl-airline-chip {
  padding: 6px 14px 6px 6px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.fl-airline-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.fl-airline-chip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}


/* ══════════════════════════════════════════════════════════
   FLIGHT RESULTS (Premium Cards)
   ══════════════════════════════════════════════════════════ */
.fl-results-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px max(20px, 4vw) 100px;
}

.fl-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}

.fl-results-meta h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.fl-results-meta p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.fl-sort-select {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
}

.fl-results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fl-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  animation: flCardIn 0.5s var(--ease-smooth) forwards;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.fl-card:nth-child(1) {
  animation-delay: 0.05s;
}

.fl-card:nth-child(2) {
  animation-delay: 0.1s;
}

.fl-card:nth-child(3) {
  animation-delay: 0.15s;
}

@keyframes flCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fl-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(45, 90, 66, 0.15);
}

/* Airline Info */
.fl-card__airline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.fl-card__airline-logo {
  width: 64px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}

.fl-card__airline-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.fl-card__airline-code {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

.fl-card__alliance {
  font-size: 0.65rem;
  color: var(--sage);
  background: rgba(107, 143, 113, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 4px;
}

/* Route Section */
.fl-card__route {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fl-card__point {
  text-align: center;
  min-width: 80px;
}

.fl-card__time {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.fl-card__code {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 6px;
}

.fl-card__path {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 0 10px;
}

.fl-card__duration {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  font-family: var(--font-heading);
}

.fl-card__line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--sage), var(--deep-green));
  border-radius: 2px;
  position: relative;
}

.fl-card__line::after {
  content: '\f072';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -4px;
  top: -7px;
  color: var(--deep-green);
  font-size: 0.8rem;
}

.fl-card__stops {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.fl-card__stops--direct {
  color: var(--amber);
  font-weight: 700;
}

/* Price & CTA */
.fl-card__pricing {
  text-align: right;
  min-width: 160px;
}

.fl-card__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.fl-card__price-per {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  margin-top: 4px;
}

.fl-card__select-btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--warm-white);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans-base);
}

.fl-card:hover .fl-card__select-btn {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(200, 150, 62, 0.3);
}

/* Flight detail tags */
.fl-card__tags {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: -10px;
}

.fl-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F8F7F4;
  padding: 6px 12px;
  border-radius: 8px;
}

.fl-tag i {
  color: var(--amber);
  font-size: 0.7rem;
}


/* ══════════════════════════════════════════════════════════
   MANUAL FLIGHT ENTRY (Bento Style)
   ══════════════════════════════════════════════════════════ */
.fl-manual-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(20px, 4vw) 100px;
}

.fl-manual-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.fl-manual__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(45, 90, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--deep-green);
  flex-shrink: 0;
}

.fl-manual__text {
  flex: 1;
}

.fl-manual__text h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fl-manual__text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.fl-manual-form {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.fl-manual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


/* ══════════════════════════════════════════════════════════
   SEAT SELECTION MODAL (Glassmorphic Update)
   ══════════════════════════════════════════════════════════ */
.seat-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.seat-modal.open {
  visibility: visible;
  pointer-events: all;
}

.seat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.seat-modal.open .seat-modal__backdrop {
  opacity: 1;
}

.seat-modal__panel {
  position: relative;
  width: 1000px;
  max-width: 96vw;
  max-height: 92vh;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.seat-modal.open .seat-modal__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.seat-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: var(--midnight);
  color: #fff;
}

.seat-modal__header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
}

.seat-modal__header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.seat-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-base);
  font-size: 1.1rem;
}

.seat-modal__close:hover {
  background: var(--amber);
  transform: rotate(90deg);
}

.seat-modal__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  flex: 1;
  overflow: hidden;
}

.seat-modal__left {
  padding: 32px;
  overflow-y: auto;
  scrollbar-width: thin;
  background: var(--warm-white);
}

.seat-modal__right {
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

/* Legend */
.seat-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.seat-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-heading);
}

.seat-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.seat-dot--available {
  background: #E8F5E9;
  border: 1.5px solid #81C784;
}

.seat-dot--taken {
  background: #F1F3F5;
  border: 1.5px solid #CFD8DC;
}

.seat-dot--selected {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  border: none;
}

.seat-dot--exit {
  background: #FFF8E1;
  border: 1.5px solid #FFB74D;
}

/* Airplane fuselage effect */
.seat-map-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seat-map {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 60px 60px 24px 24px;
  padding: 40px 24px 32px;
  position: relative;
  min-width: 320px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.seat-map::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 30px;
  background: var(--midnight);
  border-radius: 0 0 30px 30px;
}

.seat-map__cockpit {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  position: relative;
  top: -30px;
  margin-bottom: -10px;
}

.seat-map__cols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
  padding: 0 8px;
}

.seat-map__col-letter {
  width: 38px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
}

.seat-map__col-aisle {
  width: 28px;
}

.seat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 4px;
  padding: 0 8px;
}

.seat-row__num {
  width: 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}

/* Individual seat */
.seat {
  width: 38px;
  height: 36px;
  border-radius: 8px 8px 6px 6px;
  margin: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1.5px solid transparent;
}

.seat--available {
  background: #E8F5E9;
  border-color: #A5D6A7;
  color: #2E7D32;
}

.seat--available:hover {
  background: #C8E6C9;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.25);
  z-index: 2;
}

.seat--taken {
  background: #F1F3F5;
  border-color: #CFD8DC;
  color: #90A4AE;
  cursor: not-allowed;
}

.seat--selected {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  border-color: transparent;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(200, 150, 62, 0.4);
  z-index: 2;
}

.seat--exit {
  background: #FFF8E1;
  border-color: #FFB74D;
  color: #E65100;
}

.seat--exit:hover {
  background: #FFECB3;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(255, 183, 77, 0.3);
  z-index: 2;
}

.seat-aisle {
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seat-row--exit {
  position: relative;
  margin-bottom: 12px;
  margin-top: 8px;
}

.seat-row--exit::before {
  content: 'EXIT';
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #E65100;
  letter-spacing: 0.08em;
}

.seat-class-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 16px 0 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

/* ── Seat Summary Card ────────────────────────────────── */
.seat-summary-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.seat-summary__flight {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.seat-summary__flight-route {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.seat-summary__flight-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

.seat-summary__empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.seat-summary__empty i {
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  display: block;
}

.seat-summary__empty p {
  font-size: 0.9rem;
  font-weight: 600;
}

.seat-summary__selected {
  text-align: center;
  padding: 24px 0;
}

.seat-summary__seat-display {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 32px rgba(200, 150, 62, 0.4);
}

.seat-summary__seat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.seat-summary__seat-type {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

.seat-summary__pricing {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
  margin-top: auto;
  margin-bottom: 20px;
}

.seat-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.seat-price-row strong {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
}

.seat-price-total {
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 16px;
  margin-top: 8px;
}

.seat-price-total span {
  font-weight: 700;
  color: var(--text-primary);
}

.seat-price-total strong {
  font-size: 1.4rem;
  color: var(--deep-green);
}

.seat-confirm-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--deep-green), var(--forest));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--trans-base);
  box-shadow: 0 8px 24px rgba(45, 90, 66, 0.25);
  margin-top: auto;
}

.seat-confirm-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 90, 66, 0.35);
}

.seat-confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--text-muted);
  box-shadow: none;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fl-search-grid {
    flex-wrap: wrap;
  }

  .fl-field {
    flex: 1 1 30%;
  }

  .fl-search-divider {
    display: none;
  }

  .fl-results-section {
    padding: 40px 24px 80px;
  }

  .fl-manual-section {
    padding: 0 24px 80px;
  }
}

@media (max-width: 768px) {
  .fl-hero__content {
    padding: 0 24px 60px;
  }

  .fl-search-section {
    margin-top: -30px;
  }

  .fl-search-card {
    padding: 20px;
    border-radius: 16px;
  }

  .fl-search-grid {
    flex-direction: column;
    align-items: stretch;
    border: none;
    background: transparent;
    padding: 0;
  }

  .fl-field {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
  }

  .fl-swap {
    align-self: center;
    transform: rotate(90deg);
    margin: -10px 0;
    z-index: 2;
  }

  .fl-swap:hover {
    transform: rotate(270deg);
  }

  .fl-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    text-align: center;
  }

  .fl-card__airline {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .fl-card__route {
    flex-direction: column;
    gap: 12px;
  }

  .fl-card__path {
    width: 100%;
    flex-direction: row;
    padding: 10px 0;
  }

  .fl-card__pricing {
    text-align: center;
  }

  .seat-modal__panel {
    border-radius: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    transform: translateY(0);
  }

  .seat-modal__body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .seat-modal__right {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .fl-manual-inner {
    flex-direction: column;
    text-align: center;
  }

  .fl-manual-grid {
    grid-template-columns: 1fr;
  }
}