/* SkyBus web booking — portal header matches results; seats keep warm accent */
:root {
  --sb-blue: #1a73e8;
  --sb-line: #e2e8f0;
  --sb-muted: #5f7088;
  --primary: #1565e8;
  --primary-700: #0d4fb8;
  --primary-50: #eef3fb;
  --accent: #fdc500;
  --accent-800: #b38b00;
  --accent-50: #fffae0;
  --pay: #e85d2d;
  --bg: #eef3fb;
  --card: #ffffff;
  --ink: #1a2b42;
  --muted: #5f7088;
  --border: #e2e8f0;
  --ok: #1aab60;
  --err: #e03131;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 28px rgba(26, 43, 66, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.book-portal {
  margin: 0;
  font-family: Inter, Roboto, system-ui, sans-serif;
  font-size:13px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 961px) {
  body.book-portal {
    padding-bottom: 32px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.sb-container {
  width: min(1280px, 100% - 32px);
  margin-inline: auto;
}

.wrap {
  width: min(1280px, 100% - 32px);
  margin-inline: auto;
}

/* Shared top nav (results parity) */
.sb-topnav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sb-topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.sb-logo {
  font-size:25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sb-blue);
  display: inline-flex;
  align-items: center;
}

.sb-logo img.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.sb-nav-tabs {
  display: none;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .sb-nav-tabs {
    display: flex;
  }
}

.sb-nav-tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size:15px;
  font-weight: 600;
  color: var(--sb-muted);
  padding: 12px 10px;
  border-bottom: 2px solid transparent;
}

.sb-nav-tabs a i {
  font-size:22px;
}

.sb-nav-tabs a.active {
  color: var(--sb-blue);
  border-bottom-color: var(--sb-blue);
}

.sb-nav-utils {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size:16px;
  font-weight: 600;
  color: var(--sb-muted);
}

.sb-nav-utils a:hover {
  color: var(--sb-blue);
}

/* Sub header strip */
.book-subhead {
  padding: 16px 0 8px;
}

.book-subhead-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-subhead-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.book-back {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--sb-blue);
  border: 1px solid var(--border);
  background: var(--card);
}

.book-back:hover {
  background: var(--primary-50);
}

.book-subhead-titles {
  flex: 1;
  min-width: 0;
}

.book-page-title {
  margin: 0;
  font-size:17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.book-page-sub {
  margin: 2px 0 0;
  font-size:11px;
  color: var(--muted);
}

/* Stage with side banners */
.book-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding-bottom: 32px;
}

@media (min-width: 1180px) {
  .book-stage {
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    gap: 16px;
    max-width: 1520px;
    margin-inline: auto;
    padding-inline: 12px;
  }
}

.book-stage-main {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  min-width: 0;
}

@media (min-width: 961px) {
  .book-stage-main {
    padding-bottom: 24px;
  }
}

.book-ad--side {
  display: none;
}

@media (min-width: 1180px) {
  .book-ad--side {
    display: block;
    position: sticky;
    top: 84px;
    padding-top: 4px;
  }
}

