@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   TAXI BOOKING SUITE v2.4.0 — Shared Styles
   Schemes: .tb-scheme-light  (white & black — Transfeero style)
            .tb-scheme-dark   (dark — original)
   ============================================================ */

/* ── Light Scheme (default) ──────────────────────────────── */
.tb-scheme-light {
    --tb-bg:          #ffffff;
    --tb-surface:     #F9FAFB;
    --tb-border:      #0A0A0A;
    --tb-border-soft: #E5E7EB;
    --tb-text:        #0A0A0A;
    --tb-muted:       #6B7280;
    --tb-accent:      #0A0A0A;
    --tb-accent-fg:   #ffffff;
    --tb-accent-hov:  #1F2937;
    --tb-highlight:   #F3F4F6;
    --tb-selected:    #F9FAFB;
    --tb-focus-ring:  rgba(10,10,10,0.12);
    --tb-green:       #22C55E;
    --tb-green-bg:    #F0FDF4;
    --tb-green-text:  #166534;
    --tb-input-bg:    #F9FAFB;
    --tb-radius:      12px;
    --tb-radius-sm:   8px;
}

/* ── Dark Scheme ─────────────────────────────────────────── */
.tb-scheme-dark {
    --tb-bg:          #ffffff;
    --tb-surface:     #f4f4f4;
    --tb-border:      #1a1a1a;
    --tb-border-soft: #cccccc;
    --tb-text:        #111111;
    --tb-muted:       #666666;
    --tb-accent:      #111111;
    --tb-accent-fg:   #ffffff;
    --tb-accent-hov:  #333333;
    --tb-highlight:   #f0f0f0;
    --tb-selected:    #ebebeb;
    --tb-focus-ring:  rgba(17,17,17,0.15);
    --tb-green:       #22C55E;
    --tb-green-bg:    #F0FDF4;
    --tb-green-text:  #166534;
    --tb-input-bg:    #ffffff;
    --tb-radius:      10px;
    --tb-radius-sm:   8px;
}

/* ── Wrapper ─────────────────────────────────────────────── */
.taxi-booking-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--tb-text);
    background: var(--tb-bg);
    padding: 4px;
    box-sizing: border-box;
}

/* ── Suite Tabs ──────────────────────────────────────────── */
.taxi-suite-tabs {
    display: inline-flex;
    gap: 0;
    margin-bottom: 28px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-bottom: 2px solid var(--tb-border-soft);
    width: 100%;
}
.taxi-suite-tab {
    flex: 0 0 auto;
    padding: 12px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tb-muted);
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0;
    font-family: inherit;
}
.taxi-suite-tab:hover:not(.active) {
    color: var(--tb-text);
}
.taxi-suite-tab.active {
    background: transparent;
    color: var(--tb-text);
    border-bottom-color: var(--tb-accent);
    font-weight: 700;
}
.taxi-suite-panel { display: none; }
.taxi-suite-panel.active { display: block; }

/* ── Progress ────────────────────────────────────────────── */
.taxi-progress {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    gap: 0;
}
.taxi-progress-step {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tb-muted);
    background: var(--tb-bg);
    border-top: 2px solid var(--tb-border-soft);
    border-bottom: 2px solid var(--tb-border-soft);
    border-right: none;
    border-left: none;
    position: relative;
    transition: all 0.2s;
}
.taxi-progress-step:first-child {
    border-left: 2px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm) 0 0 var(--tb-radius-sm);
}
.taxi-progress-step:last-child {
    border-right: 2px solid var(--tb-border-soft);
    border-radius: 0 var(--tb-radius-sm) var(--tb-radius-sm) 0;
}
.taxi-progress-step + .taxi-progress-step {
    border-left: 1px solid var(--tb-border-soft);
}
.taxi-progress-step.active {
    background: var(--tb-accent);
    color: var(--tb-accent-fg);
    border-color: var(--tb-accent);
}
.taxi-progress-step.done {
    background: var(--tb-highlight);
    color: var(--tb-text);
}

/* ── Steps ───────────────────────────────────────────────── */
.taxi-step { display: none; }
.taxi-step.active { display: block; }
.taxi-step-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 24px;
    letter-spacing: -.5px;
    line-height: 1.2;
}

/* ── Fields — Transfeero style (label inside box) ────────── */
.taxi-field { margin-bottom: 10px; }

