/* ============================================================
   TravelCMS Pro — Flights Module Styles
   flights.css
   ============================================================ */

/* ── Flights Module Sub-Nav ─────────────────────────────────── */
.flights-subnav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.flights-subnav .subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.flights-subnav .subnav-item:hover {
  background: var(--lt-blue);
  color: var(--brand);
}
.flights-subnav .subnav-item.active {
  background: var(--brand);
  color: white;
}
.flights-subnav .subnav-customer {
  margin-left: auto;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}
.flights-subnav .subnav-customer:hover {
  background: var(--brand);
  color: white;
}
.status-toggle {
  display: flex;
  border: 1.5px solid #e4ecf2;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 14px;
}
.status-toggle button {
  flex: 1;
  padding: 9px 6px;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all .15s;
  background: white;
  color: var(--text-muted);
}
.status-toggle button.active-btn { background: white; color:  var(--success); }
.status-toggle button.active-btn.active {
  background: var(--success);
  color: white;
}
.status-toggle button.inactive-btn.active {
  background: #8a9bb0;
  color: white;
}
.status-toggle button.draft-btn.active {
  background: var(--warn);
  color: white;
}
/* ── Flights Toolbar ────────────────────────────────────────── */
.flights-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f4f8;
  flex-wrap: wrap;
}
.flights-toolbar .search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}
.flights-toolbar .search-box .si {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px; opacity: .38;
  pointer-events: none;
}
.flights-toolbar .search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1.5px solid #e4ecf2;
  border-radius: 9px;
  font-size: 13.5px;
  background: #f6f9fc;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  transition: border-color .2s, background .2s;
}
.flights-toolbar .search-box input:focus {
  border-color: var(--brand);
  background: white;
}

/* ── Flight Card (admin list) ───────────────────────────────── */
.flight-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #edf2f7;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 20px;
}
.flight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

