/*
 * Transfers.ma Booking Widget
 * All selectors prefixed with .tb- to avoid theme conflicts.
 */

/* === Variables === */
.tb-booking-widget {
    --tb-primary: #1a1a2e;
    --tb-accent: #e94560;
    --tb-accent-hover: #d63d56;
    --tb-light-bg: #f8f9fa;
    --tb-text-dark: #1a1a2e;
    --tb-text-muted: #6c757d;
    --tb-border: #e0e0e0;
    --tb-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --tb-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --tb-success: #10b981;
    --tb-error: #dc3545;
    --tb-radius: 12px;
    --tb-radius-sm: 8px;
    --tb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tb-booking-widget {
    font-family: var(--tb-font);
    color: var(--tb-text-dark);
    line-height: 1.5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tb-booking-widget *,
.tb-booking-widget *::before,
.tb-booking-widget *::after {
    box-sizing: border-box;
}

/* === Step Visibility === */
.tb-step {
    display: none;
}

.tb-step--active {
    display: block;
}

/* === Progress Bar === */
.tb-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.tb-progress__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--tb-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.tb-progress__step--active {
    color: var(--tb-accent);
    font-weight: 600;
}

.tb-progress__step--completed {
    color: var(--tb-success);
}

.tb-progress__number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.tb-progress__step--active .tb-progress__number {
    background: var(--tb-accent);
    color: #fff;
}

.tb-progress__step--completed .tb-progress__number {
    background: var(--tb-success);
    color: #fff;
}

.tb-progress__connector {
    width: 40px;
    height: 2px;
    background: var(--tb-border);
}

.tb-progress__label {
    display: none;
}

@media (min-width: 576px) {
    .tb-progress__label {
        display: inline;
    }
}

/* === Cards === */
.tb-card {
    background: #fff;
    border-radius: var(--tb-radius);
    padding: 2rem;
    box-shadow: var(--tb-shadow);
    margin-bottom: 1.5rem;
    overflow: visible;
}

.tb-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

/* === Payment Options === */
.tb-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tb-payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.tb-payment-option:hover {
    border-color: var(--tb-accent);
}

.tb-payment-option--active {
    border-color: var(--tb-accent);
    background: rgba(233, 69, 96, 0.03);
}

.tb-payment-option input[type="radio"] {
    display: none;
}

.tb-payment-option__content {
    flex: 1;
}

.tb-payment-option__label {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    color: var(--tb-text-dark);
}

.tb-payment-option__amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tb-accent);
    display: block;
    margin-top: 2px;
}

.tb-payment-option__note {
    font-size: 0.8rem;
    color: var(--tb-text-muted);
    display: block;
    margin-top: 2px;
}

.tb-payment-option__check {
    flex-shrink: 0;
    color: var(--tb-border);
    transition: color 0.2s;
}

.tb-payment-option--active .tb-payment-option__check {
    color: var(--tb-accent);
}

/* === Gateway Selector === */
.tb-gateway-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.tb-gateway-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fff;
}
.tb-gateway-option:hover {
    border-color: #ccc;
}
.tb-gateway-option--active {
    border-color: var(--tb-accent);
    background: rgba(233, 69, 96, 0.03);
}
.tb-gateway-option input[type="radio"] {
    display: none;
}
.tb-gateway-option__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--tb-text-muted);
}
.tb-gateway-option--active .tb-gateway-option__icon {
    color: var(--tb-accent);
}
.tb-gateway-option__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tb-text-dark);
}

/* === Checkout Progress (Step 3) === */
.tb-checkout-progress {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow);
    overflow: hidden;
}

.tb-checkout-progress__step {
    flex: 1;
    text-align: center;
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tb-text-muted);
    position: relative;
    transition: all 0.2s;
}

.tb-checkout-progress__step--done {
    color: var(--tb-success);
    background: rgba(16, 185, 129, 0.05);
}

.tb-checkout-progress__step--active {
    color: var(--tb-accent);
    background: rgba(233, 69, 96, 0.05);
}

.tb-checkout-progress__step--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tb-accent);
}

.tb-checkout-progress__step--upcoming {
    color: var(--tb-text-muted);
    opacity: 0.5;
}

/* === Step 3 Main & Sidebar === */
.tb-step3-main {
    min-width: 0;
}

.tb-step3-sidebar {
    min-width: 0;
}

/* === Checkout Location Dots === */
.tb-checkout-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tb-checkout-location__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tb-checkout-location__dot--pickup {
    background: var(--tb-accent);
}

.tb-checkout-location__dot--dropoff {
    background: var(--tb-primary);
}

.tb-checkout-location__text {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--tb-text-dark);
}

/* === Checkout Row (Date/Time side-by-side) === */
.tb-checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .tb-checkout-row {
        grid-template-columns: 1fr;
    }
}

/* === Phone Input === */
.tb-phone-input {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    overflow: visible;
    transition: border-color 0.2s;
    position: relative;
}

