.escv-search-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 640px) minmax(260px, 1fr);
    gap: 24px;
}

@media (max-width: 980px) {
    .escv-search-wrap {
        grid-template-columns: 1fr;
    }
}

.escv-col-left,
.escv-col-right {
    background: #fff;
    border: 1px solid var(--border, #eee);
    border-radius: 16px;
    padding: 16px;
}

/* calendrier */
.evcal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
}

.evcal-title {
    font-size: 1.1rem;
}

.evcal-nav {
    appearance: none;
    border: none;
    background: #f3f3f3;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

.evcal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.evcal-head {
    margin-bottom: 6px;
}

.evcal-wn {
    text-align: center;
    font-weight: 700;
    color: #333;
}

.evcal-cell {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
	color: #000;
}

.evcal-cell.is-muted {
    opacity: .35;
    cursor: default;
}

.evcal-cell.is-today {
    outline: 2px dashed #f4c5d4;
    outline-offset: 2px;
}

.evcal-cell.is-selected {
    background: #f6c1d0;
    border-color: #f6c1d0;
    color: #111;
}

.escv-col-right .escv-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.escalev-pills .pill {
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
}

.escalev-pills .pill.is-disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* lock visuel quand la salle est imposée (nuit) */
.escv-col-right .escv-input.is-locked {
    opacity: .7;
    background: #fafafa;
    pointer-events: none;
}

.escv-people-helper {
    margin-left: 2px;
}

/* onglets cliquables, au-dessus du contenu */
.escalev-tabs {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.escalev-tab {
	  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
    cursor: pointer;
    user-select: none;
}

// ajout, A enlever si faux

/* ================================
   LIVE HARD OVERRIDES (colors)
   Force black text/icons for calendar, search button and room select
   ================================ */

/* Calendar text (days, cells, header) */
.escalev-skin .evcal-header,
.escalev-skin .evcal-grid,
.escalev-skin .evcal-grid * {
  color: #111 !important;
}

/* Calendar nav buttons (previous / next) */
.escalev-skin .evcal-nav {
  color: #111 !important;
  fill: #111 !important;
}

/* Search button text */
.escalev-skin .escalev-button,
.escalev-skin .escv-search-button,
.escalev-skin .wc-bookings-booking-form button[type="submit"] {
  color: #111 !important;
}

/* Room select: text + custom black arrow */
.escalev-skin .escv-col-right .escv-input {
  color: #111 !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  padding-right: 40px; /* space for arrow */
}

/* Ensure options show black text too */
.escalev-skin .escv-col-right .escv-input option {
  color: #111 !important;
}

/* (Older IE/Edge hide native arrow) – harmless elsewhere */
.escalev-skin .escv-col-right .escv-input::-ms-expand {
  display: none;
}

/* ================================
   Fix: Chiffres du nombre de personnes (2, 3, 4, 5) en noir
   ================================ */

.escalev-skin .escalev-pills .pill {
  color: #111 !important;
  background: #fff !important;
  border: 1px solid var(--border, #e5e5e5);
}

/* Quand un nombre est sélectionné */
.escalev-skin .escalev-pills .pill.is-active {
  background: var(--rose, #f8cce0) !important;
  color: #111 !important;
  border-color: var(--rose, #f8cce0) !important;
}

/* Si un nombre est désactivé */
.escalev-skin .escalev-pills .pill.is-disabled {
  cursor: not-allowed;
  color: #666 !important;
}

/* ===== ESCV LIVE FIXES (search) ===== */

/* flèches / bouton / jours bien en noir */
.evcal-wn,
.evcal-cell,
.evcal-nav { color:#111 !important; }
.evcal-nav{ background:#f3f3f3 !important; }

/* pastilles personnes: chiffre noir partout */
.escalev-pills .pill{ color:#111 !important; }
.escalev-pills .pill.is-active{
  background:#F8CCE0 !important;
  border-color:#F8CCE0 !important;
  color:#111 !important;
}
