/*
 * RideSoho task 557: the three-step booking flow (Enter trip > Choose a
 * Vehicle > Review & Book) and the Extras rows Quiet Cabin / Cabin
 * Temperature, on the public booking form (.gt-flow--public), the rider's
 * dashboard (.gt-flow--dashboard) and Confirm your ride (.gt-flow--confirm).
 * public/js/site/booking-flow.js adds the body classes.
 *
 * Theme tokens only. The selected state is the brand's own accent, solid;
 * surfaces stay white. No hard-coded light red: the chosen Warm is the
 * accent's light tint, the chosen Cool the theme's info (blue) tint.
 * Key / value rule: labels grey 11-12.5px 400, values dark 14-15px 400-500.
 */
.gt-flow--public {
    --flow-accent: var(--gt-accent); --flow-on: var(--gt-accent-ink, #fff); --flow-ink: var(--gt-ink); --flow-muted: var(--gt-muted);
    --flow-line: var(--gt-line); --flow-surface: var(--gt-bg, #fff); --flow-cool: var(--gt-info-soft, #e8efff); --flow-cool-ink: var(--gt-info, #1d4ed8);
    --flow-tint: color-mix(in srgb, var(--gt-accent) 12%, var(--gt-bg, #fff));
}
.gt-flow--dashboard, .gt-flow--confirm {
    --flow-accent: var(--gtr-accent-solid, rgb(var(--gt-accent-rgb, 15, 107, 69))); --flow-on: #fff;
    --flow-ink: var(--gtr-ink, var(--gtp-ink, #101410)); --flow-muted: var(--gtr-muted, var(--gtp-ink-3, #555));
    --flow-line: var(--gtp-line, var(--gt-line, #e4e7ec)); --flow-surface: var(--gtp-surface, #fff);
    --flow-cool: var(--gt-info-soft, #e8efff); --flow-cool-ink: var(--gt-info, #1d4ed8);
    --flow-tint: rgba(var(--gt-accent-rgb, 15, 107, 69), .10);
}
.gt-flow { --flow-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -12px rgba(16, 24, 40, .18); --flow-radius: 14px; }

/* ---- Step 1: the ASAP | Reserve | Hourly pill -------------------------- */
.gt-flow .gt-wm-seg, .gt-flow .gt-rm-seg { border-radius: 999px; padding: 4px; gap: 4px; }
.gt-flow .gt-wm-seg .gt-wm-opt, .gt-flow .gt-rm-opt { border-radius: 999px; min-height: 44px; padding: 6px 12px; }
.gt-flow .gt-wm-opt small, .gt-flow .gt-rm-opt small { display: none; }
.gt-flow .gt-wm-opt b, .gt-flow .gt-rm-opt b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.gt-flow .gt-flow-ico { flex: none; }
.gt-flow .gt-wm-seg .gt-wm-opt:has(input:checked), .gt-flow .gt-rm-opt:has(input:checked) {
    background: var(--flow-accent); color: var(--flow-on); box-shadow: none;
}
.gt-flow .gt-wm-opt:has(input:focus-visible), .gt-flow .gt-rm-opt:has(input:focus-visible) { outline: 2px solid var(--flow-ink); outline-offset: 2px; }

/* ---- Step 2: Choose a Vehicle ------------------------------------------ */
/* Public form cards: white, soft shadow, the chosen one ringed 1px with a filled check in the corner. */
.gt-flow--public .service-select-card { border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow); }
.gt-flow--public .service-select-card.selected { border-color: var(--flow-accent); background: var(--flow-surface); }
.gt-flow--public .service-select-card.selected::after,
.gt-flow--dashboard .service-item:has(input[name="service_type"]:checked)::after {
    content: ""; position: absolute; top: 8px; inset-inline-end: 8px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--flow-accent) center / 12px 12px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.2 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    pointer-events: none;
}
.gt-flow--public .service-select-card-title { font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gt-flow--public .service-price-button.selected { background: var(--flow-surface); border-color: var(--flow-accent); }
/* The price, with "All-In" (or the hourly rate and minimum) under it. */
.gt-flow--public .service-price-value::after,
.gt-flow--dashboard .service-price__value::after {
    content: var(--gt-flow-caption, "All-In"); display: block; margin-top: 1px;
    font-size: 11.5px; line-height: 1.3; font-weight: 400; color: var(--flow-muted); white-space: normal;
}
/* Rider dashboard rows. */
.gt-flow--dashboard .service-item { border-radius: var(--flow-radius); box-shadow: var(--flow-shadow); background: var(--flow-surface); }
.gt-flow--dashboard .service-item.selected,
.gt-flow--dashboard .service-item:has(input[name="service_type"]:checked) {
    border-color: var(--flow-accent); box-shadow: var(--flow-shadow); background: var(--flow-surface);
}
.gt-flow--dashboard .service-price__cap { display: none; }
.gt-flow--dashboard .service-price { padding-inline-end: 22px; text-align: end; }

/* ---- The step buttons: one full-width pill at the bottom on a phone ------ */
.gt-flow--public .gt-bf-actions .gt-btn--primary,
.gt-flow--dashboard .dashboard-continue,
.gt-flow--confirm .gtr-actions .gtr-btn--primary { border-radius: 999px; min-height: 48px; }
@media (max-width: 575px) {
    /* Step 1 has no Back: its one button takes the bar (the site's rule keeps it at its text width). */
    .gt-flow--public .gt-bf .gt-bf-actions.gt-bf-actions--sticky.gt-bf-actions--quote > span { display: none; }
    .gt-flow--public .gt-bf .gt-bf-actions.gt-bf-actions--sticky.gt-bf-actions--quote .gt-btn--primary { flex: 1 1 auto; justify-content: center; }
}

/* ---- Step 3: Review & Book ---------------------------------------------- */
.gt-flow--confirm .gtr-fare__row--total .gtr-fare__label { font-size: 12.5px; font-weight: 500; color: var(--flow-muted); text-transform: none; letter-spacing: 0; }

/* ---- Extras: Quiet Cabin and Cabin Temperature ---------------------------- */
.gt-flow-cabin { display: grid; gap: 10px; min-width: 0; }
.gt-flow-xrow {
    display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; min-width: 0;
    border: 1px solid var(--flow-line, #e4e7ec); border-radius: var(--flow-radius, 14px); background: var(--flow-surface, #fff);
    box-shadow: var(--flow-shadow, none);
}
.gt-flow-xrow__icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--flow-tint); color: var(--flow-ink); }
.gt-flow-xrow__text { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.gt-flow-xrow__title { margin: 0; font-size: 14.5px; line-height: 1.3; font-weight: 600; color: var(--flow-ink); overflow-wrap: anywhere; }
.gt-flow-xrow__note { font-size: 12px; line-height: 1.35; font-weight: 400; color: var(--flow-muted); }
.gt-flow-switch {
    flex: none; appearance: none; -webkit-appearance: none; position: relative; width: 48px; height: 28px; margin: 0;
    border-radius: 999px; background: var(--flow-line, #d3d9e1); cursor: pointer; transition: background .16s ease;
}
/* The 28px track sits in a 44px touch target. */
.gt-flow-switch::before { content: ""; position: absolute; inset: -8px 0; }
.gt-flow-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .3); transition: transform .16s ease; }
.gt-flow-switch:checked { background: var(--flow-accent); }
.gt-flow-switch:checked::after { transform: translateX(20px); }
[dir="rtl"] .gt-flow-switch:checked::after { transform: translateX(-20px); }
.gt-flow-switch:focus-visible { outline: 2px solid var(--flow-ink); outline-offset: 2px; }
.gt-flow-temp { flex: none; display: inline-flex; gap: 6px; }
.gt-flow-temp__opt {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 76px; min-height: 44px; padding: 0 12px;
    border: 1px solid var(--flow-line, #e4e7ec); border-radius: 999px; background: var(--flow-surface, #fff);
    font: inherit; font-size: 13.5px; font-weight: 500; color: var(--flow-ink); cursor: pointer;
}
.gt-flow-temp__opt:focus-visible { outline: 2px solid var(--flow-ink); outline-offset: 2px; }
.gt-flow-temp__opt--cool[aria-pressed="true"] { background: var(--flow-cool); border-color: var(--flow-cool-ink); color: var(--flow-cool-ink); }
.gt-flow-temp__opt--warm[aria-pressed="true"] { background: var(--flow-tint); border-color: var(--flow-accent); color: var(--flow-ink); }
@media (max-width: 420px) {
    .gt-flow-xrow--choice { flex-wrap: wrap; }
    .gt-flow-xrow--choice .gt-flow-temp { flex: 1 1 100%; }
    .gt-flow-xrow--choice .gt-flow-temp__opt { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) { .gt-flow-switch, .gt-flow-switch::after { transition: none; } }
/* The Extras row's second line for the cabin choices (Confirm your ride). */
.gt-flow-cabin-line { display: block; font-size: 12.5px; font-weight: 400; color: var(--flow-muted); }
.gt-flow-cabin-line[hidden] { display: none; }
/* The public form's Extras section sits on the details grid. */
.gt-flow--public #sec-cabin .gt-flow-cabin { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ======================================================================
   Task 557 follow-up: the rest of the mock-ups (presentation only).
   ====================================================================== */
.gt-flow { --flow-blue: var(--gt-info-soft, #e8efff); --flow-blue-ink: var(--gt-info, #1d4ed8); }
.gt-flow-locked { overflow: hidden; }
.gt-flow-card {
    display: grid; gap: 12px; min-width: 0; padding: 16px; margin: 0;
    border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow);
}
.gt-flow-card[hidden], .gt-flow-info[hidden], .gt-flow-when__row[hidden] { display: none !important; }
.gt-flow-card__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--flow-ink); }
.gt-flow-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
    border: 0; border-radius: 999px; background: var(--flow-accent); color: var(--flow-on);
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.gt-flow-pill:disabled { opacity: .45; cursor: not-allowed; }
.gt-flow-pill:focus-visible, .gt-flow-back:focus-visible, .gt-flow-cal__nav:focus-visible, .gt-flow-cal__day:focus-visible,
.gt-flow-fact:focus-visible, .gt-flow-xrow-open:focus-visible, .gt-flow-stepper__btn:focus-visible { outline: 2px solid var(--flow-ink); outline-offset: 2px; }
.gt-flow-back {
    flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; margin: 0; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--flow-ink); cursor: pointer;
}
.gt-flow-back:hover { background: var(--flow-tint); }

/* ---- Select Date & Time / Hourly Details --------------------------------- */
.gt-flow-when { grid-column: 1 / -1; }
.gt-flow-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gt-flow-cal__month { font-size: 14.5px; font-weight: 600; color: var(--flow-ink); }
.gt-flow-cal__nav {
    width: 44px; height: 44px; display: inline-grid; place-items: center; margin: 0; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--flow-ink); cursor: pointer;
}
.gt-flow-cal__nav:disabled { opacity: .3; cursor: default; }
.gt-flow-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; justify-items: center; }
.gt-flow-cal__dow { font-size: 11.5px; font-weight: 500; color: var(--flow-muted); line-height: 28px; }
.gt-flow-cal__day {
    width: 44px; height: 44px; max-width: 100%; display: inline-grid; place-items: center; margin: 0; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--flow-ink);
    font: inherit; font-size: 14px; font-weight: 400; cursor: pointer;
}
.gt-flow-cal__day:hover:not(:disabled) { background: var(--flow-tint); }
.gt-flow-cal__day:disabled { color: var(--flow-muted); opacity: .45; cursor: default; }
.gt-flow-cal__day[aria-pressed="true"], .gt-flow-cal__day[aria-pressed="true"]:hover:not(:disabled) { background: var(--flow-accent); color: var(--flow-on); font-weight: 600; }
.gt-flow-when__rows { display: grid; border-top: 1px solid var(--flow-line); }
.gt-flow-when__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin: 0; border-bottom: 1px solid var(--flow-line); }
.gt-flow-when__row:last-child { border-bottom: 0; }
.gt-flow-when__label { font-size: 12.5px; font-weight: 400; color: var(--flow-muted); }
.gt-flow-when__value { font-size: 14.5px; font-weight: 500; color: var(--flow-ink); }
.gt-flow-select {
    min-width: 136px; max-width: 60%; min-height: 44px; padding: 0 32px 0 12px;
    border: 1px solid var(--flow-line); border-radius: 10px; background: var(--flow-surface); color: var(--flow-ink);
    font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
}
.gt-flow-select:disabled { opacity: .5; cursor: not-allowed; }
.gt-flow-select:focus-visible { outline: 2px solid var(--flow-ink); outline-offset: 1px; }

/* ---- the Hourly info card: theme-light (neutral blue) surface ------------- */
.gt-flow-info {
    grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
    border-radius: var(--flow-radius); background: var(--flow-blue); color: var(--flow-blue-ink);
}
.gt-flow-info > svg { flex: none; margin-top: 1px; }
.gt-flow-info__text { display: grid; gap: 2px; min-width: 0; }
.gt-flow-info__lead { margin: 0; font-size: 14px; font-weight: 400; color: var(--flow-ink); }
.gt-flow-info__lead b { font-weight: 700; }
.gt-flow-info__line { margin: 0; font-size: 12.5px; color: var(--flow-muted); }
.gt-flow-info__lead[hidden], .gt-flow-info__line[hidden] { display: none; }

/* ---- the route card (public form) ----------------------------------------- */
.gt-flow--public .gt-bf .gt-trip.gt-flow-route {
    position: relative; display: flex; flex-direction: column; gap: 0; padding: 4px 16px;
    border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow);
}
.gt-flow--public .gt-flow-route > .gt-trip-swap { display: none; }
.gt-flow--public .gt-flow-route .gt-trip-end, .gt-flow--public .gt-flow-route .gt-trip-stop { padding: 10px 0; }
.gt-flow--public .gt-flow-route > #address1-field { border-bottom: 1px solid var(--flow-line); }
.gt-flow--public .gt-flow-route .gt-trip-no { display: none; }
.gt-flow--public .gt-flow-route .gt-trip-head { margin: 0 0 4px 44px; }
.gt-flow--public .gt-bf .gt-flow-route .gt-trip-title { font-size: 12px; font-weight: 400; color: var(--flow-muted); }
.gt-flow--public .gt-flow-route .gt-control--place { border: 0; box-shadow: none; background: transparent; }
.gt-flow--public .gt-flow-route .gt-control-icon { width: 32px; min-width: 32px; justify-content: center; background: transparent; border: 0; }
.gt-flow--public .gt-flow-route .gt-control-icon--pickup { color: var(--flow-accent); }
.gt-flow--public .gt-flow-route .gt-control-icon--drop { color: var(--flow-ink); }
.gt-flow--public .gt-flow-route .booking-stop-badge { color: transparent; font-size: 0; position: relative; }
.gt-flow--public .gt-flow-route .booking-stop-badge::after { content: ""; width: 12px; height: 12px; border: 2.5px solid var(--flow-muted); border-radius: 50%; }
/* Stops: one per row, between the ends; "+" round on the divider before the drop-off. */
.gt-flow--public .gt-bf .gt-flow-route #stops-field { display: flex; flex-direction: column; gap: 0; position: relative; min-height: 0; border-bottom: 1px solid var(--flow-line); }
.gt-flow--public .gt-bf .gt-flow-route #stops-field > .gt-trip-stop { border-bottom: 1px solid var(--flow-line); }
.gt-flow--public .gt-bf .gt-flow-route #stops-field > .gt-trip-stop:last-of-type { border-bottom: 0; }
.gt-flow--public .gt-bf .gt-flow-route #stops-field > .gt-addstop {
    position: absolute; inset-inline-end: 4px; bottom: -18px; z-index: 2; width: 36px; height: 36px; min-height: 0; padding: 0; margin: 0;
    display: inline-grid; place-items: center; border: 1px solid var(--flow-line); border-radius: 50%;
    background: var(--flow-surface); color: var(--flow-ink); box-shadow: var(--flow-shadow);
}
/* A 44px target around the 36px circle. */
.gt-flow--public .gt-bf .gt-flow-route #stops-field > .gt-addstop::before { content: ""; position: absolute; inset: -4px; }
.gt-flow--public .gt-bf .gt-flow-route #stops-field > .gt-addstop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gt-flow--public .gt-bf .gt-flow-route #stops-field > .gt-addstop svg { width: 16px; height: 16px; }
.gt-flow--public .gt-flow-route > #address1-field:has(+ #stops-field) { border-bottom: 0; }
/* The dotted rail joining the icons when there are stops. */
.gt-flow--public .gt-flow-route.has-stops::before {
    content: ""; position: absolute; inset-inline-start: var(--flow-rail-x, 31px); top: 54px; bottom: 54px;
    border-inline-start: 2px dotted var(--flow-muted); pointer-events: none;
}

/* ---- Choose a Vehicle: the hourly rate is the price ---------------------- */
.gt-flow--public .service-select-card.gt-flow-rate .service-price-value,
.gt-flow--dashboard .service-item.gt-flow-rate .service-price__value { font-size: 0 !important; }
.gt-flow--public .service-select-card.gt-flow-rate .service-price-value::before,
.gt-flow--dashboard .service-item.gt-flow-rate .service-price__value::before {
    content: var(--gt-flow-price); display: block; font-size: 15px; font-weight: 700; color: var(--flow-ink); line-height: 1.25;
}
.gt-flow--public .service-select-card.gt-flow-rate .service-price-value::after,
.gt-flow--dashboard .service-item.gt-flow-rate .service-price__value::after { font-size: 11.5px; }
.gt-flow--public .service-select-card.gt-flow-rate .service-price-was,
.gt-flow--dashboard .service-item.gt-flow-rate .service-price__was { display: none; }

/* ---- Review & Book --------------------------------------------------------- */
.gt-flow-review { grid-column: 1 / -1; padding: 6px 16px 16px; gap: 0; }
.gt-flow-facts { display: grid; }
.gt-flow-fact {
    display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 10px 0;
    border: 0; border-bottom: 1px solid var(--flow-line); background: transparent; color: inherit; font: inherit; text-align: start;
}
button.gt-flow-fact { cursor: pointer; align-items: center; }
.gt-flow-fact--tint { margin: 6px -8px; padding: 10px 8px; width: calc(100% + 16px); border-radius: 10px; border-bottom: 0; background: var(--flow-tint); }
.gt-flow-fact__icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--flow-tint); color: var(--flow-ink); }
.gt-flow-fact--tint .gt-flow-fact__icon { background: var(--flow-surface); }
.gt-flow-fact__say { flex: 1 1 auto; display: grid; gap: 1px; min-width: 0; }
.gt-flow-fact__label { font-size: 11.5px; font-weight: 400; line-height: 1.35; color: var(--flow-muted); }
.gt-flow-fact__value { font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--flow-ink); overflow-wrap: anywhere; }
.gt-flow-fact__chev { flex: none; color: var(--flow-muted); display: inline-grid; place-items: center; width: 24px; }
.gt-flow-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 10px; border-bottom: 1px solid var(--flow-line); }
.gt-flow-total__label { font-size: 13px; font-weight: 500; color: var(--flow-muted); }
.gt-flow-total__value { font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--flow-ink); font-variant-numeric: tabular-nums; }
.gt-flow-pay { border-bottom: 0; }

