/* Chauffeur Booking — styles front (scopés #chb-app) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Manrope:wght@400;600;700&display=swap');

#chb-app { max-width: 460px; font-family: 'Manrope', sans-serif; }
#chb-app * { box-sizing: border-box; }

.chb-card { background: rgba(20,20,20,0.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #4a4a4a; border-radius: 16px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); color: #ececec; }

.chb-tabs { display: flex; gap: 6px; background: #2b2b2b; padding: 5px; border-radius: 10px; }
.chb-tab { flex: 1; padding: 10px 0; border: none; background: transparent; color: #a8a8a8; font-size: 14px; border-radius: 7px; cursor: pointer; font-family: inherit; font-weight: 600; }
.chb-tab.active { background: #b8b8b8; color: #2b2b2b; }

.chb-fields { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.chb-row { display: flex; gap: 14px; }
.chb-col { flex: 1; } .chb-col-full { margin-bottom: 14px; }

.chb-label { display: block; font-size: 12px; color: #a8a8a8; margin-bottom: 7px; font-weight: 600; }
.chb-input { width: 100%; background: #2b2b2b; border: 1px solid #4a4a4a; border-radius: 9px; padding: 12px 13px; color: #ececec; font-size: 15px; font-family: inherit; outline: none; }
.chb-input:focus { border-color: #b8b8b8; }

.chb-autocomplete { position: relative; }
.chb-dropdown { position: absolute; top: 100%; left: 0; right: 0; margin-top: 6px; background: #141414; border: 1px solid #4a4a4a; border-radius: 10px; list-style: none; padding: 6px; margin-bottom: 0; z-index: 50; box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.chb-option { padding: 10px 11px; border-radius: 7px; cursor: pointer; font-size: 14px; }
.chb-option:hover { background: #3a3a3a; }

.chb-duree-row { display: flex; gap: 8px; }
.chb-duree { flex: 1; padding: 11px 0; background: #2b2b2b; border: 1px solid #4a4a4a; border-radius: 9px; color: #a8a8a8; cursor: pointer; font-family: inherit; font-weight: 600; }
.chb-duree.active { background: #b8b8b8; color: #2b2b2b; border-color: #b8b8b8; }

.chb-map { width: 100%; height: 240px; border-radius: 12px; overflow: hidden; margin-top: 16px; }

.chb-cta { width: 100%; margin-top: 22px; padding: 15px 0; background: #b8b8b8; border: none; border-radius: 10px; color: #2b2b2b; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }

.chb-back { background: none; border: none; color: #a8a8a8; cursor: pointer; font-size: 16px; font-family: inherit; padding: 0; margin-bottom: 20px; }
.chb-h2 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; margin: 0 0 10px; }
.chb-recap { font-size: 14px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #404040; }

.chb-veh-list { display: flex; flex-direction: column; gap: 12px; }
.chb-veh { text-align: left; background: #141414; border: 1px solid #4a4a4a; border-radius: 13px; padding: 16px 18px; cursor: pointer; font-family: inherit; color: #ececec; }
.chb-veh.active { border-color: #b8b8b8; box-shadow: 0 0 0 1px #b8b8b8; }
.chb-veh-top { display: flex; justify-content: space-between; align-items: flex-start; }
.chb-veh-nom { font-size: 17px; font-weight: 700; }
.chb-veh-desc { font-size: 13px; color: #a8a8a8; margin-top: 3px; }
.chb-veh-prix { font-size: 20px; font-weight: 700; font-family: 'Cormorant Garamond', serif; }
.chb-veh-cap { font-size: 12px; color: #777777; margin-top: 9px; }

.chb-total-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding: 18px 20px; background: #2b2b2b; border: 1px solid #4a4a4a; border-radius: 13px; }
.chb-total-label { font-size: 13px; color: #a8a8a8; }
.chb-total { font-size: 28px; font-weight: 700; font-family: 'Cormorant Garamond', serif; color: #b8b8b8; }

.chb-pay-label { font-size: 12px; color: #a8a8a8; font-weight: 600; margin: 18px 0 10px; }
.chb-payment { background: #2b2b2b; border: 1px solid #4a4a4a; border-radius: 10px; padding: 14px; }
.chb-msg { font-size: 13px; color: #b8b8b8; margin-top: 12px; min-height: 18px; }

/* Note d'estimation sous le bouton Envoyer */
#chb-app .chb-note { font-size: 11px; line-height: 1.4; color: #999999; text-align: center; margin-top: 14px; }

/* Effets hover gris clair sur les boutons */
#chb-app .chb-cta { transition: background .18s ease, color .18s ease; }
#chb-app .chb-cta:hover { background: #e0e0e0; color: #141414; }
#chb-app .chb-tab { transition: background .18s ease, color .18s ease; }
#chb-app .chb-tab:hover:not(.active) { background: #3a3a3a; color: #e0e0e0; }
#chb-app .chb-duree { transition: background .18s ease, color .18s ease; }
#chb-app .chb-duree:hover:not(.active) { background: #3a3a3a; color: #e0e0e0; }
#chb-app .chb-veh { transition: border-color .18s ease, background .18s ease; }
#chb-app .chb-veh:hover { background: #3a3a3a; }
#chb-app .chb-back { transition: color .18s ease; }
#chb-app .chb-back:hover { color: #f5f5f5; }

/* Menu deroulant duree (mise a disposition) */
#chb-app .chb-duree-select { width: 100%; cursor: pointer; color-scheme: dark; }

/* Override survol theme (annule la couleur d'accent du theme) */
#chb-app .chb-back, #chb-app .chb-back:hover, #chb-app .chb-back:focus, #chb-app .chb-back:active { text-decoration: none !important; }
#chb-app .chb-back:hover { color: #f5f5f5 !important; }
#chb-app a, #chb-app a:hover, #chb-app a:focus, #chb-app button:hover { color: inherit; }
#chb-app .chb-cta:hover { background: #e0e0e0 !important; color: #141414 !important; }

/* Neutralisation globale accent theme (orange/rose) dans tout le plugin */
#chb-app a:hover, #chb-app a:focus, #chb-app a:active,
#chb-app button:hover, #chb-app button:focus, #chb-app button:active,
#chb-app .chb-tab:hover, #chb-app .chb-duree:hover, #chb-app .chb-veh:hover,
#chb-app .chb-back:hover, #chb-app .chb-back:focus {
  color: inherit;
}
/* Reapplique les survols gris voulus par-dessus */
#chb-app .chb-cta:hover { background: #e0e0e0 !important; color: #141414 !important; }
#chb-app .chb-tab:hover:not(.active) { background: #3a3a3a !important; color: #e0e0e0 !important; }
#chb-app .chb-duree:hover:not(.active) { background: #3a3a3a !important; color: #e0e0e0 !important; }
#chb-app .chb-veh:hover { background: #3a3a3a !important; }
#chb-app .chb-back:hover { color: #f5f5f5 !important; }
#chb-app .chb-option:hover { background: #3a3a3a !important; color: #ececec !important; }
