@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Components/Pages/Anagrafica/Disponibilita.razor.rz.scp.css */
.disponibilita-card[b-jnsvl1pexy] {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.10);
    overflow: hidden;
}

.month-nav[b-jnsvl1pexy] {
    background: linear-gradient(90deg, #1a1a1a 0%, #333333 100%);
    border: 0;
    border-radius: 0.85rem;
    padding: 0.7rem 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

    .month-nav .btn-outline-primary[b-jnsvl1pexy] {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.6);
    }

        .month-nav .btn-outline-primary:hover[b-jnsvl1pexy],
        .month-nav .btn-outline-primary:focus-visible[b-jnsvl1pexy] {
            background-color: #fff;
            color: #1a1a1a;
            border-color: #fff;
        }

.month-title[b-jnsvl1pexy] {
    font-size: 1.15rem;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.calendar-table-wrapper[b-jnsvl1pexy] {
    overflow: auto;
    max-height: 65vh;
    border: 1px solid #dbe2ea;
    border-radius: 0.85rem;
    background-color: #fff;
}

.disponibilita-table[b-jnsvl1pexy] {
    border-collapse: separate;
    border-spacing: 0;
    width: max-content;
    min-width: 100%;
}

    .disponibilita-table th[b-jnsvl1pexy],
    .disponibilita-table td[b-jnsvl1pexy] {
        border-right: 1px solid #eef1f5;
        border-bottom: 1px solid #eef1f5;
        text-align: center;
        min-width: 76px;
        padding: 0.45rem;
        white-space: nowrap;
        font-size: 0.86rem;
    }

    .disponibilita-table thead th[b-jnsvl1pexy] {
        position: sticky;
        top: 0;
        z-index: 2;
        background: linear-gradient(180deg, #f4f8fc 0%, #e8f0f8 100%);
        color: #274b6d;
        border-bottom: 2px solid #cfdcea;
        padding: 0.55rem 0.45rem;
    }

    .disponibilita-table tbody th[b-jnsvl1pexy] {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 112px;
        background: linear-gradient(90deg, #1a1a1a 0%, #333333 100%);
        color: #fff;
        font-weight: 600;
        border-right: 2px solid #000;
    }

    .disponibilita-table thead th.corner-cell[b-jnsvl1pexy] {
        position: sticky;
        left: 0;
        top: 0;
        z-index: 3;
        background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
        color: #fff;
        border-right: 2px solid #000;
    }

    .disponibilita-table td:focus-visible[b-jnsvl1pexy],
    .disponibilita-table th:focus-visible[b-jnsvl1pexy] {
        outline: 2px solid #0d6efd;
        outline-offset: -2px;
    }

/* Intestazioni giorno */
.day-head .day-name[b-jnsvl1pexy] {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.day-head .day-number[b-jnsvl1pexy] {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
}

.day-head.day-weekend[b-jnsvl1pexy] {
    background: linear-gradient(180deg, #fef3f2 0%, #fde4e1 100%);
    color: #9b2c2c;
}

.day-head.day-today[b-jnsvl1pexy] {
    background: linear-gradient(180deg, #e7f7ee 0%, #cdeed9 100%);
    color: #10643a;
    box-shadow: inset 0 -3px 0 #198754;
}

/* righe alternate per leggibilità (zebra) */
.disponibilita-table tbody tr:nth-child(even) td[b-jnsvl1pexy] {
    background-color: #fafcfe;
}

.slot-cell[b-jnsvl1pexy] {
    transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}

    .slot-cell:hover[b-jnsvl1pexy] {
        box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.22);
        filter: brightness(1.03);
    }

.slot-available[b-jnsvl1pexy] {
    background-image: linear-gradient(135deg, #1aa668 0%, #128a54 100%);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.slot-unavailable[b-jnsvl1pexy] {
    background-image: linear-gradient(135deg, #e4586a 0%, #cf3346 100%);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.slot-empty[b-jnsvl1pexy] {
    background-color: #ffffff;
    color: #94a3b8;
}

.slot-weekend.slot-empty[b-jnsvl1pexy] {
    background-color: #fbf7f7;
}

.legend-swatch[b-jnsvl1pexy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.35rem;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.visually-hidden[b-jnsvl1pexy] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .slot-cell[b-jnsvl1pexy] {
        transition: none;
    }
}
