/*
 * RideSoho task 533: the public booking form's Reserve / Hourly bar, the
 * Hours stepper and the hourly terms under a fare card
 * (public/js/site/booking-modes-site.js). Theme tokens only (gotaxi-site.css
 * :root); the selected tint is the brand's light colour, never a light red.
 */
.gt-wm { display: grid; gap: var(--gt-s3, 12px); }
.gt-wm-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; max-width: 420px; }
.gt-wm-seg .gt-wm-opt { min-height: 48px; padding: 6px 12px; }
.gt-wm-opt-text { display: grid; gap: 1px; text-align: center; line-height: 1.2; }
.gt-wm-opt-text b { font-size: var(--gt-fs-sm); font-weight: 600; color: inherit; }
.gt-wm-opt-text small { font-size: var(--gt-fs-xs); font-weight: 400; color: var(--gt-muted); }
.gt-wm-hours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.gt-wm-hours[hidden] { display: none; }
.gt-wm-hours .gt-label { margin: 0; }
.gt-wm-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--gt-line-2); border-radius: var(--gt-r-md, 12px); background: var(--gt-bg); }
.gt-wm-step { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: var(--gt-r-sm, 8px); background: var(--gt-accent-soft); color: var(--gt-ink); cursor: pointer; }
.gt-wm-step:hover:not(:disabled) { background: var(--gt-accent-line); }
.gt-wm-step:disabled { opacity: .4; cursor: not-allowed; }
.gt-wm-step:focus-visible { outline: 2px solid var(--gt-accent-deep); outline-offset: 2px; }
.gt-wm-hours-value { min-width: 40px; text-align: center; font-size: var(--gt-fs-lg); font-weight: 500; color: var(--gt-ink); font-variant-numeric: tabular-nums; }
.gt-wm-hint { font-size: var(--gt-fs-xs); color: var(--gt-muted); }
.gt-wm-note { margin: 0; font-size: var(--gt-fs-sm); color: var(--gt-warning); }
.gt-wm-note[hidden] { display: none; }
/* The hourly terms under a fare card: short lines, the server's own figures. */
.gt-wm-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gt-wm-terms[hidden] { display: none; }
.gt-wm-terms li { font-size: var(--gt-fs-xs); line-height: 1.4; color: var(--gt-text-2); overflow-wrap: anywhere; }
.gt-wm-terms li[data-line="rate"] { color: var(--gt-ink); font-weight: 500; }
/* No way back on an hourly booking: only the one-way price is offered. */
.gt-bf[data-gt-mode="hourly"] .service-price-button[data-trip-type="return_trip"],
.gt-bf[data-gt-mode="hourly"] .trip-type-native,
.gt-bf[data-gt-mode="hourly"] #return_date-field { display: none !important; }
@media (max-width: 575px) {
    .gt-wm-seg { max-width: none; }
}