/* ---- Extras: the full-screen panel and its cards (public form) ------------ */
.gt-flow-xrow-open {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 0; padding: 10px 14px;
    border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow);
    font: inherit; color: inherit; text-align: start; cursor: pointer;
}
.gt-flow-xrow-open .gt-flow-xrow__note[hidden] { display: none; }
/* Closed: out of sight but laid out, so the form's validation still reads its fields. */
.gt-flow-xpanel { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: stretch; justify-content: center; background: rgba(16, 24, 40, .45); }
.gt-flow-xpanel[data-open="false"] { visibility: hidden; opacity: 0; pointer-events: none; }
.gt-flow-xpanel__sheet { display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: 100%; background: var(--flow-surface); }
@media (min-width: 768px) {
    .gt-flow-xpanel { align-items: center; padding: 24px; }
    .gt-flow-xpanel__sheet { max-height: calc(100vh - 48px); border-radius: 18px; box-shadow: 0 24px 56px -20px rgba(16, 24, 40, .4); }
}
.gt-flow-xpanel__head { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--flow-line); }
.gt-flow-xpanel__title { margin: 0; font-size: 17px; font-weight: 600; color: var(--flow-ink); }
.gt-flow-xpanel__body { flex: 1 1 auto; overflow-y: auto; display: grid; align-content: start; gap: 10px; padding: 16px; background: var(--flow-surface); }
.gt-flow-xpanel__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--flow-line); }
.gt-flow-xpanel__foot .gt-flow-pill { width: 100%; }
/* Inside: each moved section reads as cards. */
.gt-flow-xpanel #sec-options { padding: 0; border: 0; margin: 0; }
.gt-flow-xpanel #sec-options .gt-dsec-head { display: none; }
.gt-flow-xpanel #sec-options .gt-dsec-body { padding: 0; }
.gt-flow-xpanel .gt-ropts { display: grid; gap: 10px; }
.gt-flow-xpanel .gt-ropt:not([hidden]) {
    padding: 10px 14px; border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow);
}
.gt-flow-xpanel .gt-ropt-title { font-weight: 600; }
.gt-flow-xpanel .gt-ropt-badge { float: inline-end; margin-inline-start: 8px; font-weight: 700; background: transparent; color: var(--flow-ink); }
.gt-flow-xpanel #child-seats-field:not([hidden]) { display: grid; gap: 10px; }
.gt-flow-xpanel #child-seats-field .gt-seat:not([hidden]) {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px;
    border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow);
}
.gt-flow-xpanel #child-seats-field .gt-seat-name { font-weight: 600; color: var(--flow-ink); }
.gt-flow-xpanel #specialNote-field { width: 100%; max-width: none; flex: none; padding: 12px 14px; border: 1px solid var(--flow-line); border-radius: var(--flow-radius); box-shadow: var(--flow-shadow); }
.gt-flow-xpanel #specialNote-field .gt-label { font-weight: 600; color: var(--flow-ink); }
.gt-flow-xpanel #specialNote-field textarea { min-height: 84px; }
.gt-flow-xpanel #specialNote-field .gt-control-icon { display: none; }