/* ── Airline Badge ──────────────────────────────────────────── */
.airline-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--lt-blue);
  flex-shrink: 0;
}
.airline-badge .airline-code {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.airline-badge .airline-icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 2px;
}
.airline-badge.ek { background: #fff3e0; }
.airline-badge.ek .airline-code { color: var(--accent); }
.airline-badge.qr { background: #fce4ec; }
.airline-badge.qr .airline-code { color: #8b0033; }
.airline-badge.fz { background: #e8f5e9; }
.airline-badge.fz .airline-code { color: var(--success); }
.airline-badge.tk { background: #e8eaf6; }
.airline-badge.tk .airline-code { color: var(--indigo); }
.airline-badge.g9 { background: #f3e5f5; }
.airline-badge.g9 .airline-code { color: var(--purple); }

/* ── Route Display ──────────────────────────────────────────── */
.route-display {
  display: flex;
  align-items: center;
  gap: 12px;
}
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.time-block .time-value {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.time-block .airport-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.time-block .airport-city {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.flight-duration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}
.duration-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}
.duration-line {
  width: 100%;
  height: 2px;
  background: #e4ecf2;
  border-radius: 99px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.duration-line::before,
.duration-line::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e4ecf2;
}
.duration-line::before { left: 0; }
.duration-line::after  { right: 0; }
.duration-plane {
  position: relative;
  z-index: 1;
  font-size: 14px;
}
.stops-label {
  font-size: 11px;
  color: var(--text-muted);
}
.stops-label.nonstop { color: var(--success); font-weight: 700; }
.stops-label.one-stop { color: var(--warn); font-weight: 700; }

.stop-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--warn);
  margin: 0 2px;
}
.stop-dot.nonstop { background: var(--success); }

/* ── Price Block ────────────────────────────────────────────── */
.price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.price-block .price-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-block .price-value {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.price-block .price-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Class Tabs ─────────────────────────────────────────────── */
.class-tabs {
  display: flex;
  border: 1.5px solid #e4ecf2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.class-tab {
  flex: 1;
  padding: 7px 10px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  background: white;
  color: var(--text-muted);
  transition: all .15s;
  text-align: center;
  border-right: 1px solid #e4ecf2;
}
.class-tab:last-child { border-right: none; }
.class-tab.active { background: var(--brand); color: white; }
.class-tab:hover:not(.active) { background: var(--lt-blue); color: var(--brand); }

/* ── Airport Selector ───────────────────────────────────────── */
.airport-selector {
  position: relative;
}
.airport-selector .iata-display {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  pointer-events: none;
  background: white;
  padding-left: 4px;
}
.airport-selector input {
  padding-right: 52px;
}

/* ── Passenger Counter ──────────────────────────────────────── */
.passenger-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.counter-btn {
  width: 30px; height: 30px;
  border: 1.5px solid #dce4ed;
  border-radius: 50%;
  background: white;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s;
  line-height: 1;
  font-family: 'Sora', sans-serif;
}
.counter-btn:hover { background: var(--lt-blue); border-color: var(--brand); }
.counter-btn:disabled { opacity: .4; cursor: not-allowed; }
.counter-value {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  min-width: 20px;
  text-align: center;
}

/* ── Swap Button ────────────────────────────────────────────── */
.swap-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26,107,138,0.15);
  z-index: 2;
}
.swap-btn:hover {
  background: var(--brand);
  color: white;
  transform: rotate(180deg);
}

/* ── Customer Search Hero ───────────────────────────────────── */
.search-hero {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 50%, #1d7fa8 100%);
  padding: 60px 20px 80px;
  position: relative;
  overflow: hidden;
}
.search-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.search-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.search-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.search-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: white;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.2;
}
.search-hero .hero-sub {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 30px;
}

/* Trip Type Tabs */
.trip-type-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  justify-content: center;
}
.trip-tab {
  padding: 8px 20px;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.trip-tab.active {
  background: white;
  color: var(--brand);
  border-color: white;
}
.trip-tab:hover:not(.active) {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* Search Form Card */
.search-form-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.search-form-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 16px;
  border: 1.5px solid #e4ecf2;
  border-radius: 12px;
  overflow: hidden;
}
.search-airport-field {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.search-airport-field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.search-airport-field input {
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  padding: 0;
}
.search-airport-field input::placeholder { color: #b0bec5; font-weight: 400; }
.search-airport-field .iata-badge {
  position: absolute;
  right: 45px;
  bottom: 25px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.7;
}
.swap-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-left: 1px solid #e4ecf2;
  border-right: 1px solid #e4ecf2;
}
.search-dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.search-date-field {
  border: 1.5px solid #e4ecf2;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-date-field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.search-date-field input {
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  padding: 0;
}
.pax-class-field {
  border: 1.5px solid #e4ecf2;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: relative;
  margin-bottom: 16px;
}
.pax-class-field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  cursor: pointer;
}
.pax-class-field .pax-display {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}
.pax-class-field .pax-caret {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 12px;
}

/* Passenger dropdown panel */
.pax-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: white;
  border: 1.5px solid #e4ecf2;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 100;
}
.pax-dropdown.open { display: block; }
.pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f3f6fa;
}
.pax-row:last-of-type { border-bottom: none; }
.pax-label { font-size: 13.5px; font-weight: 600; color: var(--dark); }
.pax-sub   { font-size: 11px; color: var(--text-muted); }
.class-selector {
  display: flex;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #f3f6fa;
  margin-top: 4px;
  flex-wrap: wrap;
}
.class-pill {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid #e4ecf2;
  background: white;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.class-pill.active { background: var(--brand); color: white; border-color: var(--brand); }
.class-pill:hover:not(.active) { border-color: var(--brand); color: var(--brand); }

/* Multi-city legs */
.multi-city-legs { display: flex; flex-direction: column; gap: 12px; }
.leg-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid #e4ecf2;
  border-radius: 12px;
  background: #fafbfd;
}
.leg-row .leg-num {
  position: absolute;
  top: -10px; left: 14px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  font-family: 'Sora', sans-serif;
}
.leg-row-wrap { position: relative; }

