/* ============================
   CALENDARIO COMPATTO (ISOLATO)
   ============================ */

.counsel-calendar {
    margin-top: 10px !important;
    padding: 0;
}

/* Titolo settimana + pulsanti */
.counsel-calendar h4 {
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.counsel-calendar .btn.btn-sm {
    padding: 2px 6px !important;
    font-size: 11px !important;
}

/* ----------------------------
   GRIGLIA
   ---------------------------- */
.counsel-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

/* Celle generiche */
.counsel-calendar .calendar-grid div {
    padding: 3px 4px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    text-align: center;
    border: 1px solid #ddd;
    min-height: 22px !important;
}

/* Colonna orari */
.counsel-calendar .time-col {
    background: #f7f7f7;
    font-weight: 600;
}

/* Giorni header */
.counsel-calendar .fw-bold {
    background: #f0f0f0 !important;
    font-weight: 600 !important;
}

/* Slot prenotabili */
.counsel-calendar .slot {
    cursor: pointer;
    background: #fafafa;
}

.counsel-calendar .slot:hover {
    background: #eef6ff;
}

.counsel-calendar .slot.selected {
    background: #0a58ca !important;
    color: white !important;
    font-weight: bold !important;
}

/* Riduzione spazi verticali */
.counsel-calendar .mb-3 {
    margin-bottom: 6px !important;
}

.counsel-calendar .slot-available {
    background: #38a169 !important; /* verde */
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.counsel-calendar .slot-unavailable {
    background: #eee;
    color: #888;
}

.counsel-calendar .slot-past {
    background: #ddd;
    color: #eee;
}