/* Label outside (default) */
.taxi-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--tb-muted);
    margin-bottom: 6px;
}

/* Inner label box style — used in light scheme */
.tb-scheme-light .taxi-field-box {
    background: var(--tb-input-bg);
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: text;
}
.tb-scheme-light .taxi-field-box:focus-within {
    border-color: var(--tb-accent);
    box-shadow: 0 0 0 3px var(--tb-focus-ring);
    background: var(--tb-bg);
}
.tb-scheme-light .taxi-field-box .taxi-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--tb-muted);
    margin-bottom: 3px;
}
.tb-scheme-light .taxi-field-box input,
.tb-scheme-light .taxi-field-box select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--tb-text);
    padding: 0;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

/* Standard inputs (dark scheme + fallback) */
.taxi-field input[type="text"],
.taxi-field input[type="email"],
.taxi-field input[type="tel"],
.taxi-field input[type="date"],
.taxi-field select,
.taxi-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    font-size: 15px;
    color: var(--tb-text);
    background: var(--tb-input-bg);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.taxi-field input:focus,
.taxi-field select:focus,
.taxi-field textarea:focus {
    outline: none;
    border-color: var(--tb-accent);
    box-shadow: 0 0 0 3px var(--tb-focus-ring);
}
.taxi-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.taxi-required { color: #e53e3e; }
.taxi-time-row { display: flex; gap: 6px; }
.taxi-time-row select { flex: 1; }
.taxi-time-row .taxi-ampm { flex: 0 0 72px; }

/* ── Transfeero-style field boxes ────────────────────────── */
.taxi-field-group {
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius);
    overflow: hidden;
    margin-bottom: 10px;
}
.taxi-field-group-item {
    padding: 14px 16px;
    background: var(--tb-input-bg);
    cursor: text;
    transition: background 0.15s;
}
.taxi-field-group-item:not(:last-child) {
    border-bottom: 1.5px solid var(--tb-border-soft);
}
.taxi-field-group-item:focus-within {
    background: var(--tb-bg);
}
.taxi-field-group-item .fgl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--tb-muted);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.taxi-field-group-item .fgl svg,
.taxi-field-group-item .fgl span.fgi {
    opacity: .5;
    font-size: 13px;
}
.taxi-field-group-item input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--tb-text);
    padding: 0;
    box-shadow: none;
    font-family: inherit;
    -webkit-appearance: none;
}
.taxi-field-group-item input::placeholder { color: var(--tb-muted); }

/* Date/time row inside field group */
.taxi-field-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.taxi-field-group-row .taxi-field-group-item:first-child {
    border-right: 1.5px solid var(--tb-border-soft);
    border-bottom: none !important;
}
.taxi-field-group-row .taxi-field-group-item:last-child {
    border-bottom: none !important;
}
.taxi-field-group-row .taxi-time-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--tb-text);
}
.taxi-field-group-row .taxi-time-inner select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--tb-text);
    padding: 0;
    font-family: inherit;
    -webkit-appearance: none;
    cursor: pointer;
}
.taxi-field-group-row .taxi-time-inner .sep { color: var(--tb-muted); }

/* ── Route info ──────────────────────────────────────────── */
.taxi-route-info {
    background: var(--tb-highlight);
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    padding: 12px 16px;
    margin-bottom: 16px;
}
.taxi-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 3px 0;
    color: var(--tb-muted);
}
.taxi-info-row strong { color: var(--tb-text); }

/* ── Buttons ─────────────────────────────────────────────── */
.taxi-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--tb-radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s;
    letter-spacing: .1px;
    text-align: center;
    font-family: inherit;
}
.taxi-btn-primary {
    background: var(--tb-accent);
    color: var(--tb-accent-fg);
    border-color: var(--tb-accent);
}
.taxi-btn-primary:hover:not(:disabled) {
    background: var(--tb-accent-hov);
    border-color: var(--tb-accent-hov);
    transform: translateY(-1px);
}
.taxi-btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.taxi-btn-secondary {
    background: transparent;
    color: var(--tb-text);
    border-color: var(--tb-border-soft);
}
.taxi-btn-secondary:hover { background: var(--tb-highlight); }
.taxi-btn-full { width: 100%; display: block; }
.taxi-step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px;
}

/* ── ADD RETURN ghost button ─────────────────────────────── */
.taxi-add-return-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1.5px dashed var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    color: var(--tb-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    letter-spacing: .3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: inherit;
}
.taxi-add-return-btn:hover {
    border-color: var(--tb-accent);
    color: var(--tb-text);
    background: var(--tb-highlight);
}

