/* Booking flow — passenger/guest details, review & payment, confirmation.
   Shares design tokens from style.css. Built responsive from the start
   (tablet/mobile) per standing project rule. */

.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.booking-main { display: flex; flex-direction: column; gap: 18px; }
.booking-summary { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 16px; }

.booking-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.booking-card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.booking-card-sub { font-size: 12.5px; color: var(--slate); margin-bottom: 16px; }

.booking-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-grid-3 { display: grid; grid-template-columns: 1fr 1.6fr 1.6fr; gap: 14px; margin-bottom: 14px; }
.booking-field { margin-bottom: 0; min-width: 0; }
.booking-field select { width: 100%; border: none; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); outline: none; font-family: inherit; }
.booking-field input[type="date"] { min-width: 0; -webkit-appearance: none; appearance: none; }
.booking-field input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 6px; flex-shrink: 0; }

.tcs-options { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.tcs-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.tcs-option input { margin-top: 3px; accent-color: var(--indigo); flex-shrink: 0; }
.tcs-option strong { display: block; font-size: 13.5px; color: var(--navy); margin-bottom: 2px; }
.tcs-option span { font-size: 12px; color: var(--slate); line-height: 1.5; }
.tcs-option:has(input:checked) { border-color: var(--indigo); background: #EFF6FF; }

.addon-row { display: flex; gap: 10px; flex-wrap: wrap; }
.addon-chip {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.addon-chip input { accent-color: var(--indigo); }
.addon-chip span { color: var(--gold-dark); font-weight: 700; }
.addon-chip:has(input:checked) { border-color: var(--indigo); background: #EFF6FF; }

.booking-sum-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 13.5px; color: var(--slate); border-bottom: 1px solid var(--line); }
.booking-sum-row strong { color: var(--ink); font-weight: 700; }
.booking-sum-total { border-bottom: none; padding-top: 14px; font-size: 15px; }
.booking-sum-total strong { color: var(--navy); font-size: 19px; font-family: 'Poppins', sans-serif; }
.booking-fineprint { font-size: 11px; color: var(--slate-light); margin-top: 12px; line-height: 1.5; }

/* Review & payment page specifics */
.review-flight-card { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 0; background: var(--mist); }
.pax-flight-leg-tag {
  display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--indigo); padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 10px;
}
.pax-flight-leg-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 11.5px; color: var(--slate); margin-top: 10px; }
.pax-flight-leg-meta span {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 10px; font-weight: 600;
}
.pax-layover-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.pax-layover-item {
  display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: var(--slate);
  background: #FFFBEB; border: 1px dashed #FDE68A; border-radius: 8px; padding: 7px 10px; line-height: 1.5;
}
.pax-layover-dot { width: 6px; height: 6px; border-radius: 50%; background: #D97706; margin-top: 5px; flex-shrink: 0; }
.review-pax-list { display: flex; flex-direction: column; gap: 8px; }
.review-pax-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--slate); padding: 6px 0; border-bottom: 1px solid var(--line); }
.review-pax-row:last-child { border-bottom: none; }