.tb-phone-input:focus-within {
    border-color: var(--tb-accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.tb-phone-input__prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background: var(--tb-bg);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tb-text-dark);
    border-right: 2px solid var(--tb-border);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.tb-phone-input__flag {
    font-size: 1.2rem;
    line-height: 1;
}

.tb-phone-input__code {
    font-weight: 600;
    font-size: 0.9rem;
}

.tb-phone-input__arrow {
    width: 10px;
    height: 6px;
    color: var(--tb-text-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.tb-phone-input__prefix[aria-expanded="true"] .tb-phone-input__arrow {
    transform: rotate(180deg);
}

.tb-phone-input__field {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: var(--tb-font);
    color: var(--tb-text-dark);
    background: #fff;
    outline: none;
    min-width: 0;
}

/* Country code dropdown */
.tb-phone-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    max-height: 280px;
    display: flex;
    flex-direction: column;
}

.tb-phone-dropdown__search {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid var(--tb-border);
    font-size: 0.9rem;
    font-family: var(--tb-font);
    color: var(--tb-text-dark);
    outline: none;
    background: #fafafa;
    border-radius: var(--tb-radius-sm) var(--tb-radius-sm) 0 0;
}

.tb-phone-dropdown__list {
    overflow-y: auto;
    flex: 1;
}

.tb-phone-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.tb-phone-dropdown__item:hover {
    background: var(--tb-bg);
}

.tb-phone-dropdown__item--active {
    background: rgba(233, 69, 96, 0.06);
    font-weight: 600;
}

.tb-phone-dropdown__item-flag {
    font-size: 1.2rem;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.tb-phone-dropdown__item-name {
    flex: 1;
    color: var(--tb-text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tb-phone-dropdown__item-code {
    color: var(--tb-text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

/* === Gradient Summary Sidebar === */
.tb-summary-gradient {
    background: linear-gradient(135deg, var(--tb-primary) 0%, #1a365d 100%);
    border-radius: var(--tb-radius);
    padding: 1.75rem;
    color: #fff;
    position: sticky;
    top: 2rem;
}

.tb-summary-gradient__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tb-summary-gradient__icon {
    font-size: 2rem;
    line-height: 1;
}

.tb-summary-gradient__vehicle-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.tb-summary-gradient__vehicle-cap {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 2px;
}

.tb-summary-gradient__stop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    position: relative;
}

.tb-summary-gradient__stop + .tb-summary-gradient__stop {
    margin-top: 0.25rem;
}

.tb-summary-gradient__stop::before {
    content: '';
    position: absolute;
    left: 5px;
    top: -0.5rem;
    bottom: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.tb-summary-gradient__stop:first-of-type::before {
    display: none;
}

.tb-summary-gradient__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #fff;
    flex-shrink: 0;
}

.tb-summary-gradient__stop-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.tb-summary-gradient__stop-price {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.tb-summary-gradient__extras {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}

.tb-summary-gradient__extras:empty {
    display: none;
}

.tb-summary-gradient__extra-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    opacity: 0.85;
}

.tb-summary-gradient__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 1.25rem;
    font-weight: 800;
}

/* === Form Elements === */
.tb-form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.tb-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 576px) {
    .tb-form-row {
        grid-template-columns: 1fr 1fr;
    }
    .tb-form-group--half {
        margin-bottom: 0;
    }
}

.tb-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tb-text-muted);
    margin-bottom: 0.5rem;
}

.tb-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    font-size: 1rem;
    font-family: var(--tb-font);
    color: var(--tb-text-dark);
    background: #fff;
    transition: border-color 0.2s;
}

.tb-input:focus {
    outline: none;
    border-color: var(--tb-accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.tb-input--error {
    border-color: var(--tb-error);
}

.tb-select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    font-size: 1rem;
    font-family: var(--tb-font);
    color: var(--tb-text-dark);
    background: #fff;
    cursor: pointer;
    appearance: auto;
}

.tb-select:focus {
    outline: none;
    border-color: var(--tb-accent);
}

/* Input wrapper with icon */
.tb-input-wrapper {
    position: relative;
}

.tb-input-wrapper .tb-input {
    padding-left: 38px;
}

.tb-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tb-accent);
    font-size: 0.75rem;
    z-index: 1;
    pointer-events: none;
}

/* Counter */
.tb-counter {
    display: flex;
    align-items: center;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    overflow: hidden;
}

.tb-counter__btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--tb-light-bg);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: var(--tb-text-dark);
}

.tb-counter__btn:hover {
    background: var(--tb-border);
}

.tb-counter__value {
    flex: 1;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--tb-font);
    background: #fff;
    -moz-appearance: textfield;
    color: var(--tb-text-dark);
}

.tb-counter__value::-webkit-inner-spin-button,
.tb-counter__value::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Checkbox */
.tb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.tb-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--tb-accent);
}

/* Field Errors */
.tb-field-error {
    color: var(--tb-error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 0;
}

/* Alert */
.tb-alert {
    padding: 12px 16px;
    border-radius: var(--tb-radius-sm);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tb-alert--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* === Buttons === */
.tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border: none;
    border-radius: var(--tb-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--tb-font);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tb-btn--primary {
    background: var(--tb-accent);
    color: #fff;
}

.tb-btn--primary:hover:not(:disabled) {
    background: var(--tb-accent-hover);
}

.tb-btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tb-btn--full {
    width: 100%;
}

.tb-btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

.tb-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: var(--tb-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--tb-font);
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.tb-btn-back:hover {
    color: var(--tb-accent);
}

.tb-form-actions {
    margin-top: 1.5rem;
}

/* === Autocomplete Dropdown === */
.tb-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow-lg);
    margin-top: 4px;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.tb-autocomplete-dropdown.tb-show {
    display: block;
}

.tb-autocomplete-item {
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--tb-border);
    font-size: 1rem;
}

.tb-autocomplete-item:last-child {
    border-bottom: none;
}

.tb-autocomplete-item:hover {
    background: var(--tb-light-bg);
}

.tb-autocomplete-item__icon {
    color: var(--tb-text-muted);
    flex-shrink: 0;
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tb-light-bg);
    border-radius: 50%;
}

.tb-autocomplete-item__name {
    font-weight: 600;
    font-size: 1rem;
}

.tb-autocomplete-item__type {
    font-size: 0.85rem;
    color: var(--tb-text-muted);
}