.book-ad-slot {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px dashed #cbd5e1;
  background: linear-gradient(165deg, #f8fafc, #e8eef8);
  min-height: 520px;
  text-decoration: none;
  color: var(--muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.book-ad-slot:hover {
  border-color: var(--sb-blue);
  box-shadow: var(--shadow);
}

.book-ad-slot.has-image {
  border-style: solid;
  border-color: transparent;
  min-height: 0;
}

.book-ad-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 480px;
  object-fit: cover;
}

.book-ad-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px 12px;
  min-height: 520px;
  font-size:11px;
  line-height: 1.4;
}

.book-ad-ph i {
  font-size:31px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.book-ad-ph strong {
  font-size:12px;
  color: var(--ink);
}

.book-ad-ph code {
  font-size:9px;
  background: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.book-ad-slot.has-image .book-ad-ph {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hold-pill {
  font-size:11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--accent);
  color: var(--primary-700);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.hold-pill.urgent {
  background: #fff;
  color: var(--err);
}

/* Trip summary */
.trip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.trip-route {
  margin: 0 0 4px;
  font-size:17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trip-sub {
  margin: 0;
  font-size:12px;
  color: var(--muted);
}

.trip-facts {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trip-facts li {
  font-size:11px;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 8px;
}

/* Stepper */
.stepper {
  margin: 0 0 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow);
}

.stepper-track {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}

.stepper-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.stepper-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size:10px;
  font-weight: 700;
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--muted);
}

.step-node.on .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-node.done .step-dot {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary);
}

.step-label {
  font-size:9px;
  font-weight: 500;
  color: var(--muted);
}

.step-node.on .step-label {
  color: var(--ink);
  font-weight: 600;
}

.step-node.done {
  cursor: pointer;
}

.step-node.done .step-dot {
  cursor: pointer;
}

.step-node:not(.on):not(.done) {
  opacity: 0.85;
}

@media (min-width: 640px) {
  .step-label {
    font-size:10px;
  }
}

/* Layout */
.book-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
  padding-top: 8px;
}

@media (max-width: 960px) {
  .book-layout {
    grid-template-columns: 1fr;
  }
}

.sheet {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.sheet-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sheet-head-row .deck-tabs {
  margin-bottom: 0;
  min-width: 200px;
}

.sheet[hidden] {
  display: none !important;
}

.sheet-head {
  margin-bottom: 16px;
}

.sheet-head h2 {
  margin: 0 0 4px;
  font-size:15px;
  font-weight: 700;
}

.sheet-desc {
  margin: 0;
  font-size:12px;
  color: var(--muted);
}

.sheet-desc-muted {
  font-weight: 500;
  color: var(--muted);
}

.seat-selected-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 14px;
  background: var(--primary-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  white-space: nowrap;
}

.seat-selected-label {
  font-size:10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seat-selected-pill strong {
  font-size:19px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.seat-selected-cap {
  font-size:11px;
  font-weight: 600;
  color: var(--muted);
}

.field-group-title {
  margin: 0 0 10px;
  font-size:12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-group-title i {
  color: var(--primary);
  font-size:12px;
}

.field-group-title:not(:first-of-type) {
  margin-top: 20px;
}

/* Deck + legend */
.deck-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.deck-tabs button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size:12px;
  font-weight: 600;
  color: var(--muted);
}

.deck-tabs button.on {
  background: var(--card);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 30, 54, 0.08);
}

.seat-legend {
  list-style: none;
  margin: 0 0 10px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #cbd5e1;
  font-size:10px;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 480px) {
  .seat-legend {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 479px) {
  .seat-legend {
    grid-template-columns: repeat(3, 1fr);
  }
}

.seat-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1.5px solid transparent;
}

.dot.av {
  background: #f0fdf4;
  border-color: #15803d;
  border-width: 2px;
}

.dot.br {
  background: #eff6ff;
  border-color: #1d4ed8;
  border-width: 2px;
  border-radius: 3px;
  height: 16px;
  width: 12px;
}

.dot.sl {
  background: var(--accent);
  border-color: var(--accent-800);
}

.dot.bk {
  background: #ebf1f8;
  border-color: #b8cfe5;
}

.dot.ld {
  background: #fef3c7;
  border-color: #d97706;
}

.selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.selected-chips .chip {
  font-size:10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--accent-50);
  border: 1px solid var(--accent);
  color: var(--accent-800);
}

.bus-shell-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
  background: #e8eef6;
  border-radius: var(--radius-lg);
  border: 1px solid #cbd5e1;
}

.bus-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 10px 8px 12px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.bus-shell:has(.deck-dual) {
  width: min(100%, 760px);
}

.bus-front {
  text-align: center;
  font-size:9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 6px;
}

.bus-front i {
  display: block;
  font-size:15px;
  margin-bottom: 2px;
  color: var(--primary);
}

/* Seat map SVG tiles */
.deck-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  align-items: start;
}

.deck-pane {
  min-width: 0;
  padding: 6px 4px 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.deck-map-title {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--mute);
}

.deck-cols {
  display: grid;
  grid-template-columns: 1fr 26px 1fr;
  font-size:9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 4px;
  opacity: 0.85;
}

.seat-map {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.map-row {
  display: grid;
  grid-template-columns: 1fr 26px 1fr;
  margin-bottom: 0;
  min-height: var(--row-h, 40px);
}

.map-row.map-row-sleeper {
  min-height: var(--row-h, 46px);
  align-items: stretch;
}

.map-side {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.map-side-end {
  justify-content: flex-end;
}

.map-side-start {
  justify-content: flex-start;
}

.map-side-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1px;
}

.map-side-inner.cols-3 {
  gap: 0;
}

.map-side-inner.cols-3 .seat-tile {
  --seat-w: 32px;
  padding: 0;
}

.map-side-inner.align-top {
  align-items: flex-start;
}

.map-aisle {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.aisle-line {
  width: 3px;
  height: 92%;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-radius: 99px;
  margin: auto;
}

.aisle-line.tall {
  height: calc(var(--row-h, 58px) + 8px);
}

.map-side .sleeper-cols {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.map-side:has(.sleeper-cols + .sleeper-cols) {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
}

.seat-tile {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: none;
  background: transparent;
  padding: 0 1px;
  width: var(--seat-w, 36px);
  cursor: pointer;
  transition: transform 0.12s ease;
}

.seat-tile:not(:disabled):hover {
  transform: scale(1.04);
}

.seat-tile:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.seat-svg-wrap {
  position: relative;
  width: var(--seat-w, 36px);
  height: var(--seat-svg-h, 32px);
  line-height: 0;
  background: transparent;
}

.seat-svg-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.seat-x {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: calc(var(--seat-w, 40px) * 0.28);
  color: var(--muted);
  pointer-events: none;
}

.seat-lbl {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
  letter-spacing: -0.02em;
}

.seat-tile.is-sleeper .seat-lbl {
  color: #1e40af;
}

.seat-tile.is-seater .seat-lbl {
  color: #166534;
}

.seat-tile.is-booked .seat-lbl {
  color: var(--muted);
}

.seat-tile.is-selected .seat-lbl {
  color: var(--accent-800);
}

.seat-facility {
  width: 44px;
  height: 44px;
  margin: 0 2px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--primary-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size:7px;
  color: var(--muted);
}

.bus-rear {
  margin-top: 8px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size:8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Points */
.point-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.point-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s;
}

.point-card:hover {
  border-color: var(--primary);
}

.point-card.on {
  border-color: var(--primary);
  background: var(--primary-50);
}

.point-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
}

.point-card.on .point-radio {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 4px var(--primary);
}

.point-body strong {
  display: block;
  font-size:13px;
  font-weight: 600;
}

.point-body small {
  font-size:11px;
  color: var(--muted);
}

/* Forms */
.passenger-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pass-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg);
}

