/* Rental extras + price estimate on vehicle pages (/flotte/*). Dark theme tokens from theme.css. */
body .extras-options{border:0;padding:0;margin:22px 0 6px;min-width:0}
body .extras-options legend{font-weight:600;font-size:14px;color:var(--text);padding:0;margin-bottom:4px}
body .extras-hint{font-size:13px;color:var(--text-2);margin:0 0 12px}
body .extra-option{position:relative;display:grid;grid-template-columns:22px 1fr auto;gap:12px;align-items:center;padding:13px 14px;margin-bottom:9px;border-radius:14px;background:var(--surface-3);border:1px solid #4a4a4a;cursor:pointer;transition:border-color .2s,background .2s}
body .extra-option:hover{border-color:#6a6a6a}
body .extra-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
body .extra-box{width:22px;height:22px;border-radius:7px;border:2px solid #6a6a6a;display:grid;place-items:center;transition:background .2s,border-color .2s}
body .extra-box::after{content:'';width:10px;height:6px;border:2.5px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px);opacity:0;transition:opacity .15s}
body .extra-option input:checked~.extra-box{background:var(--accent);border-color:var(--accent)}
body .extra-option input:checked~.extra-box::after{opacity:1}
body .extra-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
body .extra-option input:focus-visible~.extra-box{box-shadow:0 0 0 3px var(--accent-soft),0 0 0 1px var(--accent)}
body .extra-text{display:flex;flex-direction:column;gap:2px;min-width:0}
body .extra-text strong{font-size:14px;font-weight:600;color:var(--text);line-height:1.35}
body .extra-text small{font-size:12.5px;color:var(--text-2);line-height:1.45}
body .extra-terms{color:var(--accent);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
body .extra-terms:hover{color:var(--accent-hover)}
body .extra-price{text-align:right;font-weight:700;font-size:14px;color:var(--text);white-space:nowrap;line-height:1.3}
body .extra-price small{font-weight:500;font-size:12px;color:var(--text-2)}
body .extra-price .extra-min{display:block;font-size:11px}
body .extra-price.is-free{color:#4ade80;font-size:13px}

body .price-estimate{margin:4px 0 22px;padding:18px 18px 14px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--edge)}
body .price-estimate h3{font-size:15px;margin:0 0 10px;color:var(--text)}
body .price-estimate dl{margin:0}
body .price-estimate dl>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:13.5px;border-bottom:1px dashed #ffffff14}
body .price-estimate dt{color:var(--text-2)}
body .price-estimate dd{margin:0;color:var(--text);font-weight:600;text-align:right;white-space:nowrap}
body .price-estimate .estimate-extra dt::before{content:'+ ';color:var(--accent)}
body .price-estimate .estimate-total{border-bottom:0;padding-top:11px;font-size:15px}
body .price-estimate .estimate-total dt{color:var(--text);font-weight:700}
body .price-estimate .estimate-total dd{color:var(--accent);font-family:var(--display);font-size:20px;font-weight:800}
body .estimate-note{font-size:12px;color:var(--text-2);margin:8px 0 0;line-height:1.5}

@media(max-width:420px){
 body .extra-option{grid-template-columns:22px 1fr;row-gap:6px}
 body .extra-price{grid-column:2;text-align:left}
 body .extra-price .extra-min{display:inline;margin-left:6px}
}

/* Insurance card under "À savoir avant votre départ" → /assurance/ */
body .insurance-card{display:flex;gap:16px;align-items:flex-start;margin-top:16px;padding:18px 20px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--edge);color:var(--text);transition:border-color .2s,transform .2s}
body .insurance-card:hover{border-color:var(--accent);transform:translateY(-2px)}
body .insurance-card-icon{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
body .insurance-card-icon .icon{width:22px;height:22px}
body .insurance-card-text{display:flex;flex-direction:column;gap:4px;min-width:0}
body .insurance-card-text strong{font-size:15px;color:var(--text)}
body .insurance-card-text small{font-size:13.5px;line-height:1.6;color:var(--text-2)}
body .insurance-card-link{display:inline-flex;align-items:center;gap:8px;margin-top:4px;font-size:14px;font-weight:600;color:var(--accent)}
body .insurance-card-link .icon{width:16px;height:16px}
body .insurance-card:hover .insurance-card-link{color:var(--accent-hover)}