/* ── Vehicle Cards — Transfeero horizontal style ─────────── */
.taxi-vehicle-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}
.taxi-vehicle-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius);
    cursor: pointer;
    transition: all 0.15s;
    background: var(--tb-bg);
    position: relative;
}
.taxi-vehicle-card:hover {
    border-color: var(--tb-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.taxi-vehicle-card.selected {
    border-color: var(--tb-accent);
    border-width: 2px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.taxi-vehicle-card img {
    width: 100px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.taxi-vehicle-icon { font-size: 40px; flex-shrink: 0; }
.taxi-vehicle-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.taxi-vehicle-info strong {
    font-size: 16px;
    color: var(--tb-text);
    font-weight: 700;
}
.taxi-vehicle-type {
    font-size: 12px;
    color: var(--tb-muted);
    font-weight: 500;
}
.taxi-vehicle-meta {
    display: flex;
    gap: 14px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--tb-muted);
    flex-wrap: wrap;
    align-items: center;
}
.taxi-vehicle-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    min-width: 80px;
}
.taxi-vehicle-fare {
    font-size: 20px;
    font-weight: 800;
    color: var(--tb-text);
    line-height: 1;
}
.taxi-vehicle-fare-label {
    font-size: 11px;
    color: var(--tb-muted);
    margin-top: 2px;
}

/* Best Value badge */
.taxi-best-value {
    position: absolute;
    top: -1px;
    left: 16px;
    background: var(--tb-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0 0 6px 6px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Details button on vehicle card */
.taxi-vehicle-details-btn {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-size: 11px;
    color: var(--tb-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
}
.taxi-vehicle-details-btn:hover { color: var(--tb-text); }

/* No vehicles */
.taxi-no-vehicles {
    color: #dc2626;
    font-style: italic;
    padding: 12px 0;
}

/* ── Vehicle Detail Modal ────────────────────────────────── */
.taxi-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
.taxi-modal {
    background: var(--tb-bg);
    border-radius: 20px 20px 0 0;
    padding: 28px 24px 32px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.25s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.taxi-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: var(--tb-highlight);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-muted);
    line-height: 1;
}
.taxi-modal-close:hover { background: var(--tb-border-soft); color: var(--tb-text); }
.taxi-modal h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--tb-text);
}
.taxi-modal-subtitle {
    font-size: 13px;
    color: var(--tb-muted);
    margin-bottom: 20px;
}
.taxi-modal-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--tb-text);
    margin: 16px 0 10px;
}
.taxi-modal-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--tb-text);
    padding: 5px 0;
}
.taxi-modal-feature .ficon {
    font-size: 16px;
    width: 22px;
    text-align: center;
    color: var(--tb-muted);
    flex-shrink: 0;
}
.taxi-modal-included {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--tb-muted);
    padding: 5px 0;
}
.taxi-modal-included::before {
    content: '✓';
    color: var(--tb-green);
    font-weight: 700;
    flex-shrink: 0;
}
.taxi-modal-price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--tb-border-soft);
    font-size: 14px;
}
.taxi-modal-price-row:last-child { border-bottom: none; }
.taxi-modal-price-row.total {
    font-weight: 700;
    font-size: 16px;
    border-top: 2px solid var(--tb-text);
    border-bottom: none;
    margin-top: 4px;
    padding-top: 14px;
}
.taxi-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

/* ── Sticky bottom bar (vehicle selection) ───────────────── */
.taxi-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--tb-bg);
    border-top: 1.5px solid var(--tb-border-soft);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.taxi-sticky-bar-label {
    font-size: 13px;
    color: var(--tb-muted);
    font-weight: 500;
}
.taxi-sticky-bar-vehicle {
    font-size: 15px;
    font-weight: 700;
    color: var(--tb-text);
}
.taxi-sticky-bar .taxi-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    font-size: 15px;
}