/* === Step 2: Layout === */
.tb-step2-layout,
.tb-step3-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tb-step2-layout,
    .tb-step3-layout {
        grid-template-columns: 1fr 340px;
    }
}

/* === Route Summary === */
.tb-route-summary {
    background: #fff;
    border-radius: var(--tb-radius);
    padding: 1.25rem;
    box-shadow: var(--tb-shadow);
    margin-bottom: 1.5rem;
}

.tb-route-points {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tb-route-point {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.tb-route-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tb-route-dot--pickup {
    background: var(--tb-accent);
}

.tb-route-dot--dropoff {
    background: var(--tb-primary);
}

.tb-route-arrow {
    color: var(--tb-text-muted);
}

.tb-route-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    color: var(--tb-text-muted);
    font-size: 0.9rem;
}

/* === Section Title === */
.tb-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.tb-section-subtitle {
    color: var(--tb-text-muted);
    font-size: 0.9rem;
    margin: -0.5rem 0 1rem;
}

/* === Route Summary Bar === */
.tb-route-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: var(--tb-radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--tb-shadow);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.tb-route-bar__point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}
.tb-route-bar__icon { flex-shrink: 0; color: var(--tb-text-muted); }
.tb-route-bar__icon--pickup { color: var(--tb-accent); }
.tb-route-bar__icon--dropoff { color: var(--tb-primary); }
.tb-route-bar__info { min-width: 0; }
.tb-route-bar__label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--tb-text-muted); font-weight: 600; }
.tb-route-bar__address { display: block; font-size: 0.92rem; font-weight: 600; color: var(--tb-text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.tb-route-bar__swap-icon { color: var(--tb-text-muted); font-size: 1.2rem; flex-shrink: 0; }
.tb-route-bar__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--tb-text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

/* === Trust Strip === */
.tb-trust-strip {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
}
.tb-trust-strip__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--tb-text-muted);
    font-weight: 500;
}
.tb-trust-strip__badge svg { color: var(--tb-success); flex-shrink: 0; }

/* === Route Map === */
.tb-route-map {
    width: 100%;
    height: 250px;
    border-radius: var(--tb-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--tb-light-bg);
}

/* === Checkout Mini Map === */
.tb-checkout-map {
    width: 100%;
    height: 180px;
    border-radius: var(--tb-radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--tb-light-bg);
}

/* === How it Works === */
.tb-how-it-works {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tb-border);
}
.tb-how-it-works__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}
.tb-how-it-works__step { text-align: center; }
.tb-how-it-works__step h5 { margin: 0 0 0.4rem; font-size: 0.95rem; font-weight: 700; }
.tb-how-it-works__step p { margin: 0; font-size: 0.85rem; color: var(--tb-text-muted); line-height: 1.5; }
.tb-how-it-works__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tb-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* === Vehicle Cards — Horizontal Layout === */
.tb-vehicles-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tb-vehicle-card {
    background: #fff;
    border-radius: var(--tb-radius);
    padding: 0;
    box-shadow: var(--tb-shadow);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 0;
}

.tb-vehicle-card:hover {
    border-color: var(--tb-accent);
    transform: translateY(-2px);
    box-shadow: var(--tb-shadow-lg);
}

.tb-vehicle-card.tb-selected {
    border-color: var(--tb-accent);
    background: rgba(233, 69, 96, 0.02);
}

.tb-vehicle-card__image {
    width: 220px;
    min-height: 160px;
    background: var(--tb-light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1rem;
}

.tb-vehicle-card__image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.tb-vehicle-card__image-placeholder {
    color: var(--tb-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-vehicle-card__models {
    font-size: 0.78rem;
    color: var(--tb-text-muted);
    margin: 0.5rem 0 0;
    text-align: center;
}

.tb-vehicle-card__details {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tb-vehicle-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.tb-vehicle-card__specs {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--tb-text-muted);
    margin-bottom: 0.5rem;
}

.tb-vehicle-card__spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tb-vehicle-card__spec svg {
    flex-shrink: 0;
}

.tb-vehicle-card__features {
    display: flex;
    gap: 0.35rem 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.tb-vehicle-card__feature {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--tb-text-muted);
}

.tb-vehicle-card__feature svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.tb-vehicle-card__feature--ok svg {
    color: var(--tb-success);
}

.tb-vehicle-card__feature--time svg {
    color: var(--tb-accent);
}

.tb-vehicle-card__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
    min-width: 130px;
    gap: 0.5rem;
    border-left: 1px solid var(--tb-border);
}

.tb-vehicle-card__price {
    text-align: right;
}

.tb-vehicle-card__price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tb-accent);
}

.tb-vehicle-card__price-currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tb-text-muted);
}

.tb-vehicle-card__price-note {
    font-size: 0.75rem;
    color: var(--tb-text-muted);
    font-weight: 500;
}

.tb-vehicle-card__payment-icons {
    display: flex;
    gap: 4px;
}

.tb-vehicle-card__payment-icon svg {
    width: 36px;
    height: 24px;
    border-radius: 3px;
}

.tb-vehicle-card__select-btn {
    background: var(--tb-accent);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.tb-vehicle-card__select-btn:hover {
    background: var(--tb-accent-hover);
}

/* === Payment Choice Cards === */
.tb-payment-choices {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.tb-payment-choice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.tb-payment-choice:hover {
    border-color: var(--tb-accent);
}
.tb-payment-choice--active {
    border-color: var(--tb-accent);
    background: rgba(233, 69, 96, 0.03);
}
.tb-payment-choice__radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--tb-border);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s;
}
.tb-payment-choice--active .tb-payment-choice__radio {
    border-color: var(--tb-accent);
}
.tb-payment-choice--active .tb-payment-choice__radio::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--tb-accent);
}
.tb-payment-choice__content { flex: 1; }
.tb-payment-choice__content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--tb-text-dark);
}
.tb-payment-choice__content p {
    margin: 2px 0;
    font-size: 0.82rem;
    color: var(--tb-text-muted);
    line-height: 1.4;
}

