/* Formulaire de réservation du client (plugin Chauffeur Booking System) habillé noir et or : sobre, luxueux.
   Le plugin n'est pas modifié, seule son apparence change. Palette : noir, or du logo (#D9C386), ivoire pour le texte.
   Les règles du plugin sont très spécifiques et il choisit sa mise en page d'après sa largeur (classes chbs-width-*) :
   on passe par-dessus avec le préfixe « html body .spd-formulaire » et, quand il le faut, !important. */

.spd-formulaire {
  --f-fond: #0B0B0D;
  --f-surface: #151518;
  --f-texte: #F3F0E9;
  --f-gris: #A9A598;
  --f-or: #D9C386;
  --f-trait: rgba(217, 195, 134, .28);
  --f-trait-fort: rgba(217, 195, 134, .6);
  --f-rayon: 22px;
  color: var(--f-texte);
  font-family: var(--font-body, 'Albert Sans', system-ui, sans-serif);
}
html body .spd-formulaire .chbs-main { background: transparent; box-shadow: none; border: 0; color: var(--f-texte); font-family: inherit; }
html body .spd-formulaire .chbs-main *, html body .spd-formulaire .chbs-main *::before { font-family: inherit; }
html body .spd-formulaire .chbs-main h2, html body .spd-formulaire .chbs-main h3, html body .spd-formulaire .chbs-main h4 { font-family: var(--font-heading, 'Libre Caslon Display', Georgia, serif); font-weight: 500; color: var(--f-texte); letter-spacing: 0; text-transform: none; }

