/**
 * booking-skin.css (P11.10, 26 Sep 2026): the Giringiro skin of the PORTED booking chain (vehicle step, details, review, confirmation,
 * my-booking, unlock). Loaded LAST by the ported-page shell (includes/header.php), so it wins ties with booking_process.css and
 * vehicle_select.css. Colours of those two files are already remapped (tools/skin_booking_css.py); this file only changes shapes:
 * one flat magenta primary per step, round payment radios, soft chips, the return upsell in the accent blue, heading scale.
 * Never edit the ported CSS or PHP by hand: change this file.
 */

/* ---- surfaces ---- */
/* one canvas for the whole chain: the remapped warm grey #F1EEEB of booking_process.css (white cards sit on it) */
html .booking-step-card, html .scard, html .conf-card, html .conf-top-card, html .mb-lookup-card, html .vsel-row { border-color: var(--color-border-primary); }

/* ---- headings: one scale (card titles 20 px, sub-card titles 17 px), heading font everywhere ---- */
html .booking-step-title, html .conf-card-title, html .card-collapsed-title, html .mb-lookup-card h1, html .conf-success-title, html .bkms-title, html .scard-title {
    font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.015em; word-spacing: .1em; color: var(--gs-ink);
}
html .booking-step-title, html .mb-lookup-card h1 { font-size: 21px; }
html .card-collapsed-title, html .conf-card-title { font-size: 18px; }

/* ---- primary actions: flat magenta, same on desktop and mobile, never jump ---- */
html .vsel-continue, html .bkbar-continue, html .form-confirm-btn, html .rt-modal-confirm {
    background: var(--gs-magenta) !important; background-image: none !important; color: #fff; box-shadow: none !important;
    transform: none !important; transition: background-color .15s var(--gs-ease);
}
html .vsel-continue:focus-visible, html .bkbar-continue:focus-visible, html .form-confirm-btn:focus-visible { box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), .25) !important; }
html .vsel-continue, html .bkbar-continue { border-radius: var(--radius-md); }
html .form-confirm-btn { border-radius: var(--radius-md); font-family: var(--font-family); font-weight: 700; }
/* secondary dark buttons (PDF ticket) = the ink of the brand, flat */
html .conf-pdf-btn { background: var(--gs-ink); background-image: none; border-radius: var(--radius-md); box-shadow: none; }

/* ---- links inside the chain: magenta, underline on hover only ---- */
html .card-collapsed-edit { font-size: 15px; font-weight: 600; color: var(--gs-magenta); }

/* ---- vehicle rows: selected = magenta ring on white (no tinted fill), sentence-case badge ---- */
html .vsel-row.vsel-row-selected { background: #fff; }
html .vsel-badge { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: var(--radius-sm); }
html .vsel-badge svg { width: 11px; height: 11px; }

/* ---- payment options: round radio, magenta when chosen ---- */
html .payment-option { border-radius: var(--radius-lg); border-width: 1.5px; }
html .payment-option-radio { border-radius: 50%; border: 2px solid var(--color-border-medium); }
html .payment-option-radio::after { inset: 4px; border-radius: 50%; background: var(--gs-magenta); }
html .payment-option-selected { border-color: var(--gs-magenta); box-shadow: 0 0 0 1px var(--gs-magenta); background: #fff; }
html .payment-option-selected .payment-option-radio { border-color: var(--gs-magenta); }

/* ---- "what is included" chips in the price card: soft tiles, not outlined boxes ---- */
html .scard-pill { border: none; background: var(--color-bg-gray-light); border-radius: var(--radius-sm); padding: 6px 8px; font-size: 12.5px; font-weight: 600; color: var(--gs-ink); }
html .scard-pill-btn { cursor: pointer; transition: background-color .15s var(--gs-ease); }

/* ---- add-return upsell: the accent blue (D10 secondary action), solid, no dashed line ---- */
html .scard-add-return { background: var(--color-accent-bg); border: 1.5px solid transparent; color: var(--color-accent); }
html .rt-upsell-card:not(.rt-upsell--plain) { background: var(--color-accent-bg); border-color: transparent; }
html .rt-upsell-card:not(.rt-upsell--plain) .rt-upsell-icon { background: #fff; color: var(--color-accent); }
html .rt-upsell-card:not(.rt-upsell--plain) .rt-upsell-amount { color: var(--color-accent); }
html .rt-upsell-card:not(.rt-upsell--plain) .rt-upsell-btn { background: var(--color-accent); border-radius: var(--radius-md); }
html .rt-upsell-title { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.015em; word-spacing: .1em; }

/* ---- flight number: the input is uppercase, its placeholder ("es. LH1868") is not ---- */
html .flight-input::placeholder { text-transform: none; }

/* ---- WhatsApp buttons: white on #25D366 is 2:1; the darker WhatsApp green (as on /contatti) passes 4.5:1 ---- */
html .conf-support-btn--whatsapp, html .short-notice-btn--whatsapp { background: #0F7A6E; border-color: #0F7A6E; color: #fff; }
html .vsel-wa-btn { background: #0F7A6E; }
html .vsel-wa-btn:focus-visible { background: #0B5F56; box-shadow: none; transform: none; }
html .vsel-wa-btn:focus-visible { outline-color: rgba(15, 122, 110, .45); }

/* the platform's own :hover rules (green WhatsApp, lifted buttons) are reset here, so a tap on a phone changes nothing */
html .vsel-wa-btn:hover { background: #0F7A6E; box-shadow: none; transform: none; }
html .conf-support-btn--whatsapp:hover, html .short-notice-btn--whatsapp:hover { background: #0F7A6E; border-color: #0F7A6E; color: #fff; }

/* ---- hover only where a real pointer hovers (a tapped button on a phone keeps :hover and looked darker) ---- */
@media (hover: hover) {
    html .vsel-continue:hover, html .bkbar-continue:hover, html .form-confirm-btn:hover, html .rt-modal-confirm:hover { background: var(--gs-magenta-dark) !important; }
    html .conf-pdf-btn:hover { background: #2A2724; color: #fff; }
    html .card-collapsed-edit:hover { color: var(--gs-magenta-dark); text-decoration: underline; text-underline-offset: 3px; }
    html .scard-pill-btn:hover { background: #E8E4E0; }
    html .scard-add-return:hover { border-color: var(--color-accent); }
    html .rt-upsell-card:not(.rt-upsell--plain) .rt-upsell-btn:hover { background: #1639CC; }
    html .conf-support-btn--whatsapp:hover, html .short-notice-btn--whatsapp:hover { background: #0B5F56; border-color: #0B5F56; color: #fff; }
    html .vsel-wa-btn:hover { background: #0B5F56; box-shadow: none; transform: none; }
}

/* ---- a11y (axe wcag2aa, 26 Sep 2026): the platform's light captions and badge green were under 4.5:1 ---- */
html .vsel-price-cap, html .vsel-wa-legal, html .vsel-wa-legal-full, html .vsel-wa-legal-short { color: var(--color-text-muted); }
html .vsel-badge--best_value { color: #15703A; }
