/* Prise de rendez-vous (page publique autonome).
   Extrait du bloc de style inline de templates/rdv/index.html.twig. */

html, body {
    height: 100%;
}

table {
    border-collapse: separate;
    border-spacing: 4px;
    width: 100%;
    table-layout: fixed;
}

.calendar-cell {
    height: 30px;
    vertical-align: middle;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    margin: 2px;
    border-radius: 6px;
    padding: 0;
}

.calendar-cell:empty::before {
    content: '\00a0'; 
}

.calendar-cell.clickable {
    background-color: #f1f1f1;
    cursor: pointer;
}

.calendar-cell:hover {
    background-color: #e0e0e0;
}

.calendar-cell.selected {
    background-color: #205bf1;
    color: white;
}

.calendar-cell.empty {
    background-color: white;
    cursor: default;
}

.calendar-cell.empty:hover {
    background-color: white;
}

.calendar-cell.clickable:hover {
    background-color: #e0e0e0;
}

#prev, #next {
    border: none;
    background-color: transparent;
}

#prev:hover, #next:hover {
    background-color: #205bf1;
}

.col-8 {
    max-width: 480px;
}

#calendar-section .horaires-scroll {
    max-height: 480px; /* même hauteur que .col-8 si max-width: 480px */
    overflow-y: auto;
}

.btn-horaire:hover {
    background-color: #205bf1;
    color: white;
}

.calendar-cell.disabled {
    pointer-events: none;
    background-color: #f8f9fa;
    color: #aaa;
}
