/* Oddicy Billetterie, bloc de réservation.
   Reprend les variables et les classes du thème (bc-label, qty-ctrl, btn, urgency…). */

.odb-book { --odb-line: var(--border2, rgba(255,255,255,.16)); --odb-hi: var(--vlight, #8A76F0); --odb-dim: var(--vdim, rgba(108,84,226,.14)); --odb-muted: var(--muted, rgba(250,238,230,.55)); --odb-warn: rgba(255,190,90,.9); }
.odb-book button { font: inherit; color: inherit; }

/* Dates (plusieurs éditions sur la même page) */
.odb-chips { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:20px; }
.odb-chip { padding:8px 13px; border:1px solid var(--odb-line); border-radius:2px; background:transparent; font-family:var(--f-mono, monospace); font-size:12px; color:var(--muted2, var(--odb-muted)); cursor:pointer; transition:all .18s; user-select:none; }
.odb-chip:hover { border-color:var(--odb-hi); color:var(--white, #fff); }
.odb-chip.active { border-color:var(--odb-hi); background:var(--odb-dim); color:var(--white, #fff); }
.odb-chip.sold { opacity:.38; pointer-events:none; }
.odb-chip-s { margin-left:6px; }
/* Éditions dans des villes différentes : une ligne par date, avec la ville */
.odb-chips--place { flex-direction:column; }
.odb-chips--place .odb-chip { display:flex; align-items:baseline; justify-content:space-between; gap:12px; width:100%; padding:11px 14px; text-align:left; }
.odb-chip-p { font-family:var(--f-body, inherit); font-size:14px; font-weight:600; color:var(--white, #fff); }
.odb-chips--place .odb-chip-s { margin-left:auto; }

/* Départs */
.odb-slots { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.odb-slot { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:12px 15px; border:1px solid var(--odb-line); border-radius:2px; background:transparent; text-align:left; cursor:pointer; transition:border-color .18s, background .18s; user-select:none; }
.odb-slot:hover { border-color:var(--odb-hi); }
.odb-slot.active { border-color:var(--odb-hi); background:var(--odb-dim); }
.odb-slot.sold { opacity:.38; pointer-events:none; }
.odb-slot-h { font-family:var(--f-mono, monospace); font-size:16px; color:var(--white, #fff); }
.odb-slot.sold .odb-slot-h { text-decoration:line-through; }
.odb-slot-left { font-family:var(--f-mono, monospace); font-size:11px; color:var(--odb-hi); }
.odb-slot.few .odb-slot-left { color:var(--odb-warn); }
.odb-slot.sold .odb-slot-left { color:var(--odb-muted); }
/* Beaucoup de départs : deux colonnes pour ne pas allonger la carte */
.odb-slots:has(.odb-slot:nth-child(5)) { display:grid; grid-template-columns:1fr 1fr; }
.odb-slots:has(.odb-slot:nth-child(5)) .odb-slot { flex-direction:column; align-items:flex-start; gap:2px; padding:10px 12px; }

/* Tarifs */
.odb-fare { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--border, rgba(255,255,255,.08)); }
.odb-fare:last-of-type { border-bottom:none; }
.odb-fare-l { min-width:0; }
.odb-fare-t { font-size:14px; color:var(--white, #fff); }
.odb-fare-s { font-size:11px; color:var(--odb-muted); margin-top:1px; }
.odb-fare-s s { opacity:.6; margin-left:4px; }
.odb-book .odb-offer { margin:6px 0 4px; }
.odb-book [data-odb-fares] { margin-bottom:16px; }

.odb-free { font-size:12px; color:var(--green, #6EDC82); margin:-4px 0 12px; }
.odb-hint { font-size:12px; color:var(--odb-warn); margin-bottom:10px; line-height:1.5; }
.odb-book .btn.is-disabled, .odb-book .btn:disabled { opacity:.42; pointer-events:none; }
.odb-book .bc-actions { display:flex; flex-direction:column; gap:8px; }
.odb-book .urgency strong { color:rgba(255,190,80,1); }