/* === Terms & Conditions === */
.tb-terms {
    margin-bottom: 1.25rem;
}
.tb-terms__label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--tb-text-dark);
    line-height: 1.5;
}
.tb-terms__checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--tb-accent);
}
.tb-terms__label a {
    color: var(--tb-accent);
    text-decoration: underline;
}

/* === Promo Code === */
.tb-promo-row {
    display: flex;
    gap: 0.5rem;
}
.tb-promo-row__input {
    flex: 1;
}
.tb-promo-row__btn {
    flex-shrink: 0;
    white-space: nowrap;
}
.tb-promo-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--tb-radius-sm);
}
.tb-promo-message--success {
    background: #ecfdf5;
    color: #065f46;
}
.tb-promo-message--error {
    background: #fef2f2;
    color: #991b1b;
}

/* === Summary Gradient Divider === */
.tb-summary-gradient__divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0.75rem 0;
}

/* === Confirmation Checkmark Animation === */
.tb-confirmation__checkmark {
    color: var(--tb-success);
}
.tb-confirmation__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: tb-circle-draw 0.6s ease-out forwards;
}
.tb-confirmation__check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: tb-check-draw 0.3s ease-out 0.5s forwards;
}
@keyframes tb-circle-draw {
    to { stroke-dashoffset: 0; }
}
@keyframes tb-check-draw {
    to { stroke-dashoffset: 0; }
}
.tb-confirmation__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Mobile: Vehicle Cards Stack Vertically === */
@media (max-width: 640px) {
    .tb-vehicle-card {
        flex-direction: column;
    }
    .tb-vehicle-card__image {
        width: 100%;
        min-height: 140px;
        max-height: 180px;
        padding: 1rem;
    }
    .tb-vehicle-card__image img {
        max-height: 140px;
        width: auto;
    }
    .tb-vehicle-card__details {
        padding: 1rem 1.25rem 0.75rem;
    }
    .tb-vehicle-card__name {
        font-size: 1.1rem;
    }
    .tb-vehicle-card__pricing {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-left: none;
        border-top: 1px solid var(--tb-border);
        padding: 1rem 1.25rem;
        width: 100%;
        min-width: unset;
    }
    .tb-vehicle-card__price {
        display: flex;
        align-items: baseline;
        gap: 0.25rem;
    }
    .tb-vehicle-card__select-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .tb-vehicle-card__models {
        text-align: center;
        padding: 0 0.5rem;
    }

    /* Route Bar: stack vertically */
    .tb-route-bar {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .tb-route-bar__point {
        padding: 12px 16px;
        border-bottom: 1px solid var(--tb-border);
        width: 100%;
    }
    .tb-route-bar__swap-icon { display: none; }
    .tb-route-bar__meta {
        flex-wrap: wrap;
        padding: 10px 16px;
        gap: 8px;
        font-size: 0.82rem;
    }
    .tb-route-bar__address {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Route Map: shorter */
    .tb-route-map {
        height: 180px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    /* Trust Strip */
    .tb-trust-strip {
        flex-wrap: wrap;
        gap: 8px 16px;
        justify-content: center;
        font-size: 0.78rem;
    }

    /* How it Works: single column, horizontal layout */
    .tb-how-it-works__steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tb-how-it-works__step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }
    .tb-how-it-works__number {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* === Mobile: Step 3 === */
@media (max-width: 768px) {
    .tb-step3-layout {
        grid-template-columns: 1fr;
    }
    .tb-step3-sidebar {
        position: static;
        order: -1;
    }
    .tb-summary-gradient {
        border-radius: 12px;
    }
}
@media (max-width: 640px) {
    .tb-card {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }
    .tb-card__title {
        font-size: 1.1rem;
    }
    .tb-checkout-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .tb-checkout-map {
        height: 140px;
        border-radius: 10px;
    }
    .tb-payment-choice {
        padding: 14px;
        gap: 12px;
    }
    .tb-payment-choice__content strong {
        font-size: 0.9rem;
    }
    .tb-payment-choice__content p {
        font-size: 0.8rem;
        margin: 2px 0;
    }
    .tb-btn--full,
    #tb-pay-button,
    #tb-btn-continue {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        min-height: 52px;
        border-radius: 12px;
    }
    .tb-service-row {
        padding: 14px 12px;
        gap: 12px;
    }
    .tb-toggle__slider {
        min-width: 48px;
        min-height: 28px;
    }
}

/* === Mobile: Confirmation === */
@media (max-width: 640px) {
    .tb-confirmation {
        padding: 1.5rem 1rem;
    }
    .tb-confirmation__title {
        font-size: 1.4rem;
    }
    .tb-confirmation__ref {
        font-size: 1rem;
        padding: 12px 16px;
        word-break: break-all;
    }
    .tb-receipt {
        padding: 1rem;
        border-radius: 12px;
    }
    .tb-receipt__row {
        flex-direction: column;
        gap: 2px;
        padding: 10px 0;
    }
    .tb-receipt__label {
        font-size: 0.8rem;
    }
    .tb-receipt__value {
        font-size: 0.9rem;
    }
    .tb-confirmation__actions {
        flex-direction: column;
        gap: 10px;
    }
    .tb-confirmation__actions .tb-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === Mobile: Phone Dropdown Bottom Sheet === */
@media (max-width: 640px) {
    .tb-phone-dropdown {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        max-height: 60vh;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
        z-index: 10000 !important;
        overflow-y: auto;
        padding: 16px;
    }
    .tb-phone-dropdown__search {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1;
    }
}

/* === iOS Input Zoom Prevention === */
.tb-input, .tb-select, .tb-phone-input__field,
input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="time"], select, textarea {
    font-size: 16px;
}
@media (min-width: 769px) {
    .tb-input, .tb-select, .tb-phone-input__field { font-size: 0.95rem; }
}

/* === Safe Area Insets === */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .tb-pax-dropdown,
    .tb-phone-dropdown {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* === Loading States === */
.tb-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    font-size: 0.9rem;
}

/* === Extras === */
.tb-extras-section {
    margin-top: 2rem;
}

/* Service rows (extras) */
.tb-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    margin-bottom: 0.5rem;
    gap: 1rem;
    transition: all 0.2s;
}

.tb-service-row:hover {
    border-color: var(--tb-accent);
}

.tb-service-row__info {
    flex: 1;
    min-width: 0;
}

.tb-service-row__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--tb-text-dark);
}

