/* ============================================
   Litepicker simple — MBCms
   Palette hardcodée : gris + bleu ardoise pastel
   ============================================ */

/* Conteneur principal */
.litepicker {
    background: #ffffff;
    border: 1.5px solid #d8d8d4;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    font-family: inherit;
    font-size: 14px;
    color: #3a3a3a;
    padding: 12px;
    box-sizing: border-box;
}

/* En-tete mois */
.litepicker .month-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    position: relative;
    min-height: 32px;
}

.litepicker .month-item-header > div:nth-child(2) {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
}

/* Titre du mois */
.litepicker .month-item-name,
.litepicker .month-item-year {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7389a8;
    background: transparent;
    border: none;
    cursor: default;
    padding: 0 2px;
}

/* Fleches de navigation */
.litepicker .button-previous-month,
.litepicker .button-next-month {
    background: #f6f6f5;
    border: 1px solid #d8d8d4;
    border-radius: 5px;
    color: #797979;
    width: 30px;
    height: 30px;
    min-width: 30px;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
    padding: 0;
}

.litepicker .button-previous-month:hover,
.litepicker .button-next-month:hover {
    background: #e8eef5;
    border-color: #a3b5c8;
    color: #7389a8;
}

.litepicker .button-previous-month svg,
.litepicker .button-next-month svg { display: none; }

.litepicker .button-previous-month::after { content: '\25C0'; font-size: 10px; }
.litepicker .button-next-month::after     { content: '\25B6'; font-size: 10px; }

/* En-tetes jours de la semaine */
.litepicker .month-item-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.litepicker .month-item-weekdays-row > div {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #a3b5c8;
    text-align: center;
    padding: 4px 0;
}

/* Grille des jours */
.litepicker .container__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
}

/* Jours */
.litepicker .day-item {
    font-size: 15px;
    color: #3a3a3a;
    text-align: center;
    padding: 10px 2px;
    border-radius: 3px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    box-sizing: border-box;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.litepicker .day-item:hover:not(.is-locked):not(.is-start-date) {
    background: #e8eef5 !important;
    color: #7389a8 !important;
}

/* Aujourd'hui */
.litepicker .day-item.is-today {
    border: 1.5px solid #c0c0bc !important;
    color: #3a3a3a !important;
    font-weight: 600;
    background: transparent !important;
}

/* Date selectionnee */
.litepicker .day-item.is-start-date {
    background: #7389a8 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 5px;
}

/* Jours hors mois */
.litepicker .day-item.is-other-month {
    color: #c8c8c4;
}

/* Jours desactives */
.litepicker .day-item.is-locked {
    color: #c0c0bc !important;
    background: transparent !important;
    cursor: not-allowed;
}

/* Footer */
.litepicker .container__footer {
    display: none !important;
}