.pass-block h3 {
  margin: 0 0 12px;
  font-size:12px;
  font-weight: 600;
}

.pass-block h3 span {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size:9px;
  font-weight: 700;
}

.field-row {
  display: grid;
  gap: 10px;
}

@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 80px 100px;
  }
}

.field label {
  display: block;
  font-size:11px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}

.field label .opt {
  font-weight: 400;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size:13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 78, 137, 0.12);
}

.contact-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 520px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Review + pay */
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 14px;
  margin-bottom: 14px;
  background: var(--bg);
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size:12px;
  border-bottom: 1px solid var(--border);
}

.review-row:last-child {
  border-bottom: none;
}

.review-row span:first-child {
  color: var(--muted);
}

.coupon-field {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.coupon-field input {
  flex: 1;
}

.pay-method {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.pay-method-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-badge {
  font-size:12px;
  font-weight: 700;
  color: #2962ff;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.pay-method-row strong {
  display: block;
  font-size:13px;
}

.pay-method-row span {
  font-size:11px;
  color: var(--muted);
}

.fine-print {
  margin: 12px 0 0;
  font-size:11px;
  color: var(--muted);
  line-height: 1.5;
}

/* Buttons */
.btn {
  border: none;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size:13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  background: var(--pay);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 87, 34, 0.28);
}

.btn-accent:hover:not(:disabled) {
  filter: brightness(1.04);
}

.btn-ghost {
  background: var(--card);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-block {
  width: 100%;
}

.sheet-actions {
  display: flex;
  gap: 10px;
  padding: 4px 0 8px;
  flex-wrap: wrap;
}

.sheet-actions #btnNext {
  margin-left: auto;
  min-width: min(100%, 240px);
}

.checkout-continue {
  margin-top: 14px;
}

@media (max-width: 960px) {
  .checkout-continue {
    display: none;
  }
}

/* Checkout rail */
.checkout-rail {
  position: sticky;
  top: 88px;
}

.checkout-card-sticky {
  box-shadow: var(--shadow);
}

.checkout-trust {
  margin: 14px 0 0;
  font-size:10px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-trust i {
  color: var(--ok);
}

@media (max-width: 960px) {
  .checkout-rail {
    display: none;
  }
}

.checkout-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.checkout-title {
  margin: 0 0 14px;
  font-size:13px;
  font-weight: 700;
}

.fare-lines {
  margin: 0;
}

.fare-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size:12px;
}

.fare-line dt {
  color: var(--muted);
  font-weight: 400;
}

.fare-line dd {
  margin: 0;
  font-weight: 600;
}

.fare-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size:12px;
}

.fare-total strong {
  font-size:19px;
  font-weight: 700;
  color: var(--primary);
}

.checkout-seats {
  margin: 12px 0 0;
  font-size:11px;
  color: var(--muted);
  line-height: 1.45;
}

.inline-note {
  font-size:11px;
  color: var(--accent-800);
  margin-top: 10px;
}

.form-error {
  font-size:12px;
  color: var(--err);
  background: #ffeeee;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 10px 0;
}

.form-error[hidden] {
  display: none !important;
}

/* Success */
.sheet-success {
  text-align: center;
  padding: 32px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e6f9f0;
  display: grid;
  place-items: center;
  color: var(--ok);
  font-size:31px;
}

.success-pnr {
  font-size:16px;
  font-weight: 700;
  margin: 8px 0;
}

.success-amt {
  color: var(--muted);
  margin-bottom: 16px;
}

/* Dock (mobile) */
.dock {
  display: none;
}

@media (max-width: 960px) {
  .dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0, 30, 54, 0.06);
  }

  .dock-fare strong {
    display: block;
    font-size:17px;
    font-weight: 700;
    line-height: 1.1;
  }

  .dock-fare span {
    font-size:10px;
    color: var(--muted);
  }

  .dock .btn {
    min-width: 128px;
  }
}

.loading-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}

.loading-state i {
  display: block;
  font-size:23px;
  color: var(--primary);
  margin-bottom: 10px;
}