.tb-service-row__price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tb-accent);
    margin-top: 2px;
}

.tb-service-row__desc {
    font-size: 0.8rem;
    color: var(--tb-text-muted);
    margin-top: 2px;
}

/* Toggle switch */
.tb-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.tb-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.tb-toggle__slider {
    position: absolute;
    inset: 0;
    background: var(--tb-border);
    border-radius: 24px;
    transition: background 0.2s;
}

.tb-toggle__slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.tb-toggle input:checked + .tb-toggle__slider {
    background: var(--tb-accent);
}

.tb-toggle input:checked + .tb-toggle__slider::before {
    transform: translateX(20px);
}

/* Extra quantity stepper */
.tb-extra-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tb-extra-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--tb-border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tb-extra-qty button:hover {
    border-color: var(--tb-accent);
    color: var(--tb-accent);
}

.tb-extra-qty-value {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* === Sidebar === */
.tb-sidebar {
    background: #fff;
    border-radius: var(--tb-radius);
    padding: 1.5rem;
    box-shadow: var(--tb-shadow);
    position: sticky;
    top: 100px;
}

.tb-sidebar__title {
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--tb-border);
}

.tb-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.tb-summary-label {
    color: var(--tb-text-muted);
}

.tb-summary-value {
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.tb-summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--tb-border);
}

.tb-sidebar .tb-btn {
    margin-top: 1.25rem;
}

/* === Loading === */
.tb-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--tb-text-muted);
}

.tb-no-vehicles-msg {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--tb-text-muted);
    background: var(--tb-bg-subtle, #f8f9fa);
    border-radius: var(--tb-radius);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tb-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--tb-border);
    border-top-color: var(--tb-accent);
    border-radius: 50%;
    animation: tb-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

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

/* === Confirmation === */
.tb-confirmation {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.tb-confirmation__icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--tb-success);
}

.tb-confirmation__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.tb-confirmation__subtitle {
    color: var(--tb-text-muted);
    margin: 0 0 1.5rem;
}

.tb-confirmation__ref {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tb-accent);
    background: rgba(233, 69, 96, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--tb-radius-sm);
    margin-bottom: 1.5rem;
}

.tb-confirmation__email {
    color: var(--tb-text-muted);
    margin-bottom: 2rem;
}

/* === Receipt === */
.tb-receipt {
    text-align: left;
    background: var(--tb-light-bg);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.tb-receipt__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-align: center;
    color: var(--tb-text-dark);
}

.tb-receipt__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    gap: 1rem;
}

.tb-receipt__label {
    color: var(--tb-text-muted);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.tb-receipt__value {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.tb-receipt__divider {
    border-top: 2px solid var(--tb-border);
    margin: 0.5rem 0;
}

.tb-receipt__section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
}

.tb-receipt__section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tb-text-muted);
    margin-bottom: 0.5rem;
}

.tb-receipt__section .tb-receipt__row {
    padding: 0.3rem 0;
}

.tb-receipt__row--total .tb-receipt__label,
.tb-receipt__row--total .tb-receipt__value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tb-text-dark);
}

.tb-btn--outline {
    background: transparent;
    border: 1.5px solid var(--tb-primary);
    color: var(--tb-primary);
    padding: 0.65rem 1.25rem;
    border-radius: var(--tb-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-top: 1rem;
}

.tb-btn--outline:hover {
    background: var(--tb-primary);
    color: #fff;
}

/* === Stripe Element === */
#tb-stripe-element {
    padding: 1rem 0;
}

/* Google Places styles are in the Step 1 section below */

.pac-item {
    padding: 10px 14px !important;
    cursor: pointer !important;
    border-bottom: 1px solid var(--tb-border) !important;
}

.pac-item:hover {
    background: var(--tb-light-bg) !important;
}

/* === Notices (route/zone client_notice) === */
.tb-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 12px 16px;
    border-radius: var(--tb-radius-sm);
    margin-bottom: 1rem;
    font-size: 0.93rem;
    line-height: 1.5;
}

.tb-notice__icon {
    flex-shrink: 0;
    display: inline-flex;
    margin-top: 2px;
}

.tb-notice--info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.tb-notice--warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.tb-notice--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Area description (subtle text below route summary) */
.tb-route-area-desc {
    font-size: 0.88rem;
    color: var(--tb-text-muted);
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* === Route Highlights === */
.tb-route-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tb-route-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--tb-text-dark);
}

.tb-route-highlights li svg {
    flex-shrink: 0;
    color: var(--tb-success);
}

