/* ============================================================
   TheBookFlight — Search Results Page (Premium Design System)
   OTA-Grade | EaseMyTrip + MakeMyTrip + Cleartrip inspired
   ============================================================ */

/* ── Design Tokens ── */
:root, .tbf-dark {
  --sr-brand: #d0021b;
  --sr-brand-dark: #a80016;
  --sr-brand-glow: rgba(208,2,27,0.25);
  --sr-bg: #0b1220;
  --sr-card: #141b2d;
  --sr-border: rgba(255, 255, 255, 0.08);
  --sr-text: #ffffff;
  --sr-text-dim: #94a3b8;
  --sr-text-faint: #64748b;
  --sr-green: #10b981;
  --sr-green-bg: rgba(16, 185, 129, 0.15);
  --sr-orange: #f59e0b;
  --sr-orange-bg: rgba(245, 158, 11, 0.15);
  --sr-blue: #3b82f6;
  --sr-blue-bg: rgba(59, 130, 246, 0.15);
  --sr-red: #ef4444;
  --sr-font: 'Inter', 'Outfit', -apple-system, sans-serif;
  --sr-radius: 12px;
  --sr-shadow: 0 4px 20px rgba(0,0,0,0.3);
  --sr-shadow-hover: 0 8px 30px rgba(0,0,0,0.5);
  --sr-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global Reset ── */
.sr-page {
  font-family: var(--sr-font);
  background: linear-gradient(165deg, #050b14 0%, #0a1628 30%, #0d1f3c 60%, #050b14 100%);
  min-height: 100vh;
  color: var(--sr-text);
  position: relative;
  padding-bottom: 40px;
}
.sr-container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ── Summary Bar ── */
.sr-summary {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 14px 20px;
  margin-bottom: 16px;
  box-shadow: var(--sr-shadow);
}
.sr-summary-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sr-route { display: flex; align-items: center; gap: 10px; }
.sr-route-city { font-size: 18px; font-weight: 800; color: var(--sr-text); letter-spacing: -0.3px; }
.sr-route-arrow { color: var(--sr-text-dim); font-size: 18px; }
.sr-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--sr-text-dim); font-weight: 600; }
.sr-meta i { margin-right: 4px; }
.sr-modify-btn {
  background: rgba(255,255,255,0.06); border: 1px solid var(--sr-border);
  color: var(--sr-text); padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: var(--sr-transition); font-family: var(--sr-font);
}
.sr-modify-btn:hover { background: rgba(255,255,255,0.1); }

/* ── Modify Search Panel ── */
.sr-modify-panel {
  display: none; background: var(--sr-card); border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius); padding: 20px; margin-bottom: 16px;
  box-shadow: var(--sr-shadow); animation: slideDown 0.3s ease;
}
.sr-modify-panel.open { display: block; }
.sr-mod-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Main Layout ── */
.sr-main {
  max-width: 1280px; margin: 0 auto; padding: 16px 20px 40px;
  display: grid; grid-template-columns: 260px 1fr; gap: 20px;
}

/* ── Filters Sidebar ── */
.sr-filters {
  background: var(--sr-card); border-radius: var(--sr-radius);
  box-shadow: var(--sr-shadow); padding: 0; overflow: hidden;
  position: sticky; top: 80px;
}
.sr-filter-header {
  padding: 16px 18px; border-bottom: 1px solid var(--sr-border);
  display: flex; align-items: center; justify-content: space-between;
}
.sr-filter-header h3 { font-size: 15px; font-weight: 800; margin: 0; }
.sr-filter-reset {
  font-size: 11px; color: var(--sr-brand); cursor: pointer; font-weight: 700;
  background: none; border: none; padding: 4px 8px; border-radius: 6px;
  transition: var(--sr-transition); font-family: var(--sr-font);
}
.sr-filter-reset:hover { background: rgba(208,2,27,0.1); }
.sr-filter-group { padding: 14px 18px; border-bottom: 1px solid var(--sr-border); }
.sr-filter-title { font-size: 12px; font-weight: 800; color: var(--sr-text-dim); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.sr-filter-option { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sr-text); padding: 6px 0; cursor: pointer; }
.sr-filter-option input[type="checkbox"] { accent-color: var(--sr-brand); width: 16px; height: 16px; cursor: pointer; }
.sr-filter-option .count { color: var(--sr-text-faint); font-size: 12px; margin-left: auto; }
.sr-filter-price { color: var(--sr-blue); font-size: 12px; margin-left: auto; font-weight: 700; }
.sr-filter-close-btn {
  background: none; border: none; color: var(--sr-text-dim); font-size: 20px;
  cursor: pointer; padding: 4px; display: none;
}
.sr-filter-close-mobile { display: none; }
.sr-mobile-filter-btn {
  display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--sr-brand); color: #fff; border: none; padding: 12px 24px;
  border-radius: 30px; font-size: 13px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 20px rgba(208,2,27,0.4); z-index: 200;
  font-family: var(--sr-font);
}

/* ── Time Filter Grid ── */
.sr-time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sr-time-block {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; border-radius: 8px; border: 1px solid var(--sr-border);
  background: rgba(255,255,255,0.02); cursor: pointer;
  transition: var(--sr-transition); text-align: center;
}
.sr-time-block:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.sr-time-block.active { background: var(--sr-blue-bg); border-color: var(--sr-blue); }
.sr-time-icon { font-size: 16px; }
.sr-time-label { font-size: 10px; font-weight: 700; color: var(--sr-text-dim); }
.sr-time-range { font-size: 9px; color: var(--sr-text-faint); }

/* ── Price Range Slider ── */
.sr-price-slider { width: 100%; accent-color: var(--sr-brand); cursor: pointer; }
.sr-price-range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--sr-text-faint); margin-top: 4px; }

/* ── Sort Bar ── */
.sr-sort-bar {
  display: flex; background: var(--sr-card); border-radius: var(--sr-radius);
  box-shadow: var(--sr-shadow); border: 1px solid var(--sr-border);
  margin-bottom: 14px; overflow: hidden;
}
.sr-sort-tab {
  flex: 1; padding: 12px 16px; background: none; border: none;
  border-right: 1px solid var(--sr-border); cursor: pointer;
  text-align: left; transition: var(--sr-transition);
  font-family: var(--sr-font); position: relative;
}
.sr-sort-tab:last-child { border-right: none; }
.sr-sort-tab:hover { background: rgba(255,255,255,0.03); }
.sr-sort-tab.active { background: rgba(208,2,27,0.06); }
.sr-sort-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--sr-brand);
}
.sr-sort-label { font-weight: 700; font-size: 12px; color: var(--sr-text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.sr-sort-price { font-size: 15px; font-weight: 800; color: var(--sr-green); margin-top: 3px; }

/* ── Result Count ── */
.sr-result-count {
  font-size: 13px; color: var(--sr-text-dim); font-weight: 600;
  margin-bottom: 10px; padding: 0 4px;
}

/* ── Trust Strip ── */
.sr-trust-strip { display: flex; gap: 16px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 4px; }
.sr-trust-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--sr-text-dim);
  white-space: nowrap; flex-shrink: 0;
}