.pay-status-page { max-width: 560px; margin: 60px auto; text-align: center; }
.pay-status-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.pay-status-icon.paid { background: #DCFCE7; color: var(--success); }
.pay-status-icon.pending { background: #FEF3C7; color: #B45309; }
.pay-status-icon.failed { background: #FEE2E2; color: var(--danger); }
.pay-status-title { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pay-status-sub { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 24px; }
.pay-status-ref { display: inline-block; background: var(--mist); border-radius: 10px; padding: 10px 18px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }

/* Flight booking confirmation — mirrors the app's BookingConfirmationScreen
   (header gradient, ticket card, payment banner, status timeline, refund
   card) so the website shows exactly the same post-payment experience. */
.bc-header { text-align: center; padding: 32px 20px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--indigo)); color: #fff; }
.bc-header.rejected { background: linear-gradient(135deg, var(--danger), #991B1B); }
.bc-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 32px; font-weight: 800; background: rgba(212,175,55,0.16); border: 2px solid rgba(212,175,55,0.5); color: var(--gold); }
.bc-icon.rejected { background: #fff; border: none; color: var(--danger); }
.bc-title { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.bc-sub { font-size: 13.5px; color: rgba(255,255,255,0.85); margin: 0 0 16px; }
.bc-ref { display: inline-block; padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,0.15); font-size: 12px; font-weight: 700; letter-spacing: 0.4px; }
.bc-card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.bc-ticket-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 15px; }
.bc-ticket-row span { font-size: 12.5px; color: var(--slate); font-weight: 500; }
.bc-ticket-row strong { font-weight: 700; color: var(--ink); }
.bc-ticket-row strong.strong-blue { color: var(--indigo); }
.bc-pay-banner { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #FDF1DD; color: #92650F; font-size: 12px; font-weight: 700; }
.bc-ticket-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--slate); line-height: 1.5; }
.bc-doc-row { display: flex; gap: 10px; margin-top: 14px; }
.bc-doc-btn { flex: 1; text-align: center; padding: 10px; border-radius: 10px; border: 1px solid rgba(37,99,235,0.35); color: var(--indigo); font-size: 12px; font-weight: 700; text-decoration: none; }
.bc-refund-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--danger); margin-bottom: 10px; }
.bc-refund-text { font-size: 13.5px; line-height: 1.6; color: #333; margin: 0; }
.bc-tl-title { font-weight: 700; font-size: 14.5px; margin-bottom: 16px; }
.bc-tl-step { display: flex; gap: 12px; }
.bc-tl-col { display: flex; flex-direction: column; align-items: center; }
.bc-tl-dot { width: 20px; height: 20px; border-radius: 50%; background: #E2E8F0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; flex-shrink: 0; }
.bc-tl-dot.done { background: var(--success); }
.bc-tl-dot.active { background: var(--indigo); }
.bc-tl-spinner { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: rt-spin 0.8s linear infinite; }
.bc-tl-line { width: 2px; flex: 1; min-height: 20px; background: #E2E8F0; }
.bc-tl-line.done { background: rgba(22,163,74,0.4); }
.bc-tl-label { font-size: 13.5px; font-weight: 500; color: #9CA3AF; padding-bottom: 20px; }
.bc-tl-label.strong { font-weight: 600; color: var(--ink); }
.bc-refresh-btn { display: block; margin: 14px auto 0; background: none; border: none; color: var(--indigo); font-weight: 600; font-size: 13px; cursor: pointer; }

/* My Bookings list — status badges shared vocabulary with the app. */
.mb-badge { flex-shrink: 0; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; white-space: nowrap; }
.mb-badge.paid { background: #DCFCE7; color: var(--success); }
.mb-badge.pending { background: #FEF3C7; color: #B45309; }
.mb-badge.failed { background: #FEE2E2; color: var(--danger); }
.mb-detail-panel { padding: 12px 14px; border-radius: var(--radius-md); background: var(--mist); }

/* My Bookings — web-only filterable table dashboard (not a port of the
   app's card list; this pattern only makes sense at desktop width). */
.mb-filter-card {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.mb-filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.mb-filter-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-light); }
.mb-filter-field select, .mb-filter-field input {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13.5px;
  font-weight: 600; color: var(--ink); font-family: inherit; background: var(--mist); outline: none;
}
.mb-filter-field select:focus, .mb-filter-field input:focus { border-color: var(--indigo); background: #fff; }

.mb-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.mb-stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--line); }
.mb-stat-tile.all { border-left-color: var(--indigo); }
.mb-stat-tile.upcoming { border-left-color: var(--success); }
.mb-stat-tile.pending { border-left-color: #D97706; }
.mb-stat-label { font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.mb-stat-count { font-size: 24px; font-weight: 800; font-family: 'Poppins', sans-serif; color: var(--navy); margin-bottom: 4px; }
.mb-stat-sub { font-size: 12px; color: var(--slate-light); }

.mb-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; box-shadow: var(--shadow-sm); }
.mb-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 820px; }
.mb-table thead th {
  text-align: left; padding: 12px 16px; background: var(--mist); color: var(--slate); font-weight: 700;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; border-bottom: 1px solid var(--line);
}
.mb-table thead th[data-sort] { cursor: pointer; user-select: none; }
.mb-table thead th[data-sort]:hover { color: var(--indigo); }
.mb-table tbody tr:not(.mb-detail-row) { border-bottom: 1px solid var(--line); }
.mb-table tbody tr:not(.mb-detail-row):hover { background: var(--mist); }
.mb-table td { padding: 14px 16px; vertical-align: top; color: var(--ink); }
.mb-sub { font-size: 11.5px; color: var(--slate-light); font-weight: 500; }
.mb-action-link { color: var(--indigo); font-weight: 700; text-decoration: none; font-size: 12.5px; white-space: nowrap; }
.mb-action-link:hover { text-decoration: underline; }
.mb-detail-row td { padding: 0 16px 16px; background: #fff; }

@media (max-width: 900px) {
  .mb-stats-row { grid-template-columns: 1fr; }
  .mb-filter-card { flex-direction: column; align-items: stretch; }
  .mb-filter-field { min-width: 0; }
}

/* Booking detail page (flight-confirmation.php) — web-only two-column
   dashboard layout: top status strip + main card + sidebar of cards. */
.bd-top { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: var(--radius-lg); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.bd-top.pending { border-left-color: #D97706; }
.bd-top.rejected { border-left-color: var(--danger); }
.bd-top-icon { width: 40px; height: 40px; border-radius: 50%; background: #DCFCE7; color: var(--success); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.bd-top.pending .bd-top-icon { background: #FEF3C7; color: #B45309; }
.bd-top.rejected .bd-top-icon { background: #FEE2E2; color: var(--danger); }
.bd-top-title { font-size: 17px; font-weight: 800; color: var(--navy); font-family: 'Poppins', sans-serif; }
.bd-top-sub { font-size: 12.5px; color: var(--slate); margin-top: 2px; }

.bd-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 20px; align-items: start; }
.bd-main, .bd-sidebar { display: flex; flex-direction: column; gap: 16px; }
.bd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.bd-card-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.bd-route-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bd-route { font-size: 19px; font-weight: 800; color: var(--navy); font-family: 'Poppins', sans-serif; }
.bd-dates-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--slate); margin-bottom: 14px; }
.bd-divider { height: 1px; background: var(--line); margin: 14px 0; }
.bd-side-link { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 13px; font-weight: 700; color: var(--indigo); text-decoration: none; }
.bd-side-link:hover { text-decoration: underline; }
.bd-side-disabled { padding: 9px 0; font-size: 13px; color: var(--slate-light); }
.bd-side-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: var(--slate); border-bottom: 1px solid var(--line); }
.bd-side-row:last-child { border-bottom: none; }
.bd-side-row strong { color: var(--ink); font-weight: 700; }
.bd-side-total strong { color: var(--navy); font-size: 14.5px; }
.bd-side-text { font-size: 13.5px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

.bd-manage-tile { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font: inherit; }
.bd-manage-tile:last-child { border-bottom: none; }
.bd-manage-tile-text { display: flex; flex-direction: column; gap: 2px; }
.bd-manage-tile-text strong { font-size: 13.5px; color: var(--ink); font-weight: 700; }
.bd-manage-tile-text span { font-size: 11.5px; color: var(--slate-light); }
.bd-manage-tile-arrow { font-size: 20px; color: var(--slate-light); margin-left: 10px; }
.bd-manage-tile:hover .bd-manage-tile-text strong { color: var(--navy); }

.bd-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.bd-modal { background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.bd-modal-title { font-weight: 800; font-size: 17px; color: var(--navy); margin-bottom: 8px; }

/* ---------- Hotel details: skeleton loader ---------- */
@keyframes hdShimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.hd-skel { background: linear-gradient(90deg, #EAEFF5 25%, #F6F8FB 37%, #EAEFF5 63%); background-size: 800px 100%; animation: hdShimmer 1.4s ease-in-out infinite; border-radius: 16px; }
.hd-skel-mosaic { height: 320px; }
.hd-skel-block { height: 60px; }

/* ---------- Hotel details: photo mosaic (Booking.com/MMT-style) ---------- */
.hd-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; height: 360px; border-radius: 18px; overflow: hidden; }
.hd-mosaic-main { height: 100%; }
.hd-mosaic-main img { width: 100%; height: 100%; object-fit: cover; }
.hd-mosaic-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 100%; }
.hd-mosaic-cell { position: relative; overflow: hidden; }
.hd-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hd-mosaic-cell:hover img { transform: scale(1.05); }
.hd-mosaic-more::after { content: attr(data-more); position: absolute; inset: 0; background: rgba(11,30,61,0.6); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.hd-mosaic-single { border-radius: 18px; overflow: hidden; height: 320px; }
.hd-mosaic-single img { width: 100%; height: 100%; object-fit: cover; }
.hd-stars { color: #D4AF37; letter-spacing: 1px; }
@media (max-width: 640px) {
  .hd-mosaic { grid-template-columns: 1fr; height: auto; }
  .hd-mosaic-main { height: 220px; }
  .hd-mosaic-grid { height: 160px; }
}

.hroom-group { border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(11,30,61,0.05); }
.hroom-group-title { background: linear-gradient(135deg, var(--navy), #1D3A8A); color: #fff; padding: 12px 16px; font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.hroom-group-icon { font-size: 16px; }
.hroom-group-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; background: #FBFCFE; }
.hroom-option { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: box-shadow .2s, border-color .2s; }
.hroom-option:hover { box-shadow: 0 6px 20px rgba(11,30,61,0.08); border-color: #CBD5E1; }
.hroom-option-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hroom-meal { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 20px; background: rgba(212,175,55,0.16); color: #7C5E12; font-weight: 800; font-size: 12px; }
.hroom-cancel-pill { padding: 5px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
.hroom-cancel-pill.ok { background: #F0FDF4; color: #166534; }
.hroom-cancel-pill.bad { background: #FEF2F2; color: #991B1B; }
.hroom-feature { padding: 4px 10px; border-radius: 8px; background: rgba(22,163,74,0.08); color: #16A34A; font-size: 11.5px; font-weight: 600; }
.hroom-cancel-note { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--indigo); }
.hroom-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.hroom-price { font-weight: 800; font-size: 20px; color: var(--navy); }

.hd-stay-divider { height: 1px; background: var(--line); margin: 12px 0; }
.field-locked { position: relative; opacity: 0.85; }
.field-locked input { cursor: not-allowed; color: var(--slate); }
.field-lock-icon { position: absolute; right: 14px; top: 38px; font-size: 13px; color: var(--slate-light); }

.hd-tabs { position: sticky; top: 0; z-index: 50; background: var(--navy); display: flex; gap: 6px; padding: 10px 6px; border-radius: 0 0 14px 14px; margin-bottom: 20px; }
.hd-tab { flex: 1; text-align: center; padding: 9px 6px; border-radius: 8px; color: rgba(255,255,255,0.7); font-weight: 700; font-size: 12.5px; cursor: pointer; border-bottom: 3px solid transparent; background: none; border-left: none; border-right: none; border-top: none; }
.hd-tab.active { color: #fff; background: rgba(255,255,255,0.12); border-bottom-color: #D4AF37; }

.hd-mosaic-cell { cursor: zoom-in; }
.hd-mosaic-main { cursor: zoom-in; }
.hd-lightbox { position: fixed; inset: 0; background: rgba(5,10,20,0.94); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.hd-lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.hd-lightbox-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 30px; cursor: pointer; background: none; border: none; }
.hd-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.hd-lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.hd-lightbox-prev { left: 20px; }
.hd-lightbox-next { right: 20px; }
.hd-lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600; }

.review-blocking-note { text-align: center; color: var(--slate); font-size: 13px; font-weight: 600; margin-top: 18px; }

.wallet-otp-panel { margin: 8px 0 2px; padding: 12px; border-radius: 10px; background: #F8FAFC; border: 1.5px solid var(--line); max-width: 100%; box-sizing: border-box; overflow: hidden; }
.wallet-otp-label { font-size: 11.5px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.wallet-otp-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-otp-input { flex: 1 1 100px; min-width: 0; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 700; letter-spacing: 3px; text-align: center; box-sizing: border-box; }
.wallet-otp-verify-btn { flex-shrink: 0; white-space: nowrap; }
.wallet-otp-error { color: #DC2626; font-size: 11.5px; margin-top: 6px; }
.wallet-otp-resend { background: none; border: none; color: var(--indigo); font-size: 11.5px; font-weight: 700; cursor: pointer; margin-top: 8px; padding: 0; }
.wallet-otp-verified { background: #F0FDF4; border-color: #86EFAC; color: #166534; font-size: 12.5px; font-weight: 700; padding: 10px 12px; }

.ss-payment-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(10,22,46,0.92); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.ss-payment-overlay-box { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 32px; }
.ss-spinner { width: 44px; height: 44px; border: 4px solid rgba(255,255,255,0.25); border-top-color: #D4AF37; border-radius: 50%; animation: ss-spin 0.7s linear infinite; }
@keyframes ss-spin { to { transform: rotate(360deg); } }
.ss-payment-overlay-text { color: #fff; font-size: 14.5px; font-weight: 600; text-align: center; max-width: 300px; }

.ss-cash-banner { background: linear-gradient(135deg, #D4AF37, #B8860B); border-radius: 16px; padding: 20px; color: #fff; display: flex; align-items: center; gap: 14px; margin-top: 16px; box-shadow: 0 8px 24px rgba(184,134,11,0.25); }
.ss-cash-banner-icon { font-size: 32px; }
.ss-cash-banner-amount { font-size: 22px; font-weight: 800; }
.ss-cash-banner-label { font-size: 12.5px; opacity: 0.92; margin-top: 2px; }

.booking-expiry-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px; border-radius: 20px; background: rgba(212,175,55,0.18); border: 1px solid rgba(212,175,55,0.4); color: #FDE68A; font-size: 12px; font-weight: 700; }

.traveler-suggest-dropdown { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(11,30,61,0.14); z-index: 60; max-height: 220px; overflow-y: auto; }
.traveler-suggest-item { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.traveler-suggest-item:last-child { border-bottom: none; }
.traveler-suggest-item:hover { background: #F8FAFC; }
.traveler-suggest-item strong { font-size: 12.5px; color: var(--navy); }
.traveler-suggest-item span { font-size: 11px; color: var(--slate-light); }

@media (max-width: 900px) {
  .bd-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
}
@media (max-width: 640px) {
  .booking-grid-2, .booking-grid-3 { grid-template-columns: 1fr; }
  .booking-card { padding: 18px; }
  .addon-row { flex-direction: column; }
  .review-flight-card { flex-direction: column; text-align: center; }
}

/* ---------- "Review Details" confirmation modal, shown on Continue before
   SSR/payment — same purpose as the app's _showReviewDetailsSheet (confirm
   Title/First/Last/DOB/Gender for every traveler before it's locked in). ---------- */
.rd-overlay { display: none; position: fixed; inset: 0; z-index: 4200; background: rgba(11,30,61,0.55); align-items: center; justify-content: center; padding: 20px; }
.rd-overlay.open { display: flex; }
.rd-modal { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; max-height: 85vh; display: flex; flex-direction: column; padding: 24px; animation: authPop 0.25s var(--ease); }
.rd-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rd-modal-head h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0; }
.rd-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--mist); color: var(--slate); font-size: 20px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.rd-note { font-size: 13px; color: var(--slate); line-height: 1.5; margin-bottom: 14px; }
.rd-body { overflow-y: auto; flex: 1; margin: 0 -4px; padding: 0 4px; }
.rd-pax-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.rd-pax-badge { display: inline-block; background: var(--indigo); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; padding: 4px 9px; border-radius: 6px; margin-bottom: 10px; }
.rd-field-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rd-field-row:last-child { border-bottom: none; }
.rd-field-row span:first-child { color: var(--slate); flex-shrink: 0; }
.rd-field-row span:last-child { font-weight: 700; color: var(--ink); text-align: right; text-transform: uppercase; }
.rd-actions { display: flex; gap: 12px; margin-top: 16px; }
.rd-actions .btn { flex: 1; }

/* ---------- Flight SSR selection page (Seat Map / Meals / Baggage) — mirrors
   the app's SsrSelectionScreen (ssr_selection_screen.dart) field-for-field. ---------- */
.ssr-header { background: linear-gradient(135deg, var(--navy), var(--indigo)); color: #fff; padding: 20px 0 0; }
.ssr-header .container { display: flex; flex-direction: column; gap: 10px; }
.ssr-header h2 { font-size: 18px; font-weight: 800; margin: 0; }
.ssr-header .ssr-sector { font-size: 12.5px; color: rgba(255,255,255,0.75); font-weight: 600; }
.ssr-tabs { display: flex; gap: 0; border-bottom: 3px solid transparent; margin-top: 14px; }
.ssr-tab { flex: 1; text-align: center; padding: 12px 0; background: none; border: none; color: rgba(255,255,255,0.7); font-weight: 700; font-size: 12.5px; letter-spacing: 0.4px; cursor: pointer; border-bottom: 3px solid transparent; }
.ssr-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.ssr-leg-toggle, .ssr-seg-selector { display: flex; gap: 8px; padding: 10px 0; }
.ssr-leg-pill, .ssr-seg-pill { flex: 1; text-align: center; padding: 8px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 12px; color: var(--slate); }
.ssr-seg-pill { border-radius: 999px; padding: 9px 6px; font-size: 11.5px; }
.ssr-leg-pill .ssr-leg-sector, .ssr-seg-pill { display: block; }
.ssr-leg-pill small { display: block; font-weight: 600; font-size: 10.5px; margin-top: 2px; opacity: 0.75; }
.ssr-leg-pill.active, .ssr-seg-pill.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.ssr-pax-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.ssr-pax-chip { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--slate); cursor: pointer; white-space: nowrap; }
.ssr-pax-chip.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.ssr-pax-chip.has-seat:not(.active) { background: #EFF6FF; border-color: var(--indigo); color: var(--indigo); }
.ssr-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 0 16px; }
.ssr-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--slate); }
.ssr-legend-dot { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); }
.ssr-seat-rows { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; }
.ssr-seat-row { display: flex; align-items: center; gap: 2px; }
.ssr-seat-row-no { width: 26px; font-size: 11.5px; font-weight: 700; color: var(--slate); text-align: center; flex-shrink: 0; }
.ssr-seat-aisle { width: 18px; flex-shrink: 0; }
.ssr-seat {
  width: 40px; height: 40px; margin: 0 2px; border-radius: 8px; border: 1.2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700;
  color: var(--indigo); cursor: pointer; background: #fff; flex-shrink: 0;
}
.ssr-seat.empty { visibility: hidden; }
.ssr-seat.selected { background: var(--gold); border-color: var(--gold); color: #fff; }
.ssr-seat.taken-other { background: #EFF6FF; border-color: var(--indigo); color: var(--indigo); font-size: 10px; }
.ssr-seat.unavailable { background: #E5E7EB; border-color: #D1D5DB; color: #9CA3AF; cursor: not-allowed; }
.ssr-option-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.ssr-option-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.1px solid var(--line); background: #fff; }
.ssr-option-card.selected { border-color: var(--gold); border-width: 1.6px; background: rgba(212,175,55,0.06); }
.ssr-option-icon { width: 38px; height: 38px; border-radius: 10px; background: #EFF6FF; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.ssr-option-body { flex: 1; min-width: 0; }
.ssr-option-label { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.ssr-option-price { font-size: 12.5px; color: var(--slate); font-weight: 600; margin-top: 2px; }
.ssr-option-veg { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; border: 1px solid; vertical-align: middle; }
.ssr-option-veg.veg { background: #F0FDF4; color: #166534; border-color: #86EFAC; }
.ssr-option-veg.nonveg { background: #FEF2F2; color: #991B1B; border-color: #FCA5A5; }
.ssr-option-btn { padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--indigo); background: #fff; color: var(--indigo); font-weight: 700; font-size: 12px; cursor: pointer; flex-shrink: 0; }
.ssr-option-btn.added { background: var(--gold); border-color: var(--gold); color: #fff; }
.ssr-empty-state { text-align: center; padding: 50px 20px; color: var(--slate); font-size: 13.5px; }
.ssr-bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--navy);
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.ssr-bottombar-total { color: rgba(255,255,255,0.75); font-size: 12.5px; font-weight: 600; }
.ssr-bottombar .btn { padding: 12px 26px; }
.ssr-page-body { padding-bottom: 90px; }
@media (max-width: 640px) {
  .ssr-seat { width: 34px; height: 34px; margin: 0 1px; }
  .ssr-seat-aisle { width: 10px; }
  .ssr-leg-toggle, .ssr-seg-selector { flex-wrap: wrap; }
}

/* ---------- "Different airport selected" mismatch card — mirrors the
   app's airport_mismatch.dart card (searched code struck through, actual
   code in a gold badge, nearby-airport distance note). ---------- */
.am-card { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; text-align: center; }
.am-label { font-size: 11px; color: var(--slate-light); letter-spacing: 0.6px; font-weight: 700; text-transform: uppercase; }
.am-codes { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.am-searched { font-size: 20px; font-weight: 700; color: #94A3B8; text-decoration: line-through; }
.am-arrow { color: #94A3B8; }
.am-actual { font-size: 20px; font-weight: 700; color: var(--navy); background: rgba(212,175,55,0.14); border: 1px solid rgba(212,175,55,0.35); border-radius: 8px; padding: 3px 12px; }
.am-info { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.am-distance { margin-top: 2px; font-size: 12px; color: var(--slate); }