/* Popular routes section */
.popular-routes {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.popular-routes h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.route-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #edf2f7;
  padding: 16px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  border-color: var(--brand);
}
.route-card .route-airports {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
}
.route-card .route-name {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.route-card .route-price {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  text-align: right;
}
.route-card .route-price-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.route-card .route-duration {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 2px;
}

/* ── Site Header (matches index.html) ───────────────────────── */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.header-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  box-shadow: 0 3px 10px rgba(26,107,138,0.3);
}
.header-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 17px; font-weight: 800; color: var(--dark);
}
.header-logo-text span { color: var(--accent); }
.header-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-link {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-soft);
  text-decoration: none; transition: all 0.18s; white-space: nowrap;
}
.nav-link:hover { background: var(--lt-blue); color: var(--brand); }
.nav-link.active { color: var(--brand); font-weight: 600; background: var(--lt-blue); }
.header-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.btn-header-ghost {
  padding: 8px 18px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--brand);
  border: 1.5px solid var(--brand); background: transparent;
  cursor: pointer; transition: all 0.18s;
  font-family: 'DM Sans', sans-serif; text-decoration: none; white-space: nowrap;
}
.btn-header-ghost:hover { background: var(--lt-blue); }
.btn-header-primary {
  padding: 8px 20px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: white; border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  cursor: pointer; transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 3px 10px rgba(26,107,138,0.28);
  text-decoration: none; white-space: nowrap;
}
.btn-header-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,107,138,0.38); }
.ham-btn {
  display: none; flex-direction: column; justify-content: center;
  gap: 5.5px; width: 38px; height: 38px; padding: 7px;
  border-radius: 9px; border: 1.5px solid var(--border);
  background: #fff; cursor: pointer; transition: all .18s; flex-shrink: 0;
}
.ham-btn:hover { border-color: var(--brand); background: var(--lt-blue); }
.ham-btn span {
  display: block; height: 2px; background: var(--dark);
  border-radius: 2px; transition: all .25s ease;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.site-mobile-menu {
  overflow: hidden; max-height: 0;
  transition: max-height .32s ease, padding .32s ease;
  background: #fff; border-top: 1px solid var(--border);
}
.site-mobile-menu.open {
  max-height: 540px; padding: 10px 16px 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.site-mob-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-soft);
  text-decoration: none; transition: background .18s, color .18s;
}
.site-mob-link:hover { background: var(--lt-blue); color: var(--brand); }
.site-mob-link.active { background: rgba(26,107,138,.08); color: var(--brand); font-weight: 700; }
.site-mob-icon {
  width: 34px; height: 34px; border-radius: 9px; background: #f0f4f8;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.site-mob-link.active .site-mob-icon { background: rgba(26,107,138,.12); }
.site-mob-divider { height: 1px; background: var(--border); margin: 8px 0; }
.site-mob-actions { display: flex; gap: 10px; padding: 6px 12px 0; }
.site-mob-actions a {
  flex: 1; text-align: center; padding: 10px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
}
@media (max-width: 860px) {
  .header-nav { display: none; }
  .header-actions .btn-header-ghost { display: none; }
  .header-actions .btn-header-primary { display: none; }
  .ham-btn { display: flex; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 16px; height: 60px; }
  .header-logo-text { font-size: 15px; }
}

/* ── Filter Panel (results page) ────────────────────────────── */
.results-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.filter-panel {
  background: white;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.filter-panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-panel-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.filter-section {
  padding: 16px 18px;
  border-bottom: 1px solid #f3f6fa;
}
.filter-section:last-child { border-bottom: none; }
.filter-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--dark);
  font-weight: 500;
}
.filter-check input[type=checkbox] {
  accent-color: var(--brand);
  width: 15px; height: 15px;
  cursor: pointer;
}
.filter-check .filter-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Time buttons */
.time-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.time-btn {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid #e4ecf2;
  background: white;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  text-align: center;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
.time-btn.active { background: var(--lt-blue); border-color: var(--brand); color: var(--brand); }
.time-btn:hover:not(.active) { border-color: var(--brand); }

/* Range Slider */
.range-slider {
  padding: 4px 0;
}
.range-slider input[type=range] {
  width: 100%;
  accent-color: var(--brand);
  height: 4px;
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

/* ── Result Cards ───────────────────────────────────────────── */
.results-area { display: flex; flex-direction: column; gap: 14px; }
.sort-bar {
  background: white;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.sort-bar span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}
.sort-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .15s;
}
.sort-btn.active { background: var(--lt-blue); color: var(--brand); }
.sort-btn:hover:not(.active) { background: #f3f6fa; }
.results-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.result-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  padding: 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
}
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  border-color: var(--brand);
}
.result-airline-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.result-flight-info {
  display: flex;
  align-items: center;
  gap: 0;
}
.result-time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.result-time {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.result-airport {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 3px;
}
.result-duration-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  gap: 4px;
}
.result-duration-line {
  width: 100%;
  height: 2px;
  background: #e4ecf2;
  border-radius: 99px;
  position: relative;
}
.result-duration-line::before,
.result-duration-line::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #b0bec5;
  top: 50%; transform: translateY(-50%);
}
.result-duration-line::before { left: -3px; }
.result-duration-line::after  { right: -3px; }
.result-stop-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}
.result-stop-badge.nonstop { background: #e8f8ef; color: var(--success); }
.result-stop-badge.one-stop { background: #fff8e6; color: #c57a00; }
.result-stop-badge.two-stop { background: #fde8e8; color: var(--danger); }

.result-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 160px;
}
.result-class-tabs {
  display: flex;
  border: 1.5px solid #e4ecf2;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}
.result-class-tab {
  flex: 1;
  padding: 5px 4px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  border: none;
  background: white;
  cursor: pointer;
  color: var(--text-muted);
  border-right: 1px solid #e4ecf2;
  font-family: 'DM Sans', sans-serif;
  transition: all .15s;
  line-height: 1.3;
}
.result-class-tab:last-child { border-right: none; }
.result-class-tab.active { background: var(--brand); color: white; }
.result-class-tab .tab-price {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

/* ── Booking Flow ────────────────────────────────────────────── */
.booking-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.booking-main { display: flex; flex-direction: column; gap: 20px; }
.booking-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Progress steps (customer) */
.booking-steps {
  background: white;
  border-radius: 14px;
  border: 1px solid #edf2f7;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 20px auto 0;
  overflow-x: auto;
}

/* Booking step items */
.step-item {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; cursor: pointer;
}
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #dce4ed;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-family: 'Sora', sans-serif;
  color: var(--text-muted); transition: all .2s; flex-shrink: 0;
}
.step-item.active .step-dot { border-color: var(--brand); background: var(--brand); color: white; }
.step-item.done .step-dot { border-color: var(--success); background: var(--success); color: white; }
.step-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.step-item.active .step-label, .step-item.done .step-label { color: var(--dark); }
.step-connector { flex: 1; min-width: 24px; height: 2px; background: #e4ecf2; margin: 0 8px; }
.step-connector.done { background: var(--success); }

/* Selected flight summary sidebar */
.selected-flight-summary {
  background: white;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  overflow: hidden;
}
.summary-header {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f4f8;
  background: var(--lt-blue);
}
.summary-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}
.summary-body { padding: 16px 18px; }
.summary-flight-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f6fa;
}
.summary-flight-row:last-of-type { border-bottom: none; }
.summary-route {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
}
.summary-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.fare-table { width: 100%; margin-top: 12px; }
.fare-table tr td {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-soft);
}
.fare-table tr td:last-child { text-align: right; font-weight: 600; color: var(--dark); }
.fare-table .fare-total td {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  border-top: 2px solid #f0f4f8;
  padding-top: 10px;
  margin-top: 4px;
}

/* ── Passenger Form Section ──────────────────────────────────── */
.passenger-form-section {
  background: white;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  overflow: hidden;
}
.passenger-form-header {
  padding: 16px 20px;
  background: #fafbfd;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  align-items: center;
  gap: 12px;
}
.passenger-form-header .pax-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.passenger-form-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.passenger-form-body { padding: 20px; }

/* Passport row grid */
.passport-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
}