/* ── Dynamic page sidebar layout ────────────────────────── */
.taxi-dynamic-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
.taxi-dynamic-main { min-width: 0; }
.taxi-dynamic-sidebar {
    position: sticky;
    top: 20px;
}
.taxi-booking-summary-card {
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius);
    padding: 20px;
    background: var(--tb-bg);
}
.taxi-booking-summary-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--tb-text);
}
.taxi-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--tb-border-soft);
    font-size: 13px;
    gap: 12px;
}
.taxi-summary-item:last-child { border-bottom: none; }
.taxi-summary-item .si-label { color: var(--tb-muted); white-space: nowrap; }
.taxi-summary-item .si-value { color: var(--tb-text); font-weight: 600; text-align: right; }
.taxi-summary-total-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0 0;
    margin-top: 4px;
    border-top: 2px solid var(--tb-text);
    font-size: 18px;
    font-weight: 800;
    color: var(--tb-text);
}
.taxi-trust-badges {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.taxi-trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--tb-muted);
    background: var(--tb-highlight);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--tb-border-soft);
    font-weight: 500;
}

/* ── Section dividers ────────────────────────────────────── */
.taxi-section-divider {
    display: flex;
    align-items: center;
    margin: 22px 0 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tb-muted);
    gap: 10px;
}
.taxi-section-divider::before,
.taxi-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--tb-border-soft);
}

/* ── Child Seats ─────────────────────────────────────────── */
.taxi-child-seats { display: flex; flex-direction: column; gap: 10px; }
.taxi-seat-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    padding: 12px 16px;
    background: transparent;
}
.taxi-seat-info { display: flex; align-items: center; gap: 12px; }
.taxi-seat-icon { font-size: 22px; }
.taxi-seat-info div { display: flex; flex-direction: column; gap: 1px; }
.taxi-seat-info strong { font-size: 14px; color: var(--tb-text); }
.taxi-seat-info span { font-size: 12px; color: var(--tb-muted); }
.taxi-qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    overflow: hidden;
}
.taxi-qty-btn {
    width: 36px;
    height: 36px;
    background: var(--tb-highlight);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--tb-text);
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.taxi-qty-btn:hover { background: var(--tb-border-soft); }
.taxi-qty-control input[type="number"] {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--tb-border-soft);
    border-right: 1.5px solid var(--tb-border-soft);
    font-size: 14px;
    font-weight: 700;
    color: var(--tb-text);
    padding: 0;
    height: 36px;
    background: var(--tb-bg);
    box-shadow: none;
    outline: none;
}

/* ── Return Trip Toggle ──────────────────────────────────── */
.taxi-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    gap: 16px;
    background: transparent;
}
.taxi-toggle-text { display: flex; flex-direction: column; gap: 2px; }
.taxi-toggle-text strong { font-size: 14px; color: var(--tb-text); }
.taxi-toggle-text span   { font-size: 12px; color: var(--tb-muted); }
.taxi-toggle-switch { position: relative; flex-shrink: 0; }
.taxi-toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.taxi-toggle-slider {
    display: block;
    width: 46px;
    height: 25px;
    background: var(--tb-border-soft);
    border-radius: 13px;
    cursor: pointer;
    transition: background .2s;
    position: relative;
}
.taxi-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.taxi-toggle-switch input:checked + .taxi-toggle-slider { background: var(--tb-accent); }
.taxi-toggle-switch input:checked + .taxi-toggle-slider::after { transform: translateX(21px); }

/* ── Return options ──────────────────────────────────────── */
.taxi-return-options { display: flex; gap: 10px; margin-bottom: 12px; }
.taxi-return-option-btn {
    flex: 1;
    padding: 10px;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--tb-muted);
    transition: all .15s;
    text-align: center;
    font-family: inherit;
}
.taxi-return-option-btn.active {
    border-color: var(--tb-accent);
    background: var(--tb-selected);
    color: var(--tb-text);
}
.taxi-return-note { font-size: 13px; color: var(--tb-muted); margin-top: 8px; }
.taxi-return-note strong { color: var(--tb-text); }

/* ── Duration Buttons ────────────────────────────────────── */
.taxi-duration-select { display: flex; flex-wrap: wrap; gap: 8px; }
.taxi-duration-btn {
    padding: 9px 18px;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: 40px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--tb-muted);
    transition: all .15s;
    font-family: inherit;
}
.taxi-duration-btn.active {
    border-color: var(--tb-accent);
    background: var(--tb-accent);
    color: var(--tb-accent-fg);
}
.taxi-duration-btn:hover:not(.active) {
    border-color: var(--tb-border);
    color: var(--tb-text);
}