/* === Route Travel Tips === */
.tb-route-tips {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--tb-radius-sm);
    font-size: 0.88rem;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tb-route-tips svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* === Route Amenities (pill badges) === */
.tb-route-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tb-route-amenity {
    display: inline-block;
    padding: 4px 12px;
    background: var(--tb-light-bg);
    border: 1px solid var(--tb-border);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--tb-text-dark);
}

/* === Route Traffic Info === */
.tb-route-traffic {
    font-size: 0.85rem;
    color: var(--tb-text-muted);
    margin: 0 0 1rem;
}

/* === Vehicle Card Notice === */
.tb-vehicle-card__notice {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 1.25rem;
    font-size: 0.83rem;
    line-height: 1.4;
    border-top: 1px solid var(--tb-border);
}

.tb-vehicle-card__notice svg {
    flex-shrink: 0;
}

.tb-vehicle-card__notice--info {
    background: #eff6ff;
    color: #1e40af;
}

.tb-vehicle-card__notice--warning {
    background: #fffbeb;
    color: #92400e;
}

.tb-vehicle-card__notice--success {
    background: #ecfdf5;
    color: #065f46;
}

/* === Pickup Instructions (Step 3) === */
.tb-pickup-instructions {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--tb-radius-sm);
    font-size: 0.88rem;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tb-pickup-instructions svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* === No Route Contact Card === */
.tb-no-route {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow);
}

.tb-no-route__icon {
    color: var(--tb-accent);
    margin-bottom: 1.25rem;
}

.tb-no-route__message {
    font-size: 1.1rem;
    color: var(--tb-text-dark);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.tb-no-route__contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tb-no-route__contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: var(--tb-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--tb-font);
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid var(--tb-border);
    color: var(--tb-text-dark);
}

.tb-no-route__contact-btn:hover {
    border-color: var(--tb-accent);
    color: var(--tb-accent);
}

.tb-no-route__contact-btn--whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.tb-no-route__contact-btn--whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════ */
/* STEP 1: Daytrip.com Exact Match                        */
/* ═══════════════════════════════════════════════════════ */

#tb-step-1 {
    background: #0f172a;
    border-radius: 20px;
    padding: 40px 24px 28px;
    position: relative;
    overflow: hidden;
}

/* Decorative road graphic (right side) */
#tb-step-1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 35%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cpath d='M100 0 Q200 100 150 200 Q100 300 200 400 Q300 500 350 500' fill='none' stroke='%233b82f6' stroke-width='40' opacity='0.15'/%3E%3Cpath d='M120 0 Q220 100 170 200 Q120 300 220 400 Q320 500 370 500' fill='none' stroke='%233b82f6' stroke-width='6' opacity='0.3' stroke-dasharray='12 8'/%3E%3C/svg%3E") no-repeat right center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
#tb-step-1 > * { position: relative; z-index: 1; }

/* ── Tabs (left-aligned, icon + text, underline active) ── */
.tb-mode-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0;
}
.tb-mode-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--tb-font);
    padding: 10px 20px 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
    white-space: nowrap;
    outline: none;
}
.tb-mode-tab:hover {
    color: rgba(255,255,255,0.85);
}
.tb-mode-tab--active {
    color: var(--tb-accent);
    border-bottom-color: var(--tb-accent);
    background: transparent;
}

/* ── Hero headline ── */
.tb-step1-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 1.25rem 0 2rem;
    max-width: 600px;
}