/* Preferences section */
.seat-pref-row {
  display: flex;
  gap: 10px;
}
.seat-pref-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid #e4ecf2;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
  user-select: none;
}
.seat-pref-option input[type=radio] { accent-color: var(--brand); cursor: pointer; }
.seat-pref-option:has(input:checked) { border-color: var(--brand); background: var(--lt-blue); color: var(--brand); }

/* ── Add-on Cards ────────────────────────────────────────────── */
.addon-section { margin-bottom: 28px; }
.addon-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.addon-card {
  background: white;
  border-radius: 14px;
  border: 2px solid #e4ecf2;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.addon-card:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(26,107,138,0.1); }
.addon-card.selected {
  border-color: var(--brand);
  background: var(--lt-blue);
}
.addon-card.selected .addon-toggle-btn {
  background: var(--brand);
  color: white;
}
.addon-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}
.addon-card.selected .addon-icon-wrap { background: rgba(26,107,138,0.1); }
.addon-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.addon-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}
.addon-price {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 12px;
}
.addon-toggle-btn {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1.5px solid var(--brand);
  background: white;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.addon-toggle-btn:hover { background: var(--lt-blue); }

/* Wide addon card */
.addon-card-wide {
  border-radius: 14px;
  border: 2px solid #e4ecf2;
  background: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all .2s;
}
.addon-card-wide:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(26,107,138,0.1); }
.addon-card-wide.selected { border-color: var(--brand); background: var(--lt-blue); }
.addon-wide-info { flex: 1; }
.addon-wide-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.addon-wide-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.addon-feature-chip {
  padding: 3px 10px;
  border-radius: 99px;
  background: #f0f4f8;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-soft);
}