/* ── Summary (review step) ───────────────────────────────── */
.taxi-summary {
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius);
    padding: 0 20px;
    margin-bottom: 20px;
    background: transparent;
}
.taxi-summary-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tb-muted);
    padding: 14px 0 6px;
    border-bottom: 1px solid var(--tb-border-soft);
}
.taxi-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--tb-highlight);
    font-size: 14px;
    gap: 12px;
}
.taxi-summary-row:last-child { border-bottom: none; }
.taxi-summary-row > span { color: var(--tb-muted); white-space: nowrap; }
.taxi-summary-row > strong { color: var(--tb-text); text-align: right; }
.taxi-summary-total {
    padding: 14px 0 !important;
    border-top: 2px solid var(--tb-border-soft) !important;
    border-bottom: none !important;
}
.taxi-summary-total > strong { font-size: 22px; font-weight: 800; color: var(--tb-text); }

/* ── Fare display ────────────────────────────────────────── */
.taxi-fare-breakdown {
    background: var(--tb-highlight);
    border-radius: var(--tb-radius-sm);
    padding: 14px 16px;
    margin-top: 14px;
}
.taxi-fare-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    color: var(--tb-muted);
}
.taxi-fare-row.total {
    font-size: 16px;
    font-weight: 800;
    color: var(--tb-text);
    border-top: 1.5px solid var(--tb-border-soft);
    margin-top: 6px;
    padding-top: 10px;
}

/* ── Alerts ──────────────────────────────────────────────── */
.taxi-error {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: var(--tb-radius-sm);
    margin-bottom: 12px;
    font-size: 14px;
}
.taxi-success {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #166534;
    padding: 10px 14px;
    border-radius: var(--tb-radius-sm);
    margin-bottom: 12px;
    font-size: 14px;
}

/* ── Trust badges (inline) ───────────────────────────────── */
.taxi-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.taxi-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--tb-muted);
    border: 1px solid var(--tb-border-soft);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.taxi-trust-pill.green {
    color: var(--tb-green-text);
    background: var(--tb-green-bg);
    border-color: #86efac;
}

/* ── Airport note ────────────────────────────────────────── */
.taxi-airport-note {
    font-size: 12px;
    color: var(--tb-muted);
    margin: 14px 0 0;
    text-align: center;
}
.taxi-field-hint {
    font-size: 11px;
    color: var(--tb-muted);
    margin-top: 4px;
}

/* ── Full-page booking mode ──────────────────────────────── */
body.taxi-fullpage-booking header,
body.taxi-fullpage-booking footer,
body.taxi-fullpage-booking .site-header,
body.taxi-fullpage-booking .site-footer,
body.taxi-fullpage-booking #wpadminbar { display: none !important; }
body.taxi-fullpage-booking .entry-header,
body.taxi-fullpage-booking .page-header { display: none !important; }
body.taxi-fullpage-booking .site-main,
body.taxi-fullpage-booking .entry-content,
body.taxi-fullpage-booking main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.taxi-fullpage-booking .taxi-booking-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ── Dynamic page: journey banner ───────────────────────── */
.taxi-dyn-summary-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--tb-highlight);
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
}
.taxi-dyn-route { font-weight: 700; color: var(--tb-text); flex: 1; }
.taxi-dyn-meta,
.taxi-dyn-date  { font-size: 13px; color: var(--tb-muted); white-space: nowrap; }

/* ── Dynamic: expired state ──────────────────────────────── */
.taxi-dyn-expired { max-width: 480px; margin: 0 auto; }

/* ── Stripe card element ─────────────────────────────────── */
#taxi-stripe-card {
    padding: 14px;
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
    background: var(--tb-bg);
    min-height: 46px;
    transition: border-color .2s, box-shadow .2s;
}
#taxi-stripe-card.StripeElement--focus {
    border-color: var(--tb-accent);
    box-shadow: 0 0 0 3px var(--tb-focus-ring);
}
#taxi-stripe-card.StripeElement--invalid { border-color: #fca5a5; }

/* ── Payment amount ──────────────────────────────────────── */
.taxi-dyn-payment-amount {
    text-align: center;
    background: var(--tb-accent);
    color: var(--tb-accent-fg);
    border-radius: var(--tb-radius);
    padding: 24px 20px;
    margin-bottom: 24px;
}
.taxi-dyn-amount-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    opacity: .7;
    margin-bottom: 6px;
}
.taxi-dyn-amount-value {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}
.taxi-dyn-amount-note { font-size: 11px; opacity: .6; }

