/* CALENDARIO.PHP */

.calendar-container {
    overflow: auto;
    max-width: 100%;
}

.calendar-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
    font-family: sans-serif;
}

.calendar-table th,
.calendar-table td {
    padding: 8px 10px;
    border: 1px solid #ddd;
    text-align: center;
    height: 60px;
}

/* Header giorni sticky */
.calendar-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f1f1f1;
}

/* Colonna ore sticky */
.calendar-table th:first-child,
.calendar-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #f8f9fa;
}

/* Cella angolo: z-index alto */
.calendar-table thead th:first-child {
    z-index: 3;
}

.calendar-table th {
    font-weight: normal;
}

.calendar-event {
    background: #0d6efd;        /* blu stile Bootstrap */
    color: white;
    padding: 3px 3px;
    font-size: 0.75rem;         /* testo piccolo */
    border-radius: 6px;         /* angoli arrotondati */
    display: inline-block;
    width: 100%;                /* occupa tutta la cella, oppure puoi metterlo auto */
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

/* PRENOTAZIONI.PHP E CLIENTI.PHP */

table.list td {
    cursor: pointer;
}

/* TOAST */

.toast {
    opacity: 0.85;
    transition: opacity 1s cubic-bezier(.4,0,.2,1);
}