/* ── Offer Banner ── */
.sr-offer-banner {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), transparent);
  border: 1px solid rgba(245,158,11,0.15); border-radius: var(--sr-radius);
  padding: 10px 16px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; color: var(--sr-orange);
}
.sr-offer-card { display: flex; align-items: center; gap: 6px; }
.sr-offer-code {
  background: rgba(245,158,11,0.15); padding: 2px 8px; border-radius: 4px;
  font-weight: 800; font-size: 11px; letter-spacing: 0.5px;
}

/* ── Calendar Strip ── */
.sr-calendar-strip {
  background: var(--sr-card); border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius); margin-bottom: 14px;
  overflow: hidden; box-shadow: var(--sr-shadow);
}
.sr-calendar-inner { display: flex; overflow-x: auto; }

/* ── Fare Calendar Card ── */
.fare-cal-card {
  flex: 1 1 0; min-width: 0; padding: 10px 6px; text-align: center;
  cursor: pointer; border-bottom: 3px solid transparent;
  transition: all 0.2s; position: relative;
}
.fare-cal-card:hover { background: rgba(59,130,246,0.06); }
.fare-cal-card.active { border-bottom-color: var(--sr-brand); background: rgba(208,2,27,0.06); }
.fare-cal-date { font-size: 11px; color: var(--sr-text-dim); font-weight: 600; }
.fare-cal-price { font-size: 13px; font-weight: 800; color: var(--sr-green); margin-top: 3px; }
.fare-cal-skel { width: 40px; height: 12px; background: rgba(255,255,255,0.04); border-radius: 4px; margin: 4px auto 0; animation: pulse 1.5s infinite; }

/* ══════════════════════════════════════════════════════════════
   FLIGHT CARDS (One-Way & Round-Trip)
   ══════════════════════════════════════════════════════════════ */

.sr-flights-list { display: flex; flex-direction: column; gap: 10px; }

.sr-card {
  background: var(--sr-card); border: 1px solid var(--sr-border);
  border-radius: 14px; overflow: hidden;
  transition: var(--sr-transition); position: relative;
}
.sr-card:hover { border-color: rgba(255,255,255,0.12); box-shadow: var(--sr-shadow-hover); }