/* Seat map decorative */
.seat-map-mini {
  background: #f8fafc;
  border: 1.5px solid #e4ecf2;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}
.seat-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  justify-content: center;
  align-items: center;
}
.seat {
  width: 22px; height: 22px;
  border-radius: 4px 4px 3px 3px;
  border: 1.5px solid #dce4ed;
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
}
.seat.available { background: white; cursor: pointer; }
.seat.available:hover { background: var(--lt-blue); border-color: var(--brand); }
.seat.occupied { background: #e4ecf2; border-color: #dce4ed; cursor: not-allowed; }
.seat.selected-seat { background: var(--brand); color: white; border-color: var(--brand); }
.seat.window { background: #e8f5e9; }
.seat-aisle { width: 12px; }

/* ── E-Ticket ────────────────────────────────────────────────── */
.eticket-page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}
.eticket-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.eticket-wrap {
  background: white;
  border-radius: 20px;
  border: 1px solid #e4ecf2;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.eticket-header {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eticket-logo {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: white;
}
.eticket-logo span { color: var(--accent); }
.eticket-header-right {
  text-align: right;
}
.eticket-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.eticket-ref {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
}
.eticket-status-bar {
  background: white;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed #e4ecf2;
}

/* Passenger strip */
.eticket-passenger-strip {
  padding: 16px 30px;
  background: #fafbfd;
  border-bottom: 1px dashed #e4ecf2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.eticket-field-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.eticket-field-value {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

/* Route section */
.eticket-route {
  padding: 28px 30px;
  border-bottom: 2px dashed #e4ecf2;
}
.eticket-airports-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}
.eticket-airport-block {
  flex: 1;
}
.eticket-iata {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.eticket-airport-name {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.eticket-flight-arrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.eticket-arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 99px;
  position: relative;
}
.eticket-arrow-line .plane-on-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  background: white;
  padding: 0 4px;
}
.eticket-flight-num {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}
.eticket-airport-block.right {
  text-align: right;
}

.eticket-times-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
}
.eticket-time-field { text-align: center; }
.eticket-big-time {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.eticket-time-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Airline info row */
.eticket-airline-row {
  padding: 14px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px dashed #e4ecf2;
  background: white;
}
.eticket-airline-name {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.eticket-airline-detail {
  font-size: 12px;
  color: var(--text-muted);
}

/* Baggage & services */
.eticket-services {
  padding: 18px 30px;
  border-bottom: 1px dashed #e4ecf2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Add-ons purchased */
.eticket-addons {
  padding: 16px 30px;
  border-bottom: 2px dashed #e4ecf2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.addon-purchased-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #e8f8ef;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

/* Fare breakdown */
.eticket-fare {
  padding: 18px 30px;
  border-bottom: 2px dashed #e4ecf2;
}
.eticket-fare-title {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.eticket-fare-table { width: 100%; border-collapse: collapse; }
.eticket-fare-table td {
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: 1px solid #f3f6fa;
}
.eticket-fare-table td:last-child { text-align: right; font-weight: 600; color: var(--dark); }
.eticket-fare-table .fare-total-row td {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  border-bottom: none;
  border-top: 2px solid #e4ecf2;
  padding-top: 10px;
}

/* Barcode */
.eticket-barcode {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f0f4f8;
}
.barcode-lines {
  font-family: 'Courier New', monospace;
  font-size: 28px;
  letter-spacing: -2px;
  color: var(--dark);
  line-height: 1;
  overflow: hidden;
  max-width: 100%;
}
.barcode-ref {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 3px;
}
.eticket-passenger-row {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f3f6fa;
  font-size: 13px;
}
.eticket-passenger-row:last-child { border-bottom: none; }

/* Ticket footer */
.eticket-footer {
  padding: 16px 30px;
  background: #fafbfd;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Important info accordion */
.info-accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-item {
  background: white;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  overflow: hidden;
}
.accordion-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--dark);
}
.accordion-header .acc-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform .2s;
}
.accordion-header.open .acc-arrow { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ── API Integration Cards ───────────────────────────────────── */
.api-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.api-card {
  background: white;
  border-radius: 18px;
  border: 1px solid #edf2f7;
  padding: 24px;
  transition: box-shadow .2s;
}
.api-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.api-card.connected { border-color: var(--success); }
.api-card.placeholder { opacity: 0.85; }
.api-card-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  background: var(--lt-blue);
}
.api-card-name {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.api-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.api-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}
.api-status-badge.coming { background: #fff8e6; color: #c57a00; }
.api-status-badge.connected { background: #e8f8ef; color: var(--success); }
.api-form-group { margin-bottom: 12px; }
.api-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}
.api-form-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #dce4ed;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: #f8fafc;
  outline: none;
  color: var(--dark);
  transition: border-color .2s;
}
.api-form-group input:focus { border-color: var(--brand); background: white; }
.api-env-toggle {
  display: flex;
  border: 1.5px solid #e4ecf2;
  border-radius: 8px;
  overflow: hidden;
}
.api-env-btn {
  flex: 1; padding: 8px; border: none;
  font-size: 12px; font-weight: 600;
  background: white; color: var(--text-muted);
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all .15s;
}
.api-env-btn.active { background: var(--brand); color: white; }

/* ── Markup Rules ────────────────────────────────────────────── */
.markup-rule-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 80px 100px auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f6fa;
  font-size: 13px;
}
.markup-rule-row:last-child { border-bottom: none; }
.markup-rule-row:hover { background: #fbfcfe; }

/* ── Airport/Airline Table Row ──────────────────────────────── */
.airport-table-row:hover td { background: #fbfcfe; }

/* Results info bar */
.results-info-bar {
  background: white;
  border-bottom: 1px solid #edf2f7;
  padding: 14px 20px;
}
.results-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.results-info-text {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.results-info-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ── Print styles ────────────────────────────────────────────── */
@media print {
  .customer-header,
  .eticket-actions,
  .info-accordion { display: none; }
  body { background: white; }
  .eticket-wrap {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .results-layout { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .api-grid { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr 1fr; }
  .search-form-row { grid-template-columns: 1fr; }
  .eticket-passenger-strip { grid-template-columns: 1fr 1fr; }
  .passport-row { grid-template-columns: 1fr 1fr; }
  .eticket-services { grid-template-columns: 1fr 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
}