/* ---------- Fil d'étapes : « 1. TRAJET », or sur l'étape en cours ---------- */
html body .spd-formulaire .chbs-main-navigation-default { background: transparent; border: 0; padding: 0; margin: 0 0 34px; }
html body .spd-formulaire .chbs-main-navigation-default > ul { display: flex; gap: 18px; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li { flex: 1 1 0; position: relative; text-align: left; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li::before, html body .spd-formulaire .chbs-main-navigation-default > ul > li > div { display: none; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li > a { display: flex; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 0 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--f-trait); box-shadow: none; transition: border-color .3s; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li.chbs-state-selected > a { border-bottom: 2px solid var(--f-or); }
html body .spd-formulaire .chbs-main-navigation-default > ul > li > a > span:first-child { display: inline; width: auto; height: auto; border: 0; border-radius: 0; background: transparent !important; color: var(--f-gris) !important; font: 500 11.5px/1 var(--font-body, 'Albert Sans', system-ui, sans-serif); letter-spacing: .16em; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li > a > span:first-child::after { content: "."; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li.chbs-state-selected > a > span:first-child { color: var(--f-or) !important; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li > a > span:last-child { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--f-gris); text-align: left; }
html body .spd-formulaire .chbs-main-navigation-default > ul > li.chbs-state-selected > a > span:last-child { color: var(--f-texte); }

/* ---------- Transfert / Mise à disposition : deux pilules, l'or pour le choix actif ---------- */
html body .spd-formulaire .chbs-tab.ui-tabs { background: transparent; border: 0; }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; box-sizing: border-box; padding: 0; margin: 0 0 22px; background: transparent; border: 0; border-radius: 0; }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav::before, html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav::after { display: none !important; content: none; }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav > li { float: none !important; width: auto !important; margin: 0; border: 0; background: transparent; }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav > li > a.ui-tabs-anchor { float: none !important; display: block; width: 100%; box-sizing: border-box; padding: 14px 10px; text-align: center; border: 1px solid var(--f-trait); border-radius: 999px; background: transparent !important; color: var(--f-texte) !important; font: 400 14px/1 var(--font-body, 'Albert Sans', system-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav > li > a.ui-tabs-anchor:hover { border-color: var(--f-or); }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a.ui-tabs-anchor { background: var(--f-or) !important; border-color: var(--f-or); color: #0B0B0D !important; font-weight: 500; }
html body .spd-formulaire .chbs-tab.ui-tabs .ui-tabs-panel { background: transparent; border: 0 !important; padding: 0; }

/* ---------- Colonnes ---------- */
html body .spd-formulaire .chbs-main .chbs-layout-50x50 { display: grid !important; flex-direction: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
html body .spd-formulaire .chbs-main .chbs-layout-25x75 { display: grid !important; flex-direction: row; grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
html body .spd-formulaire .chbs-main .chbs-layout-50x50 > .chbs-layout-column-left, html body .spd-formulaire .chbs-main .chbs-layout-50x50 > .chbs-layout-column-right,
html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-left, html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-right { float: none; width: auto; margin: 0; clear: none; }
html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-left { position: sticky; top: 120px; }

/* ---------- Champs : soulignés, libellés en or ---------- */
html body .spd-formulaire .chbs-form-field { position: relative; background: transparent; border: 0; padding: 0; margin: 0 0 18px; box-sizing: border-box; }
html body .spd-formulaire .chbs-form-field-label, html body .spd-formulaire .chbs-form-field > label { display: block; margin: 0 0 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--f-or); }
html body .spd-formulaire .chbs-form-label-group { display: block; background: transparent !important; border: 0 !important; padding: 0 !important; margin: 26px 0 14px; font: 500 26px/1.1 var(--font-heading, 'Libre Caslon Display', Georgia, serif); color: var(--f-texte); letter-spacing: 0; text-transform: none; }
html body .spd-formulaire .chbs-main input[type=text], html body .spd-formulaire .chbs-main input[type=email], html body .spd-formulaire .chbs-main input[type=tel], html body .spd-formulaire .chbs-main input[type=number],
html body .spd-formulaire .chbs-main select, html body .spd-formulaire .chbs-main .ui-selectmenu-button {
  width: 100%; box-sizing: border-box; min-height: 50px; padding: 0 2px; background: transparent; color: var(--f-texte); border: 0; border-bottom: 1px solid var(--f-trait-fort); border-radius: 0; box-shadow: none;
  font: 400 16px/1.2 var(--font-body, 'Albert Sans', system-ui, sans-serif); transition: border-color .2s;
}
html body .spd-formulaire .chbs-main textarea { width: 100%; box-sizing: border-box; min-height: 110px; padding: 14px 16px; background: transparent; color: var(--f-texte); border: 1px solid var(--f-trait); border-radius: 16px; box-shadow: none; font: 400 16px/1.4 var(--font-body, 'Albert Sans', system-ui, sans-serif); }
html body .spd-formulaire .chbs-main input:focus, html body .spd-formulaire .chbs-main select:focus, html body .spd-formulaire .chbs-main .ui-selectmenu-button:focus { outline: none; box-shadow: none; border-bottom: 2px solid var(--f-or); }
html body .spd-formulaire .chbs-main textarea:focus { outline: none; border-color: var(--f-or); }
html body .spd-formulaire .chbs-main ::placeholder { color: #7D7A71; opacity: 1; }
html body .spd-formulaire .chbs-main input:-webkit-autofill { -webkit-text-fill-color: var(--f-texte); box-shadow: 0 0 0 1000px #151518 inset; }
html body .spd-formulaire .chbs-form-field-location-autocomplete input, html body .spd-formulaire .chbs-form-field-pickup-date-time input, html body .spd-formulaire .chbs-form-field-return-date-time input { padding-left: 30px; }
html body .spd-formulaire .chbs-form-field > [class*="chbs-meta-icon-2-"] { position: absolute; left: 2px; top: auto; bottom: 17px; margin: 0; line-height: 1; color: var(--f-or); }
html body .spd-formulaire .chbs-form-field-pickup-date-time, html body .spd-formulaire .chbs-form-field-return-date-time { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
html body .spd-formulaire .chbs-form-field-pickup-date-time > .chbs-form-field, html body .spd-formulaire .chbs-form-field-return-date-time > .chbs-form-field { width: auto; float: none; margin: 0 0 18px; }
html body .spd-formulaire .chbs-main .ui-selectmenu-button { display: flex; align-items: center; position: relative; }
html body .spd-formulaire .chbs-main .ui-selectmenu-button .ui-selectmenu-text { padding: 0; margin: 0; line-height: 1.2; color: var(--f-texte); }
html body .spd-formulaire .chbs-main .ui-selectmenu-button > [class*="chbs-meta-icon-arrow"] { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--f-or); }
html body .spd-formulaire .chbs-location-add, html body .spd-formulaire .chbs-location-remove { background: transparent; color: var(--f-or); border: 1px solid var(--f-trait); border-radius: 50%; }
html body .spd-formulaire .chbs-my-location-link { color: var(--f-or); }

/* ---------- Boutons ---------- */
html body .spd-formulaire .chbs-button { height: 56px; padding: 0 32px; border-radius: 999px; border: 1px solid var(--f-or); background: transparent !important; color: var(--f-or) !important; box-shadow: none; font: 500 13.5px/1 var(--font-body, 'Albert Sans', system-ui, sans-serif); letter-spacing: .16em; text-transform: uppercase; transition: background .25s, color .25s, transform .25s; }
html body .spd-formulaire .chbs-button.chbs-button-style-1 { background: var(--f-or) !important; color: #0B0B0D !important; }
html body .spd-formulaire .chbs-button:hover { transform: translateY(-1px); }
html body .spd-formulaire .chbs-button.chbs-button-style-1:hover { background: #E6D49B !important; }
html body .spd-formulaire .chbs-button.chbs-button-style-2:hover { background: rgba(217, 195, 134, .12) !important; }
html body .spd-formulaire .chbs-button.chbs-button-style-2.chbs-state-selected { background: var(--f-or) !important; color: #0B0B0D !important; }
html body .spd-formulaire .chbs-button:focus-visible { outline: 2px solid var(--f-texte); outline-offset: 3px; }
html body .spd-formulaire .chbs-main-content-navigation-button { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* ---------- Carte, distance et durée ---------- */
html body .spd-formulaire .chbs-google-map { border-radius: var(--f-rayon); overflow: hidden; border: 1px solid var(--f-trait); box-shadow: none; }
html body .spd-formulaire .chbs-ride-info { background: var(--f-surface); border: 1px solid var(--f-trait); border-radius: var(--f-rayon); box-shadow: none; padding: 18px 22px; }
html body .spd-formulaire .chbs-ride-info, html body .spd-formulaire .chbs-ride-info * { color: var(--f-texte); }
html body .spd-formulaire .chbs-ride-info [class*="chbs-meta-icon"] { color: var(--f-or); }

/* ---------- Récapitulatif (étapes 2 à 4) ---------- */
html body .spd-formulaire .chbs-summary { background: var(--f-surface); border: 1px solid var(--f-trait); border-radius: 26px; box-shadow: none; padding: 26px 26px 20px; }
html body .spd-formulaire .chbs-summary-header { margin-bottom: 6px; }
html body .spd-formulaire .chbs-summary-header h4 { font-size: 28px; margin: 0; }
html body .spd-formulaire .chbs-summary-header > a { color: var(--f-or) !important; }
html body .spd-formulaire .chbs-summary-field { padding: 14px 0; border: 0; border-top: 1px solid var(--f-trait); }
html body .spd-formulaire .chbs-summary-field:first-of-type { border-top: 0; }
html body .spd-formulaire .chbs-summary-field-name { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--f-or); margin-bottom: 4px; }
html body .spd-formulaire .chbs-summary-field-value { font-size: 16px; line-height: 1.4; color: var(--f-texte); }
html body .spd-formulaire .chbs-summary-price-element { padding-top: 14px; border-top: 1px solid var(--f-trait); font-size: 15px; color: var(--f-texte); }
html body .spd-formulaire .chbs-summary-price-element * { color: inherit; }
html body .spd-formulaire .chbs-summary-price-element > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
html body .spd-formulaire .chbs-summary-price-element-total { margin-top: 8px; padding-top: 12px !important; border-top: 1px solid var(--f-or); font: 500 26px/1.1 var(--font-heading, 'Libre Caslon Display', Georgia, serif); color: var(--f-or); }

/* ---------- Étape 2 : véhicules ---------- */
html body .spd-formulaire .chbs-vehicle-filter { background: transparent; border: 0; box-shadow: none; padding: 0; margin-bottom: 22px; }
html body .spd-formulaire .chbs-vehicle-filter .chbs-form-field { display: inline-block; vertical-align: top; width: calc(50% - 12px); margin-right: 20px; }
html body .spd-formulaire .chbs-vehicle-filter .chbs-form-field:last-of-type { margin-right: 0; }
html body .spd-formulaire .chbs-vehicle-list > ul > li { margin: 0 0 16px; }
html body .spd-formulaire .chbs-main .chbs-vehicle { display: grid; grid-template-columns: minmax(170px, 36%) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; padding: 22px; background: var(--f-surface); border: 1px solid var(--f-trait); border-radius: 26px; box-shadow: none; transition: border-color .3s; }
html body .spd-formulaire .chbs-main .chbs-vehicle:hover { border-color: var(--f-trait-fort); }
html body .spd-formulaire .chbs-main .chbs-vehicle:has(.chbs-state-selected) { border-color: var(--f-or); box-shadow: 0 0 0 1px var(--f-or); }
html body .spd-formulaire .chbs-main .chbs-vehicle::before, html body .spd-formulaire .chbs-main .chbs-vehicle::after { display: none !important; }
html body .spd-formulaire .chbs-main .chbs-vehicle .chbs-vehicle-image { float: none !important; width: auto !important; max-width: none; margin: 0; }
html body .spd-formulaire .chbs-main .chbs-vehicle .chbs-vehicle-image > img { display: block; width: 100%; height: auto; }
html body .spd-formulaire .chbs-main .chbs-vehicle .chbs-vehicle-image + .chbs-vehicle-content, html body .spd-formulaire .chbs-main .chbs-vehicle .chbs-vehicle-image + .chbs-vehicle-gallery + .chbs-vehicle-content { margin-left: 0 !important; float: none; width: auto; padding: 0; }
html body .spd-formulaire .chbs-main .chbs-vehicle .chbs-vehicle-content > div.chbs-vehicle-content-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; height: auto; overflow: visible; text-align: left; }
html body .spd-formulaire .chbs-main .chbs-vehicle .chbs-vehicle-content > div.chbs-vehicle-content-header > span:first-child { width: auto; float: none; padding: 0; text-align: left; font: 500 clamp(26px, 2.4vw, 34px)/1.05 var(--font-heading, 'Libre Caslon Display', Georgia, serif); color: var(--f-texte); text-transform: none; letter-spacing: 0; }
html body .spd-formulaire .chbs-main .chbs-vehicle-content-header .chbs-button { height: 48px; padding: 0 22px; white-space: nowrap; }
html body .spd-formulaire .chbs-vehicle-content-price { margin: 14px 0 12px; font: 500 clamp(38px, 4vw, 54px)/1 var(--font-heading, 'Libre Caslon Display', Georgia, serif); color: var(--f-or) !important; }
html body .spd-formulaire .chbs-vehicle-content-price * { color: inherit !important; font: inherit; }
html body .spd-formulaire .chbs-vehicle-content-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--f-gris); font-size: 14px; }
html body .spd-formulaire .chbs-main .chbs-vehicle-content-meta > div { float: none; display: flex; align-items: center; gap: 10px; }
html body .spd-formulaire .chbs-vehicle-content-meta img, html body .spd-formulaire .chbs-vehicle-content-meta svg { max-height: 26px; width: auto; filter: invert(1) sepia(.4) saturate(1.6) hue-rotate(5deg) brightness(.9); opacity: .85; }

/* ---------- Options, coordonnées, paiement ---------- */
html body .spd-formulaire .chbs-booking-extra { margin-top: 26px; }
html body .spd-formulaire .chbs-booking-extra > ul > li, html body .spd-formulaire .chbs-client-form, html body .spd-formulaire .chbs-payment-form { background: var(--f-surface); border: 1px solid var(--f-trait); border-radius: 22px; box-shadow: none; padding: 18px 20px; margin-bottom: 12px; color: var(--f-texte); }
html body .spd-formulaire .chbs-notice { border-radius: 14px; background: rgba(217, 195, 134, .1); border: 1px solid var(--f-trait); color: var(--f-texte); }
html body .spd-formulaire .chbs-form-checkbox { border-color: var(--f-trait-fort); background: transparent; }
html body .spd-formulaire .chbs-form-checkbox.chbs-state-selected, html body .spd-formulaire .chbs-form-checkbox:has(input:checked) { background: var(--f-or); border-color: var(--f-or); }
html body .spd-formulaire .chbs-payment > li > a { background: transparent; color: var(--f-texte); border: 1px solid var(--f-trait); border-radius: 18px; }
html body .spd-formulaire .chbs-payment > li > a.chbs-state-selected { border-color: var(--f-or); box-shadow: 0 0 0 1px var(--f-or); }

/* ---------- Fenêtres du plugin ajoutées à la page : calendrier, heure, listes ---------- */
.chbs-booking-form-id-214.ui-datepicker, .ui-timepicker-wrapper, .ui-selectmenu-menu .ui-menu { background: #151518 !important; border: 1px solid rgba(217, 195, 134, .4) !important; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5) !important; color: #F3F0E9 !important; overflow: hidden; font-family: var(--font-body, 'Albert Sans', system-ui, sans-serif); }
/* Liste des heures : le plugin la rend défilable, ne pas la rogner */
.ui-timepicker-wrapper { overflow-y: auto !important; overflow-x: hidden !important; max-height: 240px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #D9C386 #151518; -webkit-overflow-scrolling: touch; }
.ui-timepicker-wrapper::-webkit-scrollbar { width: 8px; } .ui-timepicker-wrapper::-webkit-scrollbar-thumb { background: #D9C386; border-radius: 8px; } .ui-timepicker-wrapper::-webkit-scrollbar-track { background: #151518; }
.chbs-booking-form-id-214.ui-datepicker * { color: #F3F0E9; }
.chbs-booking-form-id-214.ui-datepicker .ui-datepicker-header { background: transparent; border: 0; }
.chbs-booking-form-id-214.ui-datepicker td a, .chbs-booking-form-id-214.ui-datepicker td span { background: transparent; border: 0; text-align: center; }
.chbs-booking-form-id-214.ui-datepicker td a.ui-state-active, .chbs-booking-form-id-214.ui-datepicker td a.ui-state-hover { background: #D9C386 !important; color: #0B0B0D !important; border-radius: 50%; }
.ui-timepicker-wrapper .ui-timepicker-list li, .ui-selectmenu-menu .ui-menu .ui-menu-item-wrapper { color: #F3F0E9; background: transparent; }
.ui-timepicker-wrapper .ui-timepicker-list li:hover, .ui-timepicker-wrapper .ui-timepicker-list li.ui-timepicker-selected, .ui-selectmenu-menu .ui-menu .ui-state-active { background: #D9C386 !important; color: #0B0B0D !important; border: 0; }

/* ---------- Téléphone ---------- */
@media (max-width: 900px) {
  html body .spd-formulaire .chbs-main .chbs-layout-50x50, html body .spd-formulaire .chbs-main .chbs-layout-25x75 { grid-template-columns: 1fr; }
  html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-left { position: static; order: 2; }
  html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-right { order: 1; }
  html body .spd-formulaire .chbs-main-navigation-default > ul > li > a > span:last-child { display: none; }
  html body .spd-formulaire .chbs-main-navigation-default > ul > li > a { justify-content: center; }
  html body .spd-formulaire .chbs-main .chbs-vehicle { grid-template-columns: 1fr; padding: 18px; }
  html body .spd-formulaire .chbs-vehicle-image { max-width: 340px; }
  html body .spd-formulaire .chbs-vehicle-filter .chbs-form-field { width: 100%; margin-right: 0; }
  html body .spd-formulaire .chbs-main-content-navigation-button .chbs-button { flex: 1; padding: 0 14px; }
  html body .spd-formulaire .chbs-form-field-pickup-date-time, html body .spd-formulaire .chbs-form-field-return-date-time { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html body .spd-formulaire .chbs-button, html body .spd-formulaire .chbs-main input, html body .spd-formulaire .chbs-vehicle { transition: none; } }

/* ---------- Retouches de contraste (le plugin impose des gris-bleu très spécifiques) ---------- */
html body .spd-formulaire .chbs-main .chbs-summary, html body .spd-formulaire .chbs-main .chbs-summary * { color: var(--f-texte) !important; }
html body .spd-formulaire .chbs-main .chbs-summary .chbs-summary-field-name { color: var(--f-or) !important; }
html body .spd-formulaire .chbs-main .chbs-summary .chbs-summary-header h4 { color: var(--f-or) !important; }
html body .spd-formulaire .chbs-main .chbs-summary .chbs-summary-price-element-total, html body .spd-formulaire .chbs-main .chbs-summary .chbs-summary-price-element-total * { color: var(--f-or) !important; }
html body .spd-formulaire .chbs-main .chbs-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; line-height: 1; }
html body .spd-formulaire .chbs-main .chbs-button * { color: inherit !important; line-height: 1; }
html body .spd-formulaire .chbs-main .chbs-vehicle-list > ul > li { border: 0; padding: 0; }
.ui-timepicker-wrapper .ui-timepicker-list li { color: #F3F0E9 !important; background: transparent !important; }
.ui-timepicker-wrapper .ui-timepicker-list li:hover, .ui-timepicker-wrapper .ui-timepicker-list li.ui-timepicker-selected { background: #D9C386 !important; color: #0B0B0D !important; }
.chbs-booking-form-id-214.ui-datepicker td a, .chbs-booking-form-id-214.ui-datepicker td span, .chbs-booking-form-id-214.ui-datepicker th, .chbs-booking-form-id-214.ui-datepicker .ui-datepicker-title { color: #F3F0E9 !important; opacity: 1 !important; }
.chbs-booking-form-id-214.ui-datepicker td.ui-datepicker-unselectable span { color: #6B685F !important; }
.chbs-booking-form-id-214.ui-datepicker td a.ui-state-active, .chbs-booking-form-id-214.ui-datepicker td a.ui-state-hover { color: #0B0B0D !important; }
html body .spd-formulaire .chbs-main .chbs-button { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; height: 56px; line-height: 1 !important; padding-top: 0 !important; padding-bottom: 0 !important; text-align: center; box-sizing: border-box; }
html body .spd-formulaire .chbs-main .chbs-vehicle-content-header .chbs-button { height: 48px; width: 210px; flex: 0 0 210px; min-width: 0; padding-left: 0 !important; padding-right: 0 !important; line-height: 1 !important; }

/* ---------- Colonne de gauche : le plugin la rend collante par script, ce qui la faisait chevaucher les boutons ---------- */
html body .spd-formulaire .chbs-main .theiaStickySidebar { position: static !important; top: auto !important; left: auto !important; transform: none !important; width: auto !important; }
html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-left { align-self: start; }
html body .spd-formulaire .chbs-main .chbs-summary-price-element { margin-top: 12px; padding: 16px 22px 18px; background: var(--f-surface); border: 1px solid var(--f-trait); border-radius: 22px; }
html body .spd-formulaire .chbs-main .chbs-summary-price-element, html body .spd-formulaire .chbs-main .chbs-summary-price-element * { color: var(--f-texte) !important; }
html body .spd-formulaire .chbs-main .chbs-summary-price-element .chbs-summary-price-element-total, html body .spd-formulaire .chbs-main .chbs-summary-price-element .chbs-summary-price-element-total * { color: var(--f-or) !important; }
html body .spd-formulaire .chbs-main .chbs-summary-price-element > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; }
html body .spd-formulaire .chbs-main .chbs-summary-price-element-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--f-or) !important; }
html body .spd-formulaire .chbs-main .chbs-main-content-navigation-button { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; clear: both; }
html body .spd-formulaire .chbs-main .chbs-main-content-navigation-button .chbs-button { float: none; margin: 0; }
html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-left { height: auto !important; min-height: 0 !important; }
html body .spd-formulaire .chbs-main .chbs-main-content-step-2 .chbs-main-content-navigation-button, html body .spd-formulaire .chbs-main .chbs-main-content-step-3 .chbs-main-content-navigation-button, html body .spd-formulaire .chbs-main .chbs-main-content-step-4 .chbs-main-content-navigation-button { position: relative; z-index: 1; }
html body .spd-formulaire .chbs-main .chbs-layout-25x75 > .chbs-layout-column-left { position: static !important; top: auto !important; }

/* La carte du trajet et la carte distance/durée ne se touchent plus. */
html body .spd-formulaire .chbs-google-map { margin-bottom: 18px !important; }
html body .spd-formulaire .chbs-ride-info { margin-top: 0 !important; position: relative; clear: both; }

/* ---------- Bulles d'erreur du plugin : lisibles sur fond noir ---------- */
.qtip { background: #D9C386 !important; border: 0 !important; border-radius: 10px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .45) !important; max-width: 320px; }
.qtip-content { color: #0B0B0D !important; font: 500 15px/1.35 var(--font-body, 'Albert Sans', system-ui, sans-serif) !important; padding: 10px 14px !important; }
.qtip-tip, .qtip .qtip-tip { display: none !important; }

/* Bouton d'étape écrasé sur téléphone (14/11/2026) : le plugin met la barre de boutons en colonne quand le formulaire est étroit (classe chbs-width-300),
   et « flex: 1 » faisait alors rétrécir la hauteur des boutons à 22 px. En colonne ils gardent leur hauteur et prennent toute la largeur. */
html body .spd-formulaire .chbs-main .chbs-main-content-navigation-button .chbs-button { min-height: 56px; }
html body .spd-formulaire .chbs-main.chbs-width-300 .chbs-main-content-navigation-button { gap: 12px; }
html body .spd-formulaire .chbs-main.chbs-width-300 .chbs-main-content-navigation-button .chbs-button { flex: 0 0 auto; width: 100%; }

/* Formulaire en attente de ses scripts (14/11/2026) : la place reste réservée et un petit cercle tourne, au lieu d'une section vide puis d'un saut de page. */
.spd-formulaire:has(.chbs-main.chbs-hidden) { position: relative; min-height: 640px; }
.spd-formulaire:has(.chbs-main.chbs-hidden)::after { content: ""; position: absolute; left: 50%; top: 120px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 2px solid rgba(217, 195, 134, .25); border-top-color: #D9C386; animation: spd-attente 1s linear infinite; }
@keyframes spd-attente { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spd-formulaire:has(.chbs-main.chbs-hidden)::after { animation: none; } }

/* Téléphone : distance et durée côte à côte pour un cadre moins haut (14/11/2026). */
@media (max-width: 700px) {
  html body .spd-formulaire .chbs-main .chbs-ride-info { display: grid; grid-template-columns: 1fr 1fr; padding: 6px 0; }
  html body .spd-formulaire .chbs-main .chbs-ride-info > div { display: block; width: auto; min-width: 0; padding: 18px 8px 16px; text-align: center; }
  html body .spd-formulaire .chbs-main .chbs-ride-info > div + div { border-left: 1px solid var(--f-trait); }
  html body .spd-formulaire .chbs-main .chbs-ride-info [class*="chbs-meta-icon"] { display: block; margin: 0 auto 8px; font-size: 34px; line-height: 1; height: auto; width: auto; }
  html body .spd-formulaire .chbs-main .chbs-ride-info > div > span:nth-child(2) { font-size: 11.5px; letter-spacing: .08em; line-height: 1.3; }
  html body .spd-formulaire .chbs-main .chbs-ride-info > div > span:nth-child(3) { font-size: 24px; line-height: 1.2; padding-top: 6px; white-space: nowrap; }
}

/* Liste des heures sur téléphone (14/11/2026, vu dans Safari iPhone) : seules 5 lignes (0:00 à 1:00) étaient visibles et iOS cache la barre de défilement,
   le client croyait que la liste s'arrêtait à 1 h. Liste plus haute : neuf lignes visibles, on voit qu'elle continue. */
@media (max-width: 700px) {
  .ui-timepicker-wrapper { height: min(44vh, 400px) !important; max-height: min(44vh, 400px) !important; }
}

/* « Carte bleue » est un terme français : le logo du plugin est remplacé par une icône et le libellé « Carte bancaire » (demande du client, 15/11/2026). */
html body .spd-formulaire .chbs-main .chbs-payment > li > a.chbs-payment-background-image { background-image: url(../images/carte-bancaire-or.svg) !important; background-size: auto 46px !important; background-position: center 34% !important; background-repeat: no-repeat !important; position: relative; }
html body .spd-formulaire .chbs-main .chbs-payment > li > a.chbs-payment-background-image::after { content: "Carte bancaire"; position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font: 500 22px/1 var(--font-heading, 'Libre Caslon Display', Georgia, serif); letter-spacing: .04em; color: #D9C386; }
html[lang^="en"] body .spd-formulaire .chbs-main .chbs-payment > li > a.chbs-payment-background-image::after { content: "Bank card"; }