.sr-card__badges {
  display: flex; gap: 6px; padding: 10px 16px 0; flex-wrap: wrap;
}
.sr-badge {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sr-reco-tag {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sr-badge--refund { background: var(--sr-green-bg); color: var(--sr-green); }
.sr-badge--nonrefund { background: rgba(239,68,68,0.12); color: var(--sr-red); }

.sr-card__body {
  display: flex; align-items: center; padding: 14px 16px; gap: 12px;
}

/* Airline info */
.sr-card__al-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 120px; }
.sr-card__al-logo { width: 32px; height: 32px; border-radius: 6px; object-fit: contain; background: #fff; padding: 2px; border: 1px solid var(--sr-border); flex-shrink: 0; }
.sr-card__al-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sr-card__al-name { font-size: 12px; font-weight: 700; color: var(--sr-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-card__al-flight { font-size: 10px; color: var(--sr-text-faint); font-weight: 500; }

/* Route section */
.sr-card__route { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sr-card__info { flex: 1; display: flex; align-items: center; gap: 8px; }

/* Time */
.sr-card__time { text-align: center; min-width: 50px; }
.sr-card__time-val { font-size: 17px; font-weight: 900; color: var(--sr-text); letter-spacing: -0.3px; }
.sr-card__time-iata { font-size: 10px; color: var(--sr-text-dim); font-weight: 600; }

/* Duration */
.sr-card__dur {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px; min-width: 60px;
}
.sr-card__dur-val { font-size: 10px; color: var(--sr-text-dim); font-weight: 600; }
.sr-card__dur-line {
  width: 100%; height: 2px; position: relative; border-radius: 2px;
  background: linear-gradient(90deg, var(--sr-brand) 0%, rgba(208,2,27,0.3) 100%);
}
.sr-card__dur-line::before {
  content: ''; position: absolute; left: -3px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sr-brand);
}
.sr-card__dur-line::after {
  content: ''; position: absolute; right: -3px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--sr-brand); background: var(--sr-card);
}
.sr-card__dur-stops {
  font-size: 10px; font-weight: 700; color: var(--sr-text-faint);
}
.sr-card__layover-cities { font-size: 9px; color: var(--sr-text-faint); }

/* Pricing section */
.sr-card__pricing { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sr-card__price-details { text-align: right; }
.sr-card__fare { font-size: 18px; font-weight: 900; color: var(--sr-text); letter-spacing: -0.3px; }
.sr-card__fare-orig { font-size: 12px; color: var(--sr-text-faint); text-decoration: line-through; }
.sr-card__fare-pp { font-size: 10px; color: var(--sr-text-faint); font-weight: 500; }
.sr-card__promo { font-size: 10px; color: var(--sr-orange); font-weight: 700; }
.sr-card__cta {
  padding: 10px 20px; border-radius: 10px; border: none;
  background: linear-gradient(135deg, var(--sr-brand), #ff2d55);
  color: #fff; font-size: 13px; font-weight: 800; cursor: pointer;
  transition: var(--sr-transition); font-family: var(--sr-font);
  box-shadow: 0 3px 12px rgba(208,2,27,0.25);
}
.sr-card__cta:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(208,2,27,0.4); }

/* Card Footer */
.sr-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 10px; gap: 8px; flex-wrap: wrap;
}
.sr-card__footer-right { display: flex; align-items: center; gap: 8px; }
.sr-card__bag { font-size: 11px; color: var(--sr-text-dim); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.sr-card__det-link {
  font-size: 11px; font-weight: 700; color: var(--sr-blue);
  cursor: pointer; background: none; border: none; padding: 4px 8px;
  border-radius: 6px; transition: var(--sr-transition);
  font-family: var(--sr-font);
}
.sr-card__det-link:hover { background: var(--sr-blue-bg); }
.sr-card__more {
  font-size: 11px; font-weight: 700; color: var(--sr-blue);
  cursor: pointer; background: rgba(59,130,246,0.08); border: none;
  padding: 4px 10px; border-radius: 6px; transition: var(--sr-transition);
  font-family: var(--sr-font);
}
.sr-card__more:hover { background: rgba(59,130,246,0.15); }

/* ── Card Main (legacy) ── */
.sr-card__main { display: flex; align-items: center; padding: 14px 16px; gap: 12px; }
.sr-flight-card {
  background: var(--sr-card); border: 1px solid var(--sr-border);
  border-radius: 14px; margin-bottom: 10px; overflow: hidden;
  transition: var(--sr-transition);
}
.sr-flight-card:hover { border-color: rgba(255,255,255,0.12); box-shadow: var(--sr-shadow-hover); }
.sr-flight-main { display: flex; align-items: center; padding: 16px 20px; gap: 16px; }
.sr-airline { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 130px; }
.sr-airline-logo { width: 32px; height: 32px; border-radius: 6px; object-fit: contain; background: #fff; }
.sr-airline-name { font-size: 13px; font-weight: 700; color: var(--sr-text); }
.sr-airline-code { font-size: 11px; color: var(--sr-text-faint); }
.sr-route-timeline { flex: 1; display: flex; align-items: center; gap: 10px; }
.sr-time-point { text-align: center; }
.sr-time-val { font-size: 18px; font-weight: 800; color: var(--sr-text); }
.sr-time-city { font-size: 12px; color: var(--sr-text-dim); font-weight: 600; }
.sr-route-line { flex: 1; text-align: center; }
.sr-route-duration { font-size: 11px; color: var(--sr-text-dim); }
.sr-route-bar { height: 2px; background: rgba(255,255,255,0.15); margin: 4px 0; position: relative; }
.sr-route-stops { font-size: 10px; font-weight: 700; }
.sr-fare { text-align: right; flex-shrink: 0; }
.sr-fare-amount { font-size: 22px; font-weight: 900; color: var(--sr-text); }
.sr-fare-per { font-size: 11px; color: var(--sr-text-faint); }
.sr-book-section { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; }
.sr-book-btn {
  background: linear-gradient(135deg, var(--sr-brand), #ff2d55);
  color: #fff; border: none; padding: 10px 24px; border-radius: 10px;
  font-weight: 800; font-size: 14px; cursor: pointer;
  transition: var(--sr-transition); font-family: var(--sr-font);
  box-shadow: 0 3px 12px rgba(208,2,27,0.25);
}
.sr-book-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(208,2,27,0.4); }

/* ── Fare Tooltip ── */
.sr-fare-tip {
  position: absolute; bottom: 100%; right: 0;
  background: #1e293b; border: 1px solid var(--sr-border);
  border-radius: 10px; padding: 12px 14px; min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5); z-index: 50;
  display: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sr-card:hover .sr-fare-tip { display: block; }
.sr-fare-tip__row { display: flex; justify-content: space-between; font-size: 12px; color: var(--sr-text-dim); padding: 3px 0; }
.sr-fare-tip__total { border-top: 1px solid var(--sr-border); margin-top: 4px; padding-top: 6px; font-weight: 800; color: var(--sr-text); }

/* ── Details Panel ── */
.sr-details-panel {
  display: none; border-top: 1px solid var(--sr-border);
  background: rgba(255, 255, 255, 0.02);
}
.sr-details-panel.open { display: block; }
.sr-details-toggle {
  width: 100%; background: rgba(255,255,255,0.02); border: none;
  border-top: 1px solid var(--sr-border); padding: 10px;
  font-size: 12px; font-weight: 700; color: var(--sr-blue);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: var(--sr-transition); font-family: var(--sr-font);
}
.sr-details-toggle:hover { background: rgba(255,255,255,0.04); }

/* Detail Tabs */
.sr-detail-tabs, .sr-det__tabs { display: flex; border-bottom: 1px solid var(--sr-border); }
.sr-detail-tab {
  padding: 10px 20px; font-size: 12px; font-weight: 700;
  color: var(--sr-text-dim); cursor: pointer; border-bottom: 2px solid transparent;
  transition: var(--sr-transition); background: transparent;
  border-top: none; border-left: none; border-right: none;
  font-family: var(--sr-font);
}
.sr-detail-tab.active { color: var(--sr-brand); border-bottom-color: var(--sr-brand); }
.sr-detail-tab:hover { color: var(--sr-text); }
.sr-detail-content { padding: 16px 20px; font-size: 13px; line-height: 1.7; }
.sr-detail-content.hidden { display: none; }

/* Flight Details Tab Panels */
.sr-det__panel { display: none; }
.sr-det__panel.active { display: block !important; }
.sr-det__tab { transition: all 0.2s; cursor: pointer; }
.sr-det__tab.active { color: #fff !important; border-bottom-color: var(--sr-brand) !important; }
.sr-det__tab:hover { color: #e2e8f0 !important; }
.sr-det__body { padding: 16px 20px; }
.sr-det__cancel-rules { font-size: 12px; line-height: 1.8; color: var(--sr-text-dim); }

/* Segment info */
.sr-seg { padding: 10px 0; border-bottom: 1px solid var(--sr-border); }
.sr-seg:last-child { border-bottom: none; }
.sr-seg__flight { font-size: 12px; font-weight: 700; color: var(--sr-text); }
.sr-seg__time { font-size: 11px; color: var(--sr-text-dim); }

/* Baggage / Rules Table */
.sr-det__baggage-table { border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.sr-det__baggage-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; color: #cbd5e1; }
.sr-det__baggage-row.hdr { background: rgba(255,255,255,0.04); font-weight: 800; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.sr-det__baggage-row:last-child { border-bottom: none; }

/* Fare breakdown table */
.sr-fare-table { width: 100%; border-collapse: collapse; }
.sr-fare-table td { padding: 6px 0; font-size: 13px; }
.sr-fare-table td:last-child { text-align: right; font-weight: 700; }
.sr-fare-table tr.total { border-top: 1.5px solid var(--sr-border); }
.sr-fare-table tr.total td { font-weight: 800; font-size: 15px; padding-top: 10px; }

/* Baggage info */
.sr-baggage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sr-baggage-item { display: flex; align-items: center; gap: 10px; }
.sr-baggage-icon { font-size: 24px; }
.sr-baggage-label { font-size: 11px; color: var(--sr-text-dim); font-weight: 600; }

/* ── Timeline ── */
.sr-timeline { position: relative; padding-left: 20px; }

/* ── Inbound Section Header ── */
.sr-ib-section { margin-top: 24px; }
.sr-ib-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(245,158,11,0.08), transparent);
  border: 1px solid rgba(245,158,11,0.15);
}
.sr-ib-header__icon { font-size: 20px; }
.sr-ib-header__info { font-size: 14px; font-weight: 700; }

/* ── Compare Bar ── */
.sr-compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: rgba(15,23,42,0.95); border-top: 1px solid var(--sr-border);
  padding: 12px 20px; display: none; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.sr-cmp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sr-cmp-chip { background: rgba(255,255,255,0.06); border: 1px solid var(--sr-border); border-radius: 8px; padding: 6px 12px; font-size: 12px; color: var(--sr-text); display: flex; align-items: center; gap: 6px; }
.sr-cmp-clear { font-size: 11px; color: var(--sr-text-dim); cursor: pointer; background: none; border: none; font-family: var(--sr-font); }
.sr-cmp-btn { background: var(--sr-brand); color: #fff; border: none; padding: 10px 24px; border-radius: 10px; font-weight: 800; cursor: pointer; font-family: var(--sr-font); }
.sr-cmp-cb { accent-color: var(--sr-brand); }
.sr-cmp-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sr-border); }
.sr-cmp-col { flex: 1; text-align: center; }
.sr-cmp-label { font-size: 12px; color: var(--sr-text-dim); font-weight: 600; }
.sr-cmp-price { font-size: 14px; font-weight: 800; }

/* ── Empty State ── */
.sr-empty { text-align: center; padding: 60px 20px; color: var(--sr-text-dim); }
.sr-empty i { font-size: 48px; margin-bottom: 16px; display: block; color: var(--sr-text-faint); }
.sr-empty h3 { font-size: 20px; font-weight: 800; color: var(--sr-text); margin-bottom: 8px; }
.sr-empty p { font-size: 14px; margin-bottom: 20px; }

/* ── Loading Skeleton ── */
.sr-skeleton-wrapper { }
.sr-skeleton { display: flex; flex-direction: column; gap: 12px; }
.sr-sk-box {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px; height: 80px;
}
.sr-sk-col { display: flex; gap: 12px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Search Loading Overlay ── */
.sr-search-loading {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(5,11,20,0.95); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.sr-sl__title { font-size: 22px; font-weight: 800; color: var(--sr-text); margin-bottom: 4px; }
.sr-sl__subtitle { font-size: 14px; color: var(--sr-text-dim); margin-bottom: 24px; }
.sr-sl__progress-wrap {
  width: 300px; height: 4px; background: rgba(255,255,255,0.08);
  border-radius: 4px; overflow: hidden; margin-bottom: 20px;
}
.sr-sl__progress-bar { height: 100%; background: linear-gradient(90deg, var(--sr-brand), #ff2d55); border-radius: 4px; transition: width 0.3s ease; }
.sr-sl__status { font-size: 12px; color: var(--sr-text-faint); font-weight: 600; margin-bottom: 30px; }
.sr-sl__airlines { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sr-sl__airline {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--sr-border);
  border-radius: 8px; padding: 6px 12px; font-size: 11px; font-weight: 600;
  color: var(--sr-text-dim); transition: all 0.3s;
}
.sr-sl__airline--scanned { border-color: var(--sr-green); color: var(--sr-green); background: var(--sr-green-bg); }
.sr-sl__al-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sr-text-faint); }
.sr-sl__airline--scanned .sr-sl__al-dot { background: var(--sr-green); }
.sr-sl__tip { font-size: 11px; color: var(--sr-text-faint); margin-top: 20px; }
.sr-sl__plane { font-size: 24px; color: var(--sr-brand); }
.sr-sl__plane-track { width: 200px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; position: relative; overflow: hidden; }
.sr-sl__trail { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--sr-brand)); animation: trailMove 1.5s infinite; }
@keyframes trailMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ── Autocomplete Dropdown ── */
.sr-ac--open { display: block !important; }
.sr-ac__item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  cursor: pointer; transition: background 0.15s;
}
.sr-ac__item:hover { background: rgba(255,255,255,0.04); }
.sr-ac__icon { font-size: 18px; color: var(--sr-text-dim); }
.sr-ac__left { display: flex; flex-direction: column; }
.sr-ac__city { font-size: 13px; font-weight: 700; color: var(--sr-text); }
.sr-ac__airport { font-size: 11px; color: var(--sr-text-dim); }
.sr-ac__code { font-size: 12px; font-weight: 800; color: var(--sr-blue); margin-left: auto; }

/* ── Fare Tier Grid (inline in card) ── */
.tbf-fare-grid { display: grid; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--sr-border); }
.tbf-fare-card {
  border: 1px solid var(--sr-border); border-radius: 10px; padding: 10px 14px;
  cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: rgba(255,255,255,0.02);
}
.tbf-fare-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); background: rgba(255,255,255,0.04) !important; }
.tbf-fare-card.active { border-color: var(--sr-brand) !important; box-shadow: 0 4px 16px rgba(208,2,27,0.2) !important; background: rgba(208,2,27,0.04) !important; }
.tbf-fare-hdr { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--sr-text-dim); margin-bottom: 4px; }
.tbf-fare-price { font-size: 16px; font-weight: 900; color: var(--sr-text); }
.tbf-fare-amenities { font-size: 11px; color: var(--sr-text-dim); margin-top: 6px; }

/* ── Modal ── */
.sr-modal {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(3,7,18,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  padding: 24px; animation: srModalFadeIn 0.22s ease;
}
.sr-modal.open { display: flex; }
@keyframes srModalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.sr-modal__box {
  background: var(--sr-card, #141b2d); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; max-width: 680px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 28px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
  animation: srModalSlideUp 0.25s ease;
}
@keyframes srModalSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.sr-modal__close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8; font-size: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.sr-modal__close:hover { background: rgba(208,2,27,0.15); color: #fff; border-color: rgba(208,2,27,0.3); }
.sr-modal__box::-webkit-scrollbar { width: 5px; }
.sr-modal__box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.sr-modal__title { font-size: 18px; font-weight: 800; color: var(--sr-text); margin-bottom: 16px; }
.sr-modal__section { margin-bottom: 16px; }
.sr-modal__label { font-size: 11px; font-weight: 700; color: var(--sr-text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.sr-modal__value { font-size: 14px; color: var(--sr-text); font-weight: 600; }
.sr-modal__rule { padding: 8px 0; border-bottom: 1px solid var(--sr-border); font-size: 13px; color: var(--sr-text-dim); }
.sr-modal__alert { padding: 12px 16px; border-radius: 10px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.sr-modal__alert--warn { background: rgba(245,158,11,0.1); color: var(--sr-orange); border: 1px solid rgba(245,158,11,0.2); }

/* ══════════════════════════════════════════════════════════════════
   FARE COMPARISON MODAL (fc-)
   ══════════════════════════════════════════════════════════════════ */
.fc-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  animation: fcFadeIn 0.2s ease; padding: 20px;
}
@keyframes fcFadeIn { from{opacity:0} to{opacity:1} }
@keyframes fcSlideUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideInRight { from{opacity:0;transform:translateX(100px)} to{opacity:1;transform:translateX(0)} }

.fc-modal {
  background: #111827; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; width: 100%; max-width: 820px;
  max-height: 90vh; overflow-y: auto; position: relative;
  padding: 28px 24px 20px; animation: fcSlideUp 0.3s ease;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
}
.fc-modal--1col { max-width: 420px; }
.fc-modal--2col { max-width: 600px; }
.fc-modal--3col { max-width: 820px; }
.fc-modal--4col { max-width: 960px; }
.fc-close {
  position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  color: #fff; font-size: 18px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.fc-close:hover { background: rgba(255,255,255,0.12); }
.fc-title { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 18px 0; }
.fc-flight {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  margin-bottom: 20px;
}
.fc-al-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; }
.fc-flight-info { display: flex; flex-direction: column; gap: 2px; }
.fc-flight-info span { font-size: 12px; color: #94a3b8; }
.fc-flight-info strong { font-size: 14px; color: #fff; }

/* Fare cards grid */
.fc-cards { display: grid; gap: 12px; margin-bottom: 20px; }
.fc-cards--1col { grid-template-columns: 1fr; }
.fc-cards--2col { grid-template-columns: repeat(2, 1fr); }
.fc-cards--3col { grid-template-columns: repeat(3, 1fr); }
.fc-cards--4col { grid-template-columns: repeat(4, 1fr); }

.fc-card {
  border: 2px solid rgba(255,255,255,0.08); border-radius: 14px;
  padding: 18px 16px; text-align: center; cursor: pointer;
  transition: all 0.25s ease; background: rgba(255,255,255,0.02);
  position: relative;
}
.fc-card:hover { border-color: rgba(208,2,27,0.4); background: rgba(208,2,27,0.03); }
.fc-card--selected { border-color: #d0021b; background: rgba(208,2,27,0.06); }
.fc-card__hdr { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: #94a3b8; margin-bottom: 8px; }
.fc-card--selected .fc-card__hdr { color: #d0021b; }
.fc-card__price { font-size: 24px; font-weight: 900; color: #fff; }
.fc-card--selected .fc-card__price { color: #d0021b; }
.fc-card__pp { font-size: 11px; color: #64748b; margin-top: 2px; margin-bottom: 14px; }
.fc-card__btn {
  width: 100%; padding: 10px; border-radius: 10px; border: none;
  font-size: 13px; font-weight: 700; cursor: pointer;
  background: rgba(255,255,255,0.06); color: #94a3b8;
  transition: all 0.2s;
}
.fc-card__btn:hover { background: rgba(208,2,27,0.1); color: #d0021b; }
.fc-card__btn--active { background: #d0021b; color: #fff; }

.fc-rec {
  background: rgba(16,185,129,0.15); color: #10b981;
  font-size: 9px; padding: 2px 8px; border-radius: 6px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  vertical-align: middle; margin-left: 4px;
}
.fc-save { color: #f59e0b; font-weight: 700; }

/* Comparison rows */
.fc-compare { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
.fc-row { display: grid; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.fc-row--1col { grid-template-columns: 160px 1fr; }
.fc-row--2col { grid-template-columns: 160px 1fr 1fr; }
.fc-row--3col { grid-template-columns: 160px 1fr 1fr 1fr; }
.fc-row--4col { grid-template-columns: 160px 1fr 1fr 1fr 1fr; }
.fc-label { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 12px; font-weight: 600; }
.fc-label i { font-size: 15px; color: #64748b; }
.fc-val { text-align: center; font-size: 12px; font-weight: 600; color: #e2e8f0; }
.fc-included { color: #10b981; font-weight: 600; }
.fc-included i { margin-right: 4px; }
.fc-free { color: #10b981; font-weight: 600; }
.fc-free i { margin-right: 4px; }
.fc-paid { color: #f59e0b; font-weight: 600; }
.fc-paid i { margin-right: 4px; }
.fc-none { color: #ef4444; font-weight: 600; }
.fc-none i { margin-right: 4px; }
.fc-non-ref { color: #ef4444; font-weight: 600; }
.fc-fee-from { color: #f59e0b; font-weight: 600; }
.fc-no-data { color: rgba(255,255,255,0.5); }

.fc-tip-wrap { position: relative; display: inline; }
.fc-info-icon { color: #64748b; font-size: 13px; cursor: help; margin-left: 4px; }
.fc-tooltip {
  display: none; position: absolute; bottom: 120%; left: 50%;
  transform: translateX(-50%); background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 10px 14px; min-width: 220px; z-index: 100;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.fc-tip-wrap:hover .fc-tooltip { display: block; }
.fc-tip__note { font-size: 11px; color: #94a3b8; line-height: 1.5; }
.fc-tip__title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.fc-tip__row { font-size: 11px; color: #94a3b8; padding: 2px 0; }

/* Footer */
.fc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fc-footer__price { display: flex; align-items: baseline; gap: 8px; }
.fc-footer__price span { font-size: 26px; font-weight: 900; color: #fff; }
.fc-footer__price small { font-size: 12px; color: #64748b; }
.fc-footer__cta {
  background: linear-gradient(135deg, #d0021b, #ff2d55);
  color: #fff; border: none; padding: 14px 40px; border-radius: 12px;
  font-size: 15px; font-weight: 800; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(208,2,27,0.3);
}
.fc-footer__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(208,2,27,0.4); }

/* ═══ EaseMyTrip-style Fare Card Engine ═══ */
.fc-card-emt {
  border: 2px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 0; text-align: left; cursor: pointer;
  transition: all 0.25s ease; background: rgba(255,255,255,0.02);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.fc-card-emt:hover { border-color: rgba(208,2,27,0.4); background: rgba(208,2,27,0.03); }
.fc-card-emt--selected { border-color: #d0021b; background: rgba(208,2,27,0.06); }
.fc-card-emt__top { padding: 18px 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.fc-card-emt__hdr { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fc-card-emt__name { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: #94a3b8; }
.fc-card-emt--selected .fc-card-emt__name { color: #d0021b; }
.fc-card-emt__price { font-size: 22px; font-weight: 900; color: #10b981; }
.fc-card-emt--selected .fc-card-emt__price { color: #d0021b; }
.fc-card-emt__pp { font-size: 11px; color: #64748b; margin-top: 2px; }

/* Sections: BAGGAGE, FLEXIBILITY, SEATS MEALS & MORE */
.fc-section { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.fc-section:last-of-type { border-bottom: none; }
.fc-section__title {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.8px; color: rgba(255,255,255,0.45);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.fc-section__title i { font-size: 14px; }
.fc-feature { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.8; }
.fc-feature--green { color: #10b981; }
.fc-feature--amber { color: #f59e0b; }
.fc-feature--grey { color: #94a3b8; }
.fc-feature--red { color: #ef4444; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fc-dot--green { background: #10b981; }
.fc-dot--amber { background: #f59e0b; }
.fc-dot--grey { background: #64748b; }
.fc-dot--red { background: #ef4444; }

/* Promo banner */
.fc-promo {
  padding: 8px 16px; background: rgba(245,158,11,0.08);
  border-top: 1px solid rgba(245,158,11,0.15);
  font-size: 11px; font-weight: 600; color: #f59e0b;
  display: flex; align-items: center; gap: 6px;
}

/* Card bottom actions */
.fc-card-emt__actions { padding: 12px 16px; display: flex; gap: 10px; margin-top: auto; }
.fc-btn-lock {
  flex: 1; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(245,158,11,0.4); background: transparent;
  color: #f59e0b; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.fc-btn-lock:hover { background: rgba(245,158,11,0.1); }
.fc-btn-book {
  flex: 1; padding: 10px 12px; border-radius: 10px; border: none;
  background: linear-gradient(135deg, #d0021b, #ff2d55);
  color: #fff; font-size: 13px; font-weight: 800;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(208,2,27,0.3);
}
.fc-btn-book:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(208,2,27,0.4); }

/* Selected indicator */
.fc-selected-badge {
  position: absolute; top: 0; right: 0;
  background: #d0021b; color: #fff; font-size: 10px;
  font-weight: 700; padding: 3px 10px; border-bottom-left-radius: 10px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* Radio indicator */
.fc-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.fc-card-emt--selected .fc-radio { border-color: #d0021b; background: #d0021b; }
.fc-card-emt--selected .fc-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

/* ══════════════════════════════════════════════════════════════════
   ROUND-TRIP DUAL PANEL SYSTEM
   ══════════════════════════════════════════════════════════════════ */

/* ── Grid Container (Vertical Stacked) ── */
.sr-rt-grid { display: flex; flex-direction: column; gap: 24px; }

/* ── Section Wrapper ── */
.sr-rt-section { margin-bottom: 0; min-width: 0; overflow: hidden; }

/* ── Section Headers (Outbound / Return) ── */
.sr-rt-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px; margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden;
}
.sr-rt-header::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
}
.sr-rt-header--ob {
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(15,23,42,0.95) 60%);
  border-color: rgba(59,130,246,0.15);
}
.sr-rt-header--ob::before { background: linear-gradient(135deg, #3b82f6, transparent); }
.sr-rt-header--ib {
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(15,23,42,0.95) 60%);
  border-color: rgba(245,158,11,0.15);
}
.sr-rt-header--ib::before { background: linear-gradient(135deg, #f59e0b, transparent); }
.sr-rt-step { font-size: 22px; line-height: 1; flex-shrink: 0; }
.sr-rt-header-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; flex-wrap: wrap; }
.sr-rt-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 6px; flex-shrink: 0;
}
.sr-rt-header--ob .sr-rt-label { background: rgba(59,130,246,0.15); color: #60a5fa; }
.sr-rt-header--ib .sr-rt-label { background: rgba(245,158,11,0.15); color: #fbbf24; }
.sr-rt-route { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.sr-rt-date { font-size: 13px; font-weight: 600; color: #94a3b8; }
.sr-rt-count {
  font-size: 12px; font-weight: 700; color: #64748b;
  background: rgba(255,255,255,0.04); padding: 4px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06); white-space: nowrap; flex-shrink: 0;
}

/* ── Cards Container ── */
.sr-rt-cards { display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.sr-rt-cards::-webkit-scrollbar { width: 4px; }
.sr-rt-cards::-webkit-scrollbar-track { background: transparent; }
.sr-rt-cards::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.sr-rt-cards::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ── Individual Selectable Flight Card ── */
.sr-rt-card {
  background: #141b2d; border: 2px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 0; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.sr-rt-card:hover {
  border-color: rgba(208,2,27,0.25); background: #161e32;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.sr-rt-card--selected {
  border-color: #d0021b !important; background: rgba(208,2,27,0.04) !important;
  box-shadow: 0 0 0 1px rgba(208,2,27,0.15), 0 4px 24px rgba(208,2,27,0.12) !important;
}
.sr-rt-card.sr-card { overflow: hidden; height: auto; flex-shrink: 0; }

/* ── Selection Checkmark ── */
.sr-rt-card__check {
  position: absolute; top: 12px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; z-index: 2;
}
.sr-rt-card__check i { font-size: 16px; color: transparent; transition: color 0.2s; }
.sr-rt-card--selected .sr-rt-card__check { border-color: #d0021b; background: #d0021b; }
.sr-rt-card--selected .sr-rt-card__check i { color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   ROUND-TRIP STICKY COMBINED FARE BAR
   ══════════════════════════════════════════════════════════════════ */
.sr-rt-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-rt-sticky__inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.sr-rt-sticky__legs { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.sr-rt-sticky__leg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sr-rt-sticky__leg-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #64748b; }
.sr-rt-sticky__leg-fare { font-size: 13px; font-weight: 700; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.sr-rt-sticky__divider { font-size: 16px; font-weight: 800; color: #475569; flex-shrink: 0; }
.sr-rt-sticky__total { flex-shrink: 0; }
.sr-rt-sticky__total-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #64748b; }
.sr-rt-sticky__total-fare {
  font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sr-rt-sticky__cta {
  padding: 14px 36px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #d0021b, #ff2d55);
  color: #fff; font-size: 15px; font-weight: 800; cursor: pointer;
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(208, 2, 27, 0.3);
  white-space: nowrap; display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.sr-rt-sticky__cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(208, 2, 27, 0.45); }
.sr-rt-sticky__cta:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.sr-rt-sticky__cta i { font-size: 16px; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .sr-main { grid-template-columns: 1fr; padding: 12px 12px 80px; }
  .sr-filters { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 300; max-height: 100vh; border-radius: 0; overflow-y: auto; }
  .sr-filters.mobile-open { display: block; animation: filterSlideIn 0.3s ease-out; }
  .sr-mobile-filter-btn { display: flex; align-items: center; gap: 6px; }
  .sr-filter-close-btn { display: block; }
  .sr-filter-close-mobile { display: block; }
  .sr-card__body { flex-wrap: wrap; }
  .sr-card__al-meta { min-width: 100%; }
  .sr-summary-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sr-fare-tip { display: none !important; }
  .sr-filter-option { min-height: 44px; padding: 10px 0; }
  .sr-sort-tab { min-height: 44px; padding: 10px 18px; }
  .sr-book-btn, .sr-card__cta { min-height: 44px; padding: 12px 24px; }
  .sr-detail-tab, .sr-det__tab { min-height: 44px; padding: 12px 16px; }
  .sr-details-toggle { min-height: 44px; padding: 12px 20px; }
  .fare-cal-card { min-width: 72px; }
}

@keyframes filterSlideIn { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (min-width: 769px) {
  .sr-filter-close-mobile { display: none; }
}

@media (max-width: 640px) {
  .fc-modal { padding: 20px 16px; border-radius: 16px; }
  .fc-cards--2col, .fc-cards--3col, .fc-cards--4col { grid-template-columns: 1fr; }
  .fc-row--2col, .fc-row--3col, .fc-row--4col { grid-template-columns: 1fr; }
  .fc-row { gap: 6px; }
  .fc-label { margin-bottom: 4px; }
  .fc-val { text-align: left; padding-left: 28px; }
  .fc-footer { flex-direction: column; gap: 12px; }
  .fc-footer__cta { width: 100%; }
  .fc-card-emt__top { padding: 14px 12px 10px; }
  .fc-section { padding: 10px 12px; }
  .fc-card-emt__actions { padding: 10px 12px; }
  .fc-card-emt__price { font-size: 18px; }
  .sr-rt-header { flex-wrap: wrap; }
  .sr-rt-count { font-size: 11px; padding: 3px 8px; }
  .sr-rt-sticky__inner { flex-direction: column; gap: 10px; padding: 10px 16px; }
  .sr-rt-sticky__cta { width: 100%; justify-content: center; }
}

@media (max-width: 1100px) {
  .sr-rt-cards { /* already single column, no change needed */ }
}

/* ── RT Fare Options Panel ── */
.tbf-rt-fare-opts {
  animation: rtFareSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
}
@keyframes rtFareSlide {
  from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
  to { opacity: 1; max-height: 400px; }
}
.tbf-rt-fare-item {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.tbf-rt-fare-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none; border-radius: inherit;
}
.tbf-rt-fare-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); background: rgba(255,255,255,0.04) !important; }
.tbf-rt-fare-item.active { box-shadow: 0 4px 16px rgba(208, 2, 27, 0.2); background: rgba(208, 2, 27, 0.04) !important; }

/* ── RT Selected Card Glow ── */
.sr-rt-card--selected { animation: rtSelectGlow 0.4s ease; }
@keyframes rtSelectGlow {
  0% { box-shadow: none; }
  50% { box-shadow: 0 0 30px rgba(208, 2, 27, 0.3); }
  100% { box-shadow: 0 0 20px rgba(208, 2, 27, 0.15); }
}

/* Toast animation */
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ══════════════════════════════════════════════════════════════════
   ROUND-TRIP PER-SECTION SORT TABS
   ══════════════════════════════════════════════════════════════════ */
.sr-rt-sort-bar {
  display: flex; gap: 8px; margin-bottom: 12px; padding: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
}
.sr-rt-sort-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 16px; border: none; border-radius: 10px;
  background: transparent; color: #94a3b8; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.25s ease; font-family: inherit;
}
.sr-rt-sort-tab:hover { background: rgba(255,255,255,0.04); color: #e2e8f0; }
.sr-rt-sort-tab.active {
  background: rgba(208,2,27,0.1); color: #fff;
  border: 1px solid rgba(208,2,27,0.2);
}
.sr-rt-sort-price { font-size: 11px; font-weight: 800; color: #10b981; }
.sr-rt-sort-tab.active .sr-rt-sort-price { color: #6ee7b7; }
@media (max-width: 640px) {
  .sr-rt-sort-tab { padding: 8px 10px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════════
   PHASE 2: COMPONENT POLISH & PREMIUM ENHANCEMENTS
   ══════════════════════════════════════════════════════════════════ */

/* ── Trust Strip: Glass Card Treatment ── */
.sr-trust-strip {
  display: flex; gap: 8px; margin-bottom: 14px;
  overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.sr-trust-strip::-webkit-scrollbar { display: none; }
.sr-trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--sr-text-dim);
  white-space: nowrap; flex-shrink: 0;
  scroll-snap-align: start;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.sr-trust-badge:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.sr-trust-badge i { font-size: 14px; }

/* ── Offer Strip: Scrollable Carousel + Copy ── */
.sr-offer-banner {
  background: linear-gradient(135deg, rgba(245,158,11,0.06), transparent);
  border: 1px solid rgba(245,158,11,0.12); border-radius: var(--sr-radius);
  padding: 10px 16px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; scroll-snap-type: x mandatory;
}
.sr-offer-banner::-webkit-scrollbar { display: none; }
.sr-offer-card {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--sr-orange);
  white-space: nowrap; flex-shrink: 0;
  scroll-snap-align: start;
}
.sr-offer-code {
  background: rgba(245,158,11,0.15); padding: 2px 10px; border-radius: 4px;
  font-weight: 800; font-size: 11px; letter-spacing: 0.5px;
  cursor: pointer; position: relative;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.sr-offer-code:hover {
  background: rgba(245,158,11,0.25);
  border-color: rgba(245,158,11,0.3);
}
.sr-offer-code::after {
  content: 'Copied!'; position: absolute; top: -28px; left: 50%;
  transform: translateX(-50%) scale(0); opacity: 0;
  background: var(--sr-green); color: #fff; font-size: 10px;
  padding: 2px 8px; border-radius: 4px; white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.sr-offer-code.copied::after {
  transform: translateX(-50%) scale(1); opacity: 1;
}

/* ── Custom Range Slider ── */
.sr-price-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--sr-brand), rgba(208,2,27,0.2));
  outline: none; cursor: pointer;
}
.sr-price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sr-brand); cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(208,2,27,0.3);
  transition: all 0.15s ease;
}
.sr-price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(208,2,27,0.5);
}
.sr-price-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sr-brand); cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(208,2,27,0.3);
}

/* ── Premium Filter Checkboxes ── */
.sr-filter-option {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--sr-text);
  padding: 7px 0; cursor: pointer;
  transition: color 0.2s ease;
}
.sr-filter-option:hover { color: #f1f5f9; }
.sr-filter-option input[type="checkbox"] {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  cursor: pointer; position: relative;
  transition: all 0.2s ease; flex-shrink: 0;
}
.sr-filter-option input[type="checkbox"]:checked {
  background: var(--sr-brand);
  border-color: var(--sr-brand);
}
.sr-filter-option input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 800; color: #fff;
  line-height: 1;
}
.sr-filter-option input[type="checkbox"]:hover {
  border-color: rgba(208,2,27,0.4);
  background: rgba(208,2,27,0.05);
}

/* ── Enhanced Empty State ── */
.sr-empty {
  text-align: center; padding: 60px 20px; color: var(--sr-text-dim);
  background: rgba(255,255,255,0.01); border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.06);
}
.sr-empty__icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.03); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.sr-empty__icon i { font-size: 36px; color: var(--sr-text-faint); }
.sr-empty h3 { font-size: 18px; font-weight: 800; color: var(--sr-text); margin-bottom: 8px; }
.sr-empty p { font-size: 14px; margin-bottom: 24px; line-height: 1.6; max-width: 420px; margin-left: auto; margin-right: auto; }
.sr-empty__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.sr-empty__btn {
  padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.22s ease; font-family: var(--sr-font);
  border: none; display: flex; align-items: center; gap: 6px;
}
.sr-empty__btn--primary {
  background: linear-gradient(135deg, var(--sr-brand), #ff2d55);
  color: #fff; box-shadow: 0 3px 12px rgba(208,2,27,0.25);
}
.sr-empty__btn--primary:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(208,2,27,0.4); }
.sr-empty__btn--secondary {
  background: rgba(255,255,255,0.06); color: var(--sr-text);
  border: 1px solid var(--sr-border);
}
.sr-empty__btn--secondary:hover { background: rgba(255,255,255,0.1); }
.sr-empty__btn--whatsapp {
  background: #25d366; color: #fff;
}
.sr-empty__btn--whatsapp:hover { background: #1fa855; }

/* ── Mobile Filter: Apply Button ── */
.sr-filter-apply-mobile {
  display: none; position: sticky; bottom: 0; left: 0; right: 0;
  padding: 12px 18px; background: var(--sr-card);
  border-top: 1px solid var(--sr-border);
  z-index: 10;
}
.sr-filter-apply-btn {
  width: 100%; padding: 14px 24px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--sr-brand), #ff2d55);
  color: #fff; font-size: 15px; font-weight: 800; cursor: pointer;
  font-family: var(--sr-font);
  box-shadow: 0 4px 16px rgba(208,2,27,0.3);
  transition: all 0.22s ease;
}
.sr-filter-apply-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(208,2,27,0.45); }

@media (max-width: 960px) {
  .sr-filter-apply-mobile { display: block; }
}

/* ── Sort Bar Scroll Snap (Mobile) ── */
@media (max-width: 640px) {
  .sr-sort-bar {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; scroll-snap-type: x mandatory;
  }
  .sr-sort-bar::-webkit-scrollbar { display: none; }
  .sr-sort-tab { scroll-snap-align: start; flex-shrink: 0; }
}

/* ── CTA Button Active State ── */
.sr-card__cta:active, .sr-book-btn:active, .sr-rt-sticky__cta:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(208,2,27,0.2);
}

/* ── "Need Help?" Inline Helper ── */
.sr-help-inline {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.12);
  margin-bottom: 14px;
  font-size: 12px; color: #94a3b8; font-weight: 600;
}
.sr-help-inline a {
  color: #25d366; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}
.sr-help-inline a:hover { text-decoration: underline; }

/* ── Modify Search Panel Inputs ── */
.sr-modify-panel label {
  font-size: 11px; font-weight: 700; color: var(--sr-text-dim);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 4px; display: block;
}
.sr-modify-panel input[type="text"],
.sr-modify-panel input[type="date"],
.sr-modify-panel select {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--sr-border);
  background: rgba(255,255,255,0.04); color: var(--sr-text);
  font-size: 14px; font-weight: 600; font-family: var(--sr-font);
  transition: all 0.2s ease; outline: none;
}
.sr-modify-panel input:focus,
.sr-modify-panel select:focus {
  border-color: rgba(208,2,27,0.4);
  box-shadow: 0 0 0 3px rgba(208,2,27,0.08);
  background: rgba(255,255,255,0.06);
}

/* ── AI Price Insight Card ── */
.sr-ai-insight {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), transparent);
  border: 1px solid rgba(16,185,129,0.12); border-radius: var(--sr-radius);
  padding: 12px 18px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.sr-ai-insight__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(16,185,129,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sr-ai-insight__icon i { font-size: 18px; color: var(--sr-green); }
.sr-ai-insight__text { flex: 1; }
.sr-ai-insight__title { font-size: 12px; font-weight: 700; color: var(--sr-text-dim); }
.sr-ai-insight__msg { font-size: 13px; font-weight: 700; color: var(--sr-green); margin-top: 2px; }

/* ── Sticky Mobile CTA ── */
.sticky-mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  padding: 10px 16px; display: none;
}
@media (max-width: 960px) {
  .sticky-mobile-cta { display: block; }
}
}

/* ══════════════════════════════════════════════════════════════════
   PHASE 5: ROUND-TRIP DESKTOP GRID LAYOUT
   ══════════════════════════════════════════════════════════════════ */

.sr-rt-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .sr-rt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
}

.sr-rt-table-head {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sr-rt-table-head span {
  flex: 1;
  text-align: center;
}
.sr-rt-table-head span:first-child { flex: 0 0 70px; }
.sr-rt-table-head span:last-child { flex: 1; text-align: right; padding-right: 48px; }

.sr-rt-card:hover {
  background: #1a2235 !important;
  border-color: rgba(255,255,255,0.15) !important;
}

.sr-rt-card--selected {
  border-color: #d0021b !important;
  background: rgba(208,2,27,0.05) !important;
}
