/* =======================================================================
   AWRoom v1.0 — Sélecteur de dates d'hébergement (hotel datepicker).
   Vanilla, sans dépendance. Variables surchargeables par le thème.
   ======================================================================= */
.awroom-pop {
    --awroom-accent:   #3d5afe;
    --awroom-border:   #e3e6ec;
    --awroom-text:     #1c2330;
    --awroom-muted:    #9aa1ad;
    --awroom-blocked:  #e11d48;
    --awroom-inbg:     #eef1ff;
    position: absolute;
    z-index: 1050;
    margin-top: 6px;
    width: 640px;
    max-width: 96vw;
    background: #fff;
    border: 1px solid var(--awroom-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(20, 24, 40, .16);
    padding: 14px 16px 16px;
    font-size: 14px;
    color: var(--awroom-text);
    box-sizing: border-box;
}
.awroom-pop *, .awroom-pop *::before, .awroom-pop *::after { box-sizing: border-box; }

.awroom-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.awroom-hint { font-size: 13px; font-style: italic; color: var(--awroom-muted); }
.awroom-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.awroom-btn {
    border: 1px solid var(--awroom-border);
    background: #f6f7f9;
    color: var(--awroom-text);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
}
.awroom-btn.awroom-close { background: var(--awroom-accent); border-color: var(--awroom-accent); color: #fff; }
.awroom-btn:hover { filter: brightness(.97); }

.awroom-nav { position: relative; height: 0; }
.awroom-arrow {
    position: absolute;
    top: 4px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: var(--awroom-text);
    cursor: pointer;
    padding: 0 6px;
}
.awroom-prev { left: 0; }
.awroom-next { right: 0; }
.awroom-arrow:disabled { color: #d0d4db; cursor: default; }

.awroom-grids { display: flex; gap: 24px; }
.awroom-cal { flex: 1 1 0; min-width: 0; }
.awroom-title { text-align: center; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }

.awroom-dow, .awroom-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.awroom-dow span { text-align: center; font-size: 11px; color: var(--awroom-muted); padding: 4px 0; border-bottom: 1px solid var(--awroom-border); }

.awroom-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 3px 0;
    cursor: pointer;
    border: 1px solid transparent;
    user-select: none;
}
.awroom-empty { cursor: default; }
.awroom-num { font-size: 14px; line-height: 1.1; }
.awroom-price { font-size: 10px; font-style: italic; color: var(--awroom-muted); margin-top: 1px; }
.awroom-x { color: var(--awroom-blocked); font-size: 13px; }

.awroom-day:not(.awroom-disabled):not(.awroom-out):not(.awroom-empty):hover { background: var(--awroom-inbg); border-radius: 8px; }

.awroom-disabled { cursor: default; color: var(--awroom-muted); }
.awroom-disabled .awroom-price { visibility: hidden; }
/* En cours d'achat par un autre panier : distinct du blocage définitif (⏳ ambré). */
.awroom-held { cursor: not-allowed; background: rgba(217,154,84,.12); border-radius: 8px; }
.awroom-held .awroom-x { color: #b5762f; font-size: 12px; }
.awroom-out { cursor: default; opacity: .38; }

/* Intervalle sélectionné / prévisualisé */
.awroom-in, .awroom-hover { background: var(--awroom-inbg); }
.awroom-start, .awroom-end {
    background: var(--awroom-accent) !important;
    color: #fff;
    border-radius: 8px;
}
.awroom-start .awroom-price, .awroom-end .awroom-price { color: rgba(255, 255, 255, .8); }

@media (max-width: 560px) {
    .awroom-grids { flex-direction: column; gap: 14px; }
    .awroom-day { min-height: 38px; }
}