/* ---- the rider's Extras sheet as cards (Confirm your ride) ----------------- */
.gt-flow--confirm #rs-options .rs-sheet__body { display: grid; gap: 10px; background: var(--flow-surface); }
.gt-flow--confirm #rs-options .rs-sheet__body > .rs-row,
.gt-flow--confirm #rs-options .rs-seats > .rs-row,
.gt-flow--confirm #rs-options .rs-count-row,
.gt-flow--confirm #rs-options .rs-note,
.gt-flow--confirm #rs-options .gt-flow-xrow {
    padding: 10px 14px; border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow);
}
.gt-flow--confirm #rs-options .rs-seats:not([hidden]) { display: grid; gap: 10px; }
.gt-flow--confirm #rs-options .rs-row--sub { margin: 0; }
.gt-flow--confirm #rs-options .rs-row__label { font-weight: 600; color: var(--flow-ink); }
.gt-flow--confirm #rs-options .rs-price { float: inline-end; margin-inline-start: 8px; font-weight: 700; color: var(--flow-ink); background: transparent; }
.gt-flow--confirm #rs-options .gt-flow-cabin { gap: 10px; }
.gt-flow--confirm #rs-options .rs-note label { font-weight: 600; color: var(--flow-ink); }
.gt-flow-hidden-control { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.gt-flow-stepper { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--flow-line); border-radius: 999px; background: var(--flow-surface); }
.gt-flow-stepper__btn {
    width: 40px; height: 40px; display: inline-grid; place-items: center; margin: 0; padding: 0;
    border: 0; border-radius: 50%; background: var(--flow-tint); color: var(--flow-ink); font: inherit; font-size: 18px; line-height: 1; cursor: pointer;
}
.gt-flow-stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.gt-flow-stepper__value { min-width: 24px; text-align: center; font-size: 15px; font-weight: 500; color: var(--flow-ink); font-variant-numeric: tabular-nums; }
.gt-flow--confirm .rs-sheet__done [data-options-total] { display: none; }
.gt-flow--confirm .rs-sheet__done { width: 100%; }
.gt-flow--confirm .gt-flow-review { margin-bottom: 16px; }