/* ── Unified search bar ── */
.tb-pill-bar__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.tb-pill-bar__field {
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 12px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    border-right: 1px solid #e5e7eb;
    transition: none;
    box-shadow: none;
}
/* From/To get maximum space on single row */
.tb-pill-bar__field--from,
.tb-pill-bar__field--to {
    flex: 1 1 0;
    min-width: 0;
}
/* Date/return are fixed width */
.tb-pill-bar__field--date,
.tb-pill-bar__field--return {
    flex: 0 0 auto;
    width: 170px;
}
.tb-pill-bar__field:focus-within {
    border-color: #e5e7eb;
    box-shadow: none;
    background: rgba(59,130,246,0.04);
    border-radius: 20px;
}
.tb-pill-bar__field:last-of-type {
    border-right: none;
}
.tb-pill-bar__field--from {
    border-radius: 20px 0 0 20px;
    position: relative;
}
.tb-pill-bar__icon {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1;
}
.tb-pill-bar__input {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: var(--tb-font);
    color: #111827;
    padding: 0;
    width: 100%;
    outline: none;
    min-width: 0;
}
.tb-pill-bar__input::placeholder { color: #9ca3af; }
.tb-pill-bar__input:focus { outline: none; }
.tb-pill-bar__clear {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5e7eb;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.15s;
}
.tb-pill-bar__clear:hover { background: #d1d5db; color: #374151; }
.tb-pill-bar__label { display: none; }
.tb-pill-bar__divider { display: none; }

/* Autocomplete inside unified bar */
.tb-pill-bar__field .tb-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: -6px;
    z-index: 100;
    min-width: 420px;
    width: max-content;
    max-width: 600px;
    border-radius: 12px;
}
.tb-pill-bar__field .tb-autocomplete-item__name {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
}

/* === Swap button === */
.tb-pill-bar__swap {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 0.75rem;
    color: #6b7280;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tb-pill-bar__swap:hover { border-color: var(--tb-accent); color: var(--tb-accent); }

/* === Return field & toggle === */
#tb-return-field { position: relative; border-right: 1px solid #e5e7eb; }
.tb-pill-bar__add-return {
    border: none;
    border-right: 1px solid #e5e7eb;
    background: transparent;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 14px;
    white-space: nowrap;
    font-family: var(--tb-font);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tb-pill-bar__add-return:hover { color: var(--tb-accent); }

/* === Pax pill (inside the bar) === */
.tb-pill-bar__pax {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-right: none;
    flex: 0 0 auto;
}
.tb-pax-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 6px 10px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111827;
    font-family: var(--tb-font);
}
.tb-pax-pill:hover { background: rgba(59,130,246,0.05); border-radius: 8px; }
.tb-pax-pill__icon { font-size: 1rem; color: #6b7280; }

/* === Pax dropdown === */
.tb-pax-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 16px;
    z-index: 200;
    min-width: 220px;
    display: none;
}
.tb-pax-dropdown.tb-show { display: block; }
.tb-pax-stepper { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.tb-pax-stepper + .tb-pax-stepper { border-top: 1px solid #f1f5f9; }
.tb-pax-stepper__label { font-size: 0.9rem; font-weight: 500; color: #374151; }
.tb-pax-stepper__controls { display: flex; align-items: center; gap: 12px; }
.tb-pax-stepper__btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #e5e7eb; background: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: all 0.2s; color: #374151;
    font-family: var(--tb-font);
}
.tb-pax-stepper__btn:hover { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb-pax-stepper__value { font-weight: 600; min-width: 20px; text-align: center; font-size: 1rem; }

/* === Search button — BLUE, inside the bar === */
.tb-pill-bar__search {
    border-radius: 50px;
    padding: 12px 24px;
    background: var(--tb-accent);
    color: #fff;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: var(--tb-font);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px;
}
.tb-pill-bar__search:hover { background: #2563eb; }
.tb-pill-bar__search:disabled { opacity: 0.5; cursor: not-allowed; }

/* === Trust badges === */
.tb-trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.tb-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}
.tb-trust-badge svg { flex-shrink: 0; }
.tb-trust-badge--cancel svg { color: #10b981; }
.tb-trust-badge--rating svg { color: #fbbf24; }

/* === Multi-city bar === */
.tb-multi-bar { display: none; }
.tb-leg-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 50px;
    padding: 4px 4px 4px 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.tb-leg-row__number {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--tb-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.tb-leg-row__fields {
    display: flex; flex: 1; align-items: stretch; gap: 0; min-width: 0;
}
.tb-leg-row__fields .tb-pill-bar__field {
    background: transparent;
    border-radius: 0;
    border-right: 1px solid #e5e7eb;
    padding: 10px 12px;
    flex: 1 1 0;
    min-width: 0;
}
.tb-leg-row__fields .tb-pill-bar__field:last-child {
    border-right: none;
    flex: 0 0 220px;
}
/* Hide emoji icons in leg rows, replace with SVG */
.tb-leg-row__fields .tb-pill-bar__icon {
    font-size: 0;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tb-leg-row__fields .tb-pill-bar__field--from .tb-pill-bar__icon::before {
    content: '';
    display: block;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='7' cy='7' r='3' stroke='%236b7280' stroke-width='1.5'/%3E%3Ccircle cx='7' cy='7' r='1' fill='%236b7280'/%3E%3C/svg%3E") no-repeat center;
    background-size: 14px 14px;
}
.tb-leg-row__fields .tb-pill-bar__field--to .tb-pill-bar__icon::before {
    content: '';
    display: block;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 1C4.5 1 2.5 3 2.5 5.5C2.5 9 7 13 7 13s4.5-4 4.5-7.5C11.5 3 9.5 1 7 1z' stroke='%236b7280' stroke-width='1.3'/%3E%3Ccircle cx='7' cy='5.5' r='1.5' stroke='%236b7280' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center;
    background-size: 14px 14px;
}
.tb-leg-row__fields .tb-pill-bar__field--date .tb-pill-bar__icon::before {
    content: '';
    display: block;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M4.5 1v1.5M9.5 1v1.5M1.5 5.5h11M2.5 2.5h9a1 1 0 011 1v8a1 1 0 01-1 1h-9a1 1 0 01-1-1v-8a1 1 0 011-1z' stroke='%236b7280' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: 14px 14px;
}
.tb-leg-row__fields .tb-pill-bar__input {
    color: #111827;
    font-size: 0.9rem;
}
.tb-leg-row__fields .tb-pill-bar__input::placeholder {
    color: #9ca3af;
}
.tb-leg-row__remove {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid #e5e7eb; background: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #9ca3af; flex-shrink: 0; transition: all 0.2s;
    margin-right: 4px;
}
.tb-leg-row__remove:hover { border-color: var(--tb-error); color: var(--tb-error); background: rgba(220,53,69,0.05); }

/* Multi-city footer */
.tb-multi-bar__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.tb-multi-bar__footer .tb-pax-pill {
    color: #fff;
}
.tb-multi-bar__footer .tb-pax-pill svg {
    color: rgba(255,255,255,0.7);
}

/* Add leg button */
#tb-add-leg {
    color: rgba(255,255,255,0.7);
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--tb-font);
    transition: all 0.2s;
}
#tb-add-leg:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* === Flight bar === */
#tb-flight-bar { display: none; margin-top: 12px; }
#tb-flight-bar .tb-pill-bar__input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
}
#tb-flight-bar .tb-pill-bar__input::placeholder { color: rgba(255,255,255,0.35); }
#tb-flight-bar .tb-pill-bar__label { color: rgba(255,255,255,0.5); margin-bottom: 4px; display: block; font-size: 0.8rem; }

/* === No route container === */
#tb-no-route-container { margin-top: 1rem; }

/* === Multi-city progress indicator === */
#tb-multi-progress { text-align: center; color: var(--tb-accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; display: none; }

/* === Validation === */
.tb-pill-bar__field--invalid { background: rgba(220, 53, 69, 0.06) !important; }
.tb-pill-bar__field--invalid .tb-pill-bar__input { color: var(--tb-error); }
@keyframes tb-shake { 0%, 100% { transform: translateX(0); } 15%, 45%, 75% { transform: translateX(-6px); } 30%, 60%, 90% { transform: translateX(6px); } }
.tb-shake { animation: tb-shake 0.5s ease-in-out; }

/* === Return-to-start toggle === */
.tb-return-toggle { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; cursor: pointer; padding: 4px 0; margin-bottom: 8px; }
.tb-return-toggle input { accent-color: var(--tb-accent); width: 18px; height: 18px; }
.tb-leg-row--return .tb-leg-row__number { background: var(--tb-text-muted); font-size: 0.7rem; }
.tb-leg-row--return .tb-pill-bar__input[readonly] { opacity: 0.6; cursor: default; }

/* === Google Places autocomplete enhanced === */
.pac-container::after { display: none !important; }
.pac-container {
    z-index: 100000 !important;
    font-family: var(--tb-font);
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18) !important;
    margin-top: 8px !important;
    padding: 8px 0 !important;
    min-width: 420px !important;
    width: auto !important;
    max-width: 600px !important;
}
.pac-item {
    padding: 10px 16px !important;
    cursor: pointer !important;
    border-bottom: none !important;
    border-top: none !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    line-height: 1.4 !important;
    font-size: 0.9rem !important;
}
.pac-item:hover { background: #f3f4f6 !important; }
/* Hide all Google Places icons and replace with a single pin */
.pac-item .pac-icon {
    display: none !important;
}
.pac-item::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}
.pac-item .pac-item-query {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.35 !important;
}
.pac-item .pac-item-query + span {
    font-size: 0.82rem !important;
    color: #6b7280 !important;
    white-space: normal !important;
}
.pac-matched {
    font-weight: 700 !important;
    color: #111827 !important;
}

/* Prevent iOS zoom on input focus */
.tb-pill-bar__input, .tb-pax-pill, .tb-pill-bar__search, #tb-add-leg, .tb-mode-tab { font-size: 16px; }
@media (min-width: 769px) {
    .tb-pill-bar__input { font-size: 0.95rem; }
    .tb-pax-pill { font-size: 0.9rem; }
    .tb-pill-bar__search { font-size: 0.95rem; }
    #tb-add-leg { font-size: 0.85rem; }
    .tb-mode-tab { font-size: 0.9rem; }
}

/* === Responsive === */
@media (max-width: 768px) {
    #tb-step-1 {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }
    #tb-step-1::after { display: none; }
    .tb-step1-headline {
        font-size: 1.6rem;
        margin: 1rem 0 1.5rem;
    }
    .tb-pill-bar__row {
        flex-direction: column;
        border-radius: 16px;
        padding: 8px;
        gap: 0;
    }
    .tb-pill-bar__field,
    .tb-pill-bar__field--from,
    .tb-pill-bar__field--to,
    .tb-pill-bar__field--date,
    .tb-pill-bar__field--return {
        width: 100% !important;
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
        padding: 14px 14px;
    }
    .tb-pill-bar__field:last-of-type { border-bottom: none; }
    .tb-pill-bar__field--from { border-radius: 12px 12px 0 0; }
    .tb-pill-bar__swap {
        position: static;
        transform: none;
        width: 100%;
        height: 32px;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
        background: #f9fafb;
        border: none;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.85rem;
    }
    .tb-pill-bar__search {
        width: 100%;
        border-radius: 12px;
        padding: 14px;
        justify-content: center;
        margin: 4px 0 0;
    }
    .tb-pill-bar__pax {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .tb-pax-pill { width: 100%; justify-content: center; padding: 14px; }
    .tb-pill-bar__add-return {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-bottom: 1px solid #f1f5f9;
    }
    #tb-return-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    /* Pax dropdown as bottom sheet on mobile */
    .tb-pax-dropdown {
        position: fixed;
        bottom: 0; left: 0; right: 0; top: auto;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        min-width: unset;
        padding: 20px;
        z-index: 1000;
    }
    .tb-trust-badges { gap: 12px; }
    .tb-trust-badge { font-size: 0.78rem; }
    /* Tabs: scrollable on mobile */
    .tb-mode-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tb-mode-tabs::-webkit-scrollbar { display: none; }
    .tb-mode-tab { padding: 8px 14px; font-size: 0.82rem; }

    /* Multi-city leg rows */
    .tb-leg-row {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 16px;
        gap: 0;
    }
    .tb-leg-row__number { align-self: flex-start; margin-bottom: 8px; }
    .tb-leg-row__fields { flex-direction: column; gap: 0; }
    .tb-leg-row__fields .tb-pill-bar__field {
        width: 100% !important;
        flex: 0 0 auto !important;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
        padding: 12px 10px;
    }
    .tb-leg-row__fields .tb-pill-bar__field:last-child {
        border-bottom: none;
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    .tb-leg-row__remove { align-self: flex-end; margin-top: -36px; margin-right: 4px; }
    .tb-multi-bar__footer { flex-direction: column; gap: 10px; }
    #tb-add-leg { width: 100%; text-align: center; border-radius: 12px; }
    .tb-return-toggle { justify-content: center; }

    /* Vehicle cards */
    .tb-vehicle-card__body { flex-direction: column; }
    .tb-vehicle-card__image { width: 100%; height: 60px; }
    .tb-vehicle-card__pricing { align-items: flex-start; text-align: left; margin-top: 0.5rem; }
    .tb-sidebar { position: static; }
}