/* ── Security notes ──────────────────────────────────────── */
.taxi-dyn-card-wrap { margin-bottom: 20px; }
.taxi-dyn-security-notes {
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--tb-highlight);
    border: 1.5px solid var(--tb-border-soft);
    border-radius: var(--tb-radius-sm);
}
.taxi-dyn-security-notes p {
    font-size: 12px;
    color: var(--tb-muted);
    margin: 0 0 6px;
    line-height: 1.5;
}
.taxi-dyn-security-notes p:last-child { margin-bottom: 0; }
.taxi-dyn-security-notes strong { color: var(--tb-text); }

/* ── Thank you ───────────────────────────────────────────── */
.taxi-dynamic-thankyou { text-align: center; padding: 20px 0 40px; }
.taxi-thankyou-icon { font-size: 56px; margin-bottom: 16px; }
.taxi-thankyou-sub  { color: var(--tb-muted); margin-bottom: 24px; font-size: 15px; line-height: 1.6; }

/* ── My Bookings ─────────────────────────────────────────── */
.taxi-my-bookings { max-width: 680px; margin: 0 auto; }
.tb-bk-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--tb-muted, #666);
    margin: 0 0 12px;
}
.tb-booking-card {
    border: 1.5px solid var(--tb-border-soft, #ccc);
    border-radius: var(--tb-radius);
    padding: 16px 18px;
    margin-bottom: 10px;
    background: transparent;
    transition: border-color .15s;
}
.tb-booking-card:hover { border-color: var(--tb-border, #1a1a1a); }
.tb-booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.tb-booking-route {
    font-size: 14px;
    color: var(--tb-text, #111);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}
.tb-booking-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--tb-muted, #666);
    margin-bottom: 10px;
}
.tb-pdf-link {
    display: inline-block;
    font-size: 12px;
    color: var(--tb-muted, #666);
    text-decoration: none;
    border: 1px solid var(--tb-border-soft, #ccc);
    padding: 4px 10px;
    border-radius: 6px;
    transition: all .15s;
}
.tb-pdf-link:hover {
    background: var(--tb-highlight, #f0f0f0);
    color: var(--tb-text, #111);
    border-color: var(--tb-border, #1a1a1a);
}
.tb-return-pill {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Status badges ───────────────────────────────────────── */
.tb-status-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.tb-status-pending    { background: #fef3c7; color: #92400e; }
.tb-status-confirmed  { background: #d1fae5; color: #065f46; }
.tb-status-inprogress { background: #ede9fe; color: #5b21b6; }
.tb-status-completed  { background: #dbeafe; color: #1e40af; }
.tb-status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ── Guest lookup ────────────────────────────────────────── */
.taxi-guest-lookup { max-width: 600px; margin: 0 auto; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .taxi-dynamic-layout {
        grid-template-columns: 1fr;
    }
    .taxi-dynamic-sidebar {
        position: static;
        order: -1;
    }
    .taxi-booking-summary-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .taxi-fields-row { grid-template-columns: 1fr; }
    .taxi-field-group-row { grid-template-columns: 1fr; }
    .taxi-field-group-row .taxi-field-group-item:first-child {
        border-right: none;
        border-bottom: 1.5px solid var(--tb-border-soft) !important;
    }
    .taxi-step-title { font-size: 20px; }
    .taxi-vehicle-card img { width: 72px; height: 50px; }
    .taxi-vehicle-fare { font-size: 17px; }
    .taxi-return-options { flex-direction: column; }
    .taxi-duration-btn { font-size: 13px; padding: 8px 14px; }
    .taxi-suite-tab { font-size: 13px; padding: 10px 12px; }
    .taxi-sticky-bar { padding: 12px 16px; }
    .taxi-sticky-bar .taxi-btn { padding: 12px 20px; font-size: 14px; }
    .taxi-modal { padding: 24px 16px 28px; }
    body.taxi-fullpage-booking .taxi-booking-wrap { padding: 20px 14px 80px; }
    .tb-booking-meta { flex-direction: column; gap: 4px; }
    .tb-booking-card-header { flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 400px) {
    .taxi-vehicle-card { flex-wrap: wrap; }
    .taxi-vehicle-price { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--tb-border-soft); }
    .taxi-trust-pills { gap: 6px; }
    .taxi-trust-pill { font-size: 11px; padding: 4px 8px; }
}