/* ---- the rider's dashboard: step 1 Enter trip, step 2 Choose a Vehicle ---- */
.gt-flow--dashboard .gt-flow-when, .gt-flow--dashboard .gt-flow-info { margin: 0 0 12px; }
.gt-flow-step1 { margin: 16px 0 0; }
.gt-flow-step1 .gt-flow-pill { width: 100%; }
.gt-flow-step2head { display: flex; align-items: center; gap: 4px; margin: 0 0 8px -8px; }
.gt-flow-step2head__title { margin: 0; font-size: 18px; font-weight: 600; color: var(--flow-ink); }
body.gt-flow--dashboard[data-flow-step="1"] .dashboard-booking-row .nav-tabs,
body.gt-flow--dashboard[data-flow-step="1"] .dashboard-booking-row .tab-content,
body.gt-flow--dashboard[data-flow-step="1"] .dashboard-booking-row .dashboard-actions,
body.gt-flow--dashboard[data-flow-step="1"] .gt-flow-step2head { display: none !important; }
body.gt-flow--dashboard[data-flow-step="2"] [data-gt-rider-modes],
body.gt-flow--dashboard[data-flow-step="2"] .dashboard-location-row,
body.gt-flow--dashboard[data-flow-step="2"] #booking-empty,
body.gt-flow--dashboard[data-flow-step="2"] .dashboard-route-tools,
body.gt-flow--dashboard[data-flow-step="2"] .gt-flow-when,
body.gt-flow--dashboard[data-flow-step="2"] .gt-flow-info,
body.gt-flow--dashboard[data-flow-step="2"] .gt-flow-step1 { display: none !important; }
/* The route: a card, the rail dotted, pickup in the brand colour, drop-off dark, "+ Add stop" round. */
.gt-flow--dashboard .dashboard-location-row { padding: 6px 12px; border: 1px solid var(--flow-line); border-radius: var(--flow-radius); background: var(--flow-surface); box-shadow: var(--flow-shadow); }
.gt-flow--dashboard .dashboard-location-row::before { width: 0; background: none; border-inline-start: 2px dotted var(--flow-muted); inset-inline-start: 39px; }
.gt-flow--dashboard #origin-field-wrapper .input-group-text { color: var(--flow-accent); }
.gt-flow--dashboard #destination-field-wrapper .input-group-text { color: var(--flow-ink); }
.gt-flow--dashboard .dashboard-route-tools #add-stop { border-radius: 999px; }
/* The Hours dropdown of the Hourly Details card replaces the stepper (same state, booking-modes-site.js setHours). */
.gt-flow [data-gt-web-modes] [data-gt-hours], .gt-flow [data-gt-rider-modes] [data-gt-hours] { display: none !important; }
@media (min-width: 768px) {
    .gt-flow--public .gt-flow-when { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); column-gap: 32px; align-items: start; }
    .gt-flow--public .gt-flow-when > .gt-flow-card__title { grid-column: 1 / -1; }
    .gt-flow--public .gt-flow-when > .gt-flow-cal__head, .gt-flow--public .gt-flow-when > .gt-flow-cal__grid { grid-column: 1; }
    .gt-flow--public .gt-flow-when > .gt-flow-when__rows { grid-column: 2; grid-row: 2 / span 2; border-top: 0; }
}
.gt-flow--public .gt-bf .gt-flow-route > * { width: 100%; max-width: none; flex: none; }
