:root {
  color-scheme: light;
  --bg: #f4f7ef;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --line: rgba(23, 73, 22, 0.12);
  --text: #152312;
  --muted: #52624d;
  --brand: #15751f;
  --brand-deep: #0f5d17;
  --brand-soft: #e5f3e0;
  --accent: #d97706;
  --accent-soft: #fff2df;
  --shadow: 0 22px 44px rgba(18, 58, 17, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-display: "Avenir Next Demi Bold", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(21, 117, 31, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(217, 119, 6, 0.12), transparent 26%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 100%);
}

button,
input,
select {
  font: inherit;
}

.bookingShell {
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
  padding: 14px 0 40px;
}

.bookingHero {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.heroCopy,
.heroPanel,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.heroCopy {
  padding: 18px 20px;
}

.heroBrand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.heroLogo {
  width: clamp(92px, 18vw, 132px);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.heroBrandText {
  display: grid;
  gap: 4px;
}

.heroPanel {
  padding: 16px 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.heroCopy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.78rem, 4.2vw, 3rem);
  line-height: 1;
}

.heroText,
.sectionMeta,
.heroChecklist,
.summaryNote,
.inlineNote {
  color: var(--muted);
}

.heroText {
  margin: 8px 0 0;
  max-width: 38rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.heroHighlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.heroHighlights span,
.choiceChip,
.passengerChip {
  border-radius: 999px;
  border: 1px solid rgba(21, 117, 31, 0.15);
  background: rgba(255, 255, 255, 0.74);
}

.heroHighlights span {
  padding: 8px 12px;
  font-size: 0.86rem;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.bookingHeroCompact {
  grid-template-columns: 1fr;
}

.heroCopyCompact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.heroCopyCompact .heroBrand {
  gap: 12px;
}

.heroCopyCompact .heroBrandText {
  gap: 2px;
}

.heroCopyCompact .heroActions {
  margin-top: 0;
  margin-left: auto;
}

.heroPanelTitle,
.sectionHeader h2,
.summaryHeader h2,
.seatPanelHeader h2,
.flowCard h2 {
  margin: 0;
  font-family: var(--font-display);
}

.heroChecklist {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.5;
}

.wizardLayout {
  display: grid;
  gap: 14px;
}

.wizardMain {
  display: grid;
  gap: 16px;
}

.wizardAside {
  display: grid;
  gap: 14px;
}

.progressTracker {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.progressHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.progressHeadline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.progressKicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.progressCurrentStep {
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
}

.progressPercent {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.progressMeter {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(21, 117, 31, 0.12);
  overflow: hidden;
}

.progressMeterBar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.progressStepper {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stepItem {
  display: flex;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.stepItem.done .stepLabel,
.stepItem.active .stepLabel {
  color: var(--text);
}

.stepDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(21, 117, 31, 0.16);
  border: 1px solid rgba(21, 117, 31, 0.18);
}

.stepItem.done .stepDot {
  background: var(--brand);
  border-color: var(--brand);
}

.stepItem.active .stepDot {
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 2px rgba(21, 117, 31, 0.12);
}

.stepLabel {
  display: none;
}

.flowCard,
.seatPanel,
.summaryCard,
.loadingCard,
.errorState,
.reviewPanel,
.passengerCard,
.ticketResult,
.seatPrompt {
  padding: 20px;
}

.summaryCard {
  position: sticky;
  top: 76px;
}

.sectionHeader,
.seatPanelHeader,
.summaryHeader,
.passengerCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.sectionHeader h2,
.seatPanelHeader h2,
.summaryHeader h2,
.flowCard h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.summaryRows,
.reviewList,
.confirmationStats {
  display: grid;
  gap: 8px;
}

.summaryRow,
.reviewList div,
.confirmationStats div,
.ticketPassenger,
.passengerReview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summaryRow span,
.reviewList span,
.confirmationStats span {
  color: var(--muted);
}

.summaryStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(21, 117, 31, 0.08);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.optionGrid,
.detailsStack,
.reviewStack,
.departureList {
  display: grid;
  gap: 12px;
}

.reviewActionsInline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.paymentPhoneField {
  margin-top: 14px;
}

.optionCard,
.departureCard,
.choiceChip,
.counterButton,
.button,
.passengerChip,
.seatButton {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.optionCard,
.departureCard {
  width: 100%;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.optionCard.selected,
.departureCard.selected,
.choiceChip.selected,
.passengerChip.active {
  border-color: rgba(21, 117, 31, 0.52);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(21, 117, 31, 0.22);
}

.optionTitle,
.departureMain strong {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.optionMeta,
.optionHint,
.departureMeta,
.departureMain span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.chipGrid,
.passengerTabs,
.seatLegend,
.actionRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choiceChip,
.passengerChip {
  padding: 12px 14px;
  cursor: pointer;
}

.choiceChip.static {
  cursor: default;
  background: rgba(255, 255, 255, 0.92);
}

.choiceChip {
  min-height: 46px;
}

.counterCard {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 12px;
  align-items: center;
}

.counterButton {
  min-height: 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 1.7rem;
}

.counterValue {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  font-size: 1.6rem;
  font-weight: 800;
}

.fieldGrid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(21, 117, 31, 0.45);
  box-shadow: 0 0 0 4px rgba(21, 117, 31, 0.12);
}

.field select:disabled {
  background-color: rgba(255, 255, 255, 0.78);
  color: #8da08a;
}

.travelFields {
  grid-template-columns: 1fr;
}

.dateField {
  position: relative;
  margin-bottom: 10px;
}

.calendarTrigger {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 4px;
}

.calendarTrigger.open,
.calendarTrigger:focus-visible {
  outline: none;
  border-color: rgba(21, 117, 31, 0.45);
  box-shadow: 0 0 0 4px rgba(21, 117, 31, 0.12);
}

.calendarTriggerLabel {
  font-weight: 700;
}

.calendarTriggerMeta {
  font-size: 0.8rem;
  color: var(--muted);
}

.travelCalendar {
  position: relative;
  z-index: 6;
  margin-top: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.calendarToolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.calendarTitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.calendarMeta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.calendarControls {
  display: flex;
  gap: 8px;
}

.calendarNavButton {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.calendarMonths {
  display: grid;
  gap: 14px;
}

.calendarMonth {
  display: grid;
  gap: 10px;
}

.calendarMonthHeader h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.calendarWeekdays,
.calendarGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendarWeekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.calendarDay {
  min-height: 56px;
  padding: 8px 4px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(244, 247, 239, 0.86);
  color: var(--text);
  cursor: pointer;
  display: grid;
  align-content: space-between;
  justify-items: center;
  gap: 4px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.calendarDay:hover:not(:disabled),
.calendarNavButton:hover {
  transform: translateY(-1px);
}

.calendarDay.selected {
  background: linear-gradient(135deg, rgba(21, 117, 31, 0.16), rgba(217, 119, 6, 0.18));
  border-color: rgba(21, 117, 31, 0.4);
}

.calendarDay.available .calendarDayMeta,
.calendarDay.today .calendarDayMeta {
  color: var(--brand);
}

.calendarDay.today {
  border-color: rgba(21, 117, 31, 0.22);
}

.calendarDay:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.calendarDayBlank {
  min-height: 56px;
}

.calendarDayNumber {
  font-weight: 700;
}

.calendarDayMeta {
  font-size: 0.7rem;
  color: var(--muted);
}

.fieldWide,
.minorNotice {
  grid-column: 1 / -1;
}

.fieldHint {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}

.dobFields {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 10px;
}

.dobField {
  display: grid;
  gap: 6px;
}

.dobFieldLabel {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dobYearField input {
  text-transform: none;
}

.minorNotice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.minorNotice p {
  margin: 0;
}

.seatPanelHeader {
  align-items: center;
}

.seatMapGrid {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.seatRow {
  display: grid;
  grid-template-columns: repeat(5, minmax(48px, 1fr));
  gap: 8px;
}

.seatButton,
.seatVoid {
  min-height: 48px;
  border-radius: 14px;
}

.seatButton {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.seatButton.available {
  background: #ffffff;
}

.seatButton.selected {
  background: var(--accent-soft);
  border-color: rgba(217, 119, 6, 0.55);
}

.seatButton.reserved {
  background: #e7e5e4;
  color: #78716c;
}

.seatButton.booked {
  background: #cbd5e1;
  color: #475569;
}

.seatVoid.aisle {
  background: transparent;
}

.seatVoid.driver {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0.06));
  border: 1px dashed rgba(15, 118, 110, 0.25);
}

.legendItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legendSwatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.legendSwatch.available {
  background: #fff;
}

.legendSwatch.selected {
  background: var(--accent-soft);
}

.legendSwatch.reserved {
  background: #e7e5e4;
}

.legendSwatch.booked {
  background: #cbd5e1;
}

.reservationTimer {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.timerLabel {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.timerValue {
  font-size: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  color: var(--text);
}

.button:disabled,
.seatButton:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.actionBar {
  position: sticky;
  bottom: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
  background: rgba(252, 250, 247, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.actionBar .button {
  flex: 1;
}

.cashNotice {
  margin-top: 16px;
  background: var(--accent-soft);
  color: #8a4b00;
}

.termsConsent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.termsConsent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.termsConsent span {
  font-weight: 600;
}

.confirmationCard {
  text-align: center;
}

.confirmationBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 40px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.ticketLookup {
  display: grid;
  gap: 12px;
}

.ticketPassengerList {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.passengerReviewList {
  display: grid;
  gap: 10px;
}

.inlineValidation,
.errorBanner {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(153, 27, 27, 0.08);
  color: #991b1b;
}

.errorBanner {
  border: 1px solid rgba(153, 27, 27, 0.14);
}

.errorBannerContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 20, 10, 0.48);
  backdrop-filter: blur(8px);
}

.modalCard {
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modalCard.wide {
  width: min(980px, 100%);
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.modalHeader h2 {
  margin: 0;
  font-family: var(--font-display);
}

.modalBody {
  overflow: auto;
  min-height: 0;
  padding: 20px 22px 24px;
  display: grid;
  gap: 18px;
}

.modalBodyScrollable {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.termsBlock {
  display: grid;
  gap: 10px;
}

.termsBlock p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.termsFull {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.termsModal {
  height: min(88vh, 920px);
}

.dobModal {
  width: min(680px, 100%);
}

.dobModalBody {
  gap: 14px;
}

.dobTrigger {
  min-height: 52px;
}

.dobValueChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dobPickerToolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.dobPickerToolbar.compact {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.dobYearJump {
  margin: 0;
}

.dobYearJumpRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.dobPickerSelection {
  justify-self: end;
  font-weight: 700;
  color: var(--brand-deep);
}

.dobYearGrid,
.dobMonthGrid,
.dobDayGrid {
  display: grid;
  gap: 10px;
}

.dobYearGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dobMonthGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dobDayGrid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dobPickerChoice {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.dobPickerChoice.selected {
  border-color: rgba(21, 117, 31, 0.52);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(21, 117, 31, 0.22);
}

.routesFareGrid {
  display: grid;
  gap: 14px;
}

.routeFareFilter {
  max-width: 420px;
}

.routesFareList {
  display: grid;
  gap: 10px;
}

.routesFareListScrollable {
  max-height: min(68vh, 720px);
  overflow-y: auto;
  padding-right: 4px;
}

.routeFareListItem {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.routeFareLine {
  font-weight: 700;
  line-height: 1.3;
}

.routeFarePrice {
  color: var(--brand-deep);
  white-space: nowrap;
}

.routeFareCard {
  padding: 18px;
}

.routeFareHeader {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.routeFareMeta {
  margin: 12px 0 10px;
  color: var(--muted);
  font-weight: 700;
}

body.modalOpen {
  overflow: hidden;
}

.spinnerWrap,
.inlineLoading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(21, 117, 31, 0.16);
  border-top-color: var(--brand);
  animation: spin 0.85s linear infinite;
}

.skeletonLine {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.16));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.skeletonLine + .skeletonLine {
  margin-top: 12px;
}

.optionCard:hover,
.departureCard:hover,
.routeFareListItem:hover,
.choiceChip:hover,
.button:hover:not(:disabled),
.passengerChip:hover,
.seatButton:hover:not(:disabled),
.counterButton:hover {
  transform: translateY(-1px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (min-width: 760px) {
  .bookingHero {
    grid-template-columns: minmax(0, 1.95fr) minmax(300px, 0.9fr);
  }

  .bookingHeroCompact {
    grid-template-columns: 1fr;
  }

  .bookingShell {
    width: min(1340px, calc(100% - 36px));
    padding-top: 18px;
  }

  .heroCopy {
    padding: 20px 22px;
  }

  .heroPanel {
    padding: 18px 20px;
  }

  .optionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fieldGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .travelFields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviewStack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .routesFareGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendarMonths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .heroBrand {
    align-items: flex-start;
  }

  .heroCopyCompact {
    align-items: flex-start;
    flex-direction: column;
  }

  .heroCopyCompact .heroActions {
    margin-left: 0;
    width: 100%;
  }

  .heroCopyCompact .heroActions .button {
    width: 100%;
  }

  .heroLogo {
    width: 88px;
  }

  .dobPickerToolbar {
    grid-template-columns: 1fr;
  }

  .dobPickerToolbar.compact {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .dobPickerSelection {
    justify-self: start;
  }

  .dobYearGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dobMonthGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dobDayGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .progressTracker {
    top: 8px;
  }

  .summaryCard {
    position: static;
  }

  .calendarWeekdays span {
    font-size: 0.68rem;
  }

  .calendarDay {
    min-height: 48px;
    border-radius: 14px;
  }
}

@media (min-width: 1024px) {
  .bookingShell {
    width: min(1360px, calc(100% - 34px));
    padding-top: 12px;
  }

  .bookingHero {
    gap: 10px;
    margin-bottom: 10px;
  }

  .heroCopy {
    padding: 16px 18px;
  }

  .heroCopyCompact {
    padding: 12px 16px;
  }

  .heroPanel {
    padding: 14px 16px;
  }

  .heroCopy h1 {
    font-size: clamp(1.54rem, 2.85vw, 2.52rem);
  }

  .heroText {
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .heroHighlights span {
    padding: 5px 9px;
    font-size: 0.78rem;
  }

  .wizardLayout {
    grid-template-columns: minmax(0, 1.45fr) 320px;
    align-items: start;
    gap: 12px;
  }

  .wizardMain,
  .wizardAside {
    gap: 10px;
  }

  .wizardAside {
    position: relative;
    top: auto;
  }

  .progressTracker {
    top: 8px;
    gap: 6px;
    padding: 8px 12px;
  }

  .progressCurrentStep {
    font-size: 0.84rem;
  }

  .progressMeter {
    height: 3px;
  }

  .progressStepper {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 4px;
  }

  .stepDot {
    width: 7px;
    height: 7px;
  }

  .flowCard,
  .seatPanel,
  .summaryCard,
  .reviewPanel,
  .ticketResult,
  .seatPrompt {
    padding: 11px 12px;
  }

  .summaryCard {
    top: 58px;
  }

  .sectionHeader,
  .seatPanelHeader,
  .summaryHeader,
  .passengerCardHeader {
    gap: 8px;
    margin-bottom: 8px;
  }

  .sectionHeader h2,
  .seatPanelHeader h2,
  .summaryHeader h2,
  .flowCard h2 {
    font-size: clamp(1.14rem, 1.55vw, 1.46rem);
  }

  .sectionMeta,
  .summaryNote,
  .inlineNote,
  .optionHint,
  .departureMeta,
  .departureMain span,
  .legendItem {
    font-size: 0.8rem;
    line-height: 1.24;
  }

  .summaryRows,
  .reviewList,
  .confirmationStats {
    gap: 5px;
  }

  .summaryRow,
  .reviewList div,
  .confirmationStats div,
  .ticketPassenger,
  .passengerReview {
    gap: 8px;
  }

  .summaryRow span,
  .reviewList span,
  .confirmationStats span {
    font-size: 0.76rem;
    line-height: 1.16;
  }

  .summaryRow strong,
  .reviewList strong,
  .confirmationStats strong,
  .passengerReview strong {
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .optionGrid,
  .detailsStack,
  .reviewStack,
  .departureList,
  .fieldGrid {
    gap: 8px;
  }

  .optionCard,
  .departureCard {
    padding: 10px 11px;
  }

  .optionTitle,
  .departureMain strong {
    font-size: 0.88rem;
  }

  .choiceChip,
  .passengerChip {
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  .counterCard {
    grid-template-columns: 56px 1fr 56px;
    gap: 8px;
  }

  .counterButton,
  .counterValue {
    min-height: 46px;
  }

  .counterButton {
    font-size: 1.32rem;
  }

  .counterValue {
    font-size: 1.16rem;
  }

  .field {
    gap: 4px;
  }

  .field span {
    font-size: 0.8rem;
  }

.field input,
.field select {
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 12px;
  }

  .fieldHint {
    font-size: 0.72rem;
  }

  .dobValueChips {
    gap: 6px;
  }

  .dobPickerChoice {
    min-height: 40px;
    padding: 8px 10px;
  }

  .button {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 0.86rem;
  }

  .reviewActionsInline,
  .chipGrid,
  .passengerTabs,
  .seatLegend,
  .actionRow {
    gap: 6px;
  }

  .reservationTimer {
    padding: 6px 10px;
    border-radius: 12px;
  }

  .timerLabel {
    font-size: 0.62rem;
  }

  .timerValue {
    font-size: 0.92rem;
  }

  .actionBar {
    bottom: 10px;
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .seatMapGrid {
    gap: 4px;
    margin-top: 8px;
    padding: 8px 6px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--line);
  }

  .seatRow {
    grid-template-columns: repeat(5, minmax(48px, 58px));
    gap: 4px;
    justify-content: start;
  }

  .seatButton,
  .seatVoid {
    min-height: 38px;
  }

  .routeFareList {
    gap: 8px;
  }

  .routeFareListItem {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .routeFareLine {
    font-size: 0.88rem;
  }

  .routeFarePrice {
    font-size: 0.9rem;
  }

  .calendarTrigger {
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .calendarTriggerLabel {
    font-size: 0.88rem;
  }

  .calendarTriggerMeta,
  .calendarMeta {
    font-size: 0.74rem;
  }

  .travelCalendar {
    margin-top: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .calendarToolbar {
    margin-bottom: 10px;
  }

  .calendarTitle,
  .calendarMonthHeader h3 {
    font-size: 0.92rem;
  }

  .calendarNavButton {
    width: 34px;
    height: 34px;
  }

  .calendarWeekdays span {
    font-size: 0.66rem;
  }

  .calendarGrid {
    gap: 4px;
  }

  .calendarDay {
    min-height: 48px;
    padding: 6px 3px;
    border-radius: 12px;
  }

  .calendarDayMeta {
    font-size: 0.62rem;
  }
}

.fieldHint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}
