/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2e6nhxjswe] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-2e6nhxjswe] {
    flex: 1;
}

.sidebar[b-2e6nhxjswe] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-2e6nhxjswe] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-2e6nhxjswe]  a, .top-row[b-2e6nhxjswe]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-2e6nhxjswe]  a:hover, .top-row[b-2e6nhxjswe]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-2e6nhxjswe]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2e6nhxjswe] {
        justify-content: space-between;
    }

    .top-row[b-2e6nhxjswe]  a, .top-row[b-2e6nhxjswe]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2e6nhxjswe] {
        flex-direction: row;
    }

    .sidebar[b-2e6nhxjswe] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2e6nhxjswe] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2e6nhxjswe]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2e6nhxjswe], article[b-2e6nhxjswe] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2e6nhxjswe] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-2e6nhxjswe] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-tmhhwz63wj] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-tmhhwz63wj] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-tmhhwz63wj] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-tmhhwz63wj] {
    font-size: 1.1rem;
}

.bi[b-tmhhwz63wj] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-tmhhwz63wj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-database-nav-menu[b-tmhhwz63wj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-database' viewBox='0 0 16 16'%3E%3Cpath d='M4.318 2.687C5.234 2.271 6.536 2 8 2s2.766.27 3.682.687C12.644 3.125 13 3.627 13 4c0 .374-.356.875-1.318 1.313C10.766 5.729 9.464 6 8 6s-2.766-.27-3.682-.687C3.356 4.875 3 4.373 3 4c0-.374.356-.875 1.318-1.313ZM13 5.698V7c0 .374-.356.875-1.318 1.313C10.766 8.729 9.464 9 8 9s-2.766-.27-3.682-.687C3.356 7.875 3 7.373 3 7V5.698c.271.202.58.378.904.525C4.978 6.711 6.427 7 8 7s3.022-.289 4.096-.777A4.917 4.917 0 0 0 13 5.698ZM14 4c0-1.007-.875-1.755-1.904-2.223C11.022 1.289 9.573 1 8 1s-3.022.289-4.096.777C2.875 2.245 2 2.993 2 4v9c0 1.007.875 1.755 1.904 2.223C4.978 15.711 6.427 16 8 16s3.022-.289 4.096-.777C13.125 14.755 14 14.007 14 13V4Zm-1 4.698V10c0 .374-.356.875-1.318 1.313C10.766 11.729 9.464 12 8 12s-2.766-.27-3.682-.687C3.356 10.875 3 10.373 3 10V8.698c.271.202.58.378.904.525C4.978 9.711 6.427 10 8 10s3.022-.289 4.096-.777A4.917 4.917 0 0 0 13 8.698Zm0 3V13c0 .374-.356.875-1.318 1.313C10.766 14.729 9.464 15 8 15s-2.766-.27-3.682-.687C3.356 13.875 3 13.373 3 13v-1.302c.271.202.58.378.904.525C4.978 12.711 6.427 13 8 13s3.022-.289 4.096-.777A4.917 4.917 0 0 0 13 11.698Z'/%3E%3C/svg%3E");
}

.bi-box-arrow-in-right-nav-menu[b-tmhhwz63wj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-box-arrow-in-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 3.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 0-1 0v2A1.5 1.5 0 0 0 6.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-8A1.5 1.5 0 0 0 5 3.5v2a.5.5 0 0 0 1 0v-2z'/%3E%3Cpath fill-rule='evenodd' d='M11.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H1.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-tmhhwz63wj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-tmhhwz63wj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-tmhhwz63wj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-tmhhwz63wj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-tmhhwz63wj] {
        padding-bottom: 1rem;
    }

    .nav-item[b-tmhhwz63wj]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-tmhhwz63wj]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-tmhhwz63wj]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-tmhhwz63wj] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-tmhhwz63wj] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-tmhhwz63wj] {
        display: none;
    }

    .nav-scrollable[b-tmhhwz63wj] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3wumtf3uve],
.components-reconnect-repeated-attempt-visible[b-3wumtf3uve],
.components-reconnect-failed-visible[b-3wumtf3uve],
.components-pause-visible[b-3wumtf3uve],
.components-resume-failed-visible[b-3wumtf3uve],
.components-rejoining-animation[b-3wumtf3uve] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-retrying[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-failed[b-3wumtf3uve],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3wumtf3uve] {
    display: block;
}


#components-reconnect-modal[b-3wumtf3uve] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-3wumtf3uve 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-3wumtf3uve 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3wumtf3uve 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-3wumtf3uve]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3wumtf3uve 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3wumtf3uve {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3wumtf3uve {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3wumtf3uve {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3wumtf3uve] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3wumtf3uve] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3wumtf3uve] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-3wumtf3uve] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-3wumtf3uve] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-3wumtf3uve] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-3wumtf3uve] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-3wumtf3uve 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-3wumtf3uve] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-3wumtf3uve {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.shift-table[b-5t6x250k8t] {
    font-size: 0.85rem;
}

/* Il nome del turno può essere lungo: sui telefoni deve andare a capo
   invece di allargare la tabella. */
.shift-table .shift-badge[b-5t6x250k8t] {
    white-space: normal;
}

/* Riga del giorno corrente. */
.shift-table tr.shift-today > td[b-5t6x250k8t] {
    --bs-table-bg: var(--bs-warning-bg-subtle);
    --bs-table-bg-type: var(--bs-warning-bg-subtle);
    --bs-table-bg-state: var(--bs-warning-bg-subtle);
    background-color: var(--bs-warning-bg-subtle);
    border-top: 2px solid var(--bs-warning);
    border-bottom: 2px solid var(--bs-warning);
}

.shift-table tr.shift-today > td:first-child[b-5t6x250k8t] {
    border-left: 4px solid var(--bs-warning);
}

.shift-table tr.shift-today > td:last-child[b-5t6x250k8t] {
    border-right: 2px solid var(--bs-warning);
}

@media (min-width: 768px) {
    .shift-table[b-5t6x250k8t] {
        table-layout: fixed;
    }

    .shift-table th:nth-child(1)[b-5t6x250k8t], .shift-table td:nth-child(1)[b-5t6x250k8t] { width: 19%; }
    .shift-table th:nth-child(2)[b-5t6x250k8t], .shift-table td:nth-child(2)[b-5t6x250k8t] { width: 23%; }
    .shift-table th:nth-child(3)[b-5t6x250k8t], .shift-table td:nth-child(3)[b-5t6x250k8t] { width: 14%; }
    .shift-table th:nth-child(4)[b-5t6x250k8t], .shift-table td:nth-child(4)[b-5t6x250k8t] { width: 14%; }
    .shift-table th:nth-child(5)[b-5t6x250k8t], .shift-table td:nth-child(5)[b-5t6x250k8t] { width: 14%; }
    .shift-table th:nth-child(6)[b-5t6x250k8t], .shift-table td:nth-child(6)[b-5t6x250k8t] { width: 16%; }
}

@media (max-width: 767.98px) {
    /* Da tabella a schede: una scheda per giorno, molto più leggibile
       sui telefoni. */
    .shift-table thead[b-5t6x250k8t] {
        display: none;
    }

    .shift-table[b-5t6x250k8t],
    .shift-table tbody[b-5t6x250k8t],
    .shift-table tr[b-5t6x250k8t],
    .shift-table td[b-5t6x250k8t] {
        display: block;
        width: 100%;
    }

    .shift-table tr[b-5t6x250k8t] {
        margin-bottom: 0.75rem;
        border: 1px solid var(--bs-border-color);
        border-radius: 0.6rem;
        overflow: hidden;
        background-color: var(--bs-body-bg);
    }

    .shift-table td[b-5t6x250k8t] {
        display: grid;
        grid-template-columns: 7.5rem minmax(0, 1fr);
        gap: 0.5rem;
        align-items: start;
        padding: 0.4rem 0.65rem;
        border: 0;
        border-bottom: 1px solid var(--bs-border-color-translucent);
        background-color: var(--bs-body-bg);
    }

    .shift-table td:last-child[b-5t6x250k8t] {
        border-bottom: 0;
    }

    .shift-table td[b-5t6x250k8t]::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.78rem;
        color: var(--bs-secondary-color);
    }

    /* Il giorno fa da intestazione della scheda. */
    .shift-table td[data-label="Giorno"][b-5t6x250k8t] {
        grid-template-columns: 1fr;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        background-color: var(--bs-tertiary-bg);
        font-size: 0.95rem;
    }

    .shift-table td[data-label="Giorno"][b-5t6x250k8t]::before {
        display: none;
    }

    /* Su telefono le celle vuote non occupano spazio. */
    .shift-table td.shift-empty[b-5t6x250k8t] {
        display: none;
    }

    .shift-table tr.shift-today[b-5t6x250k8t] {
        border: 2px solid var(--bs-warning);
        box-shadow: 0 0 0 0.15rem rgba(255, 193, 7, 0.2);
    }

    .shift-table tr.shift-today > td[b-5t6x250k8t] {
        border-top: 0;
        border-bottom: 1px solid var(--bs-border-color-translucent);
    }

    .shift-table tr.shift-today > td:first-child[b-5t6x250k8t] {
        border-left: 0;
    }

    .shift-table tr.shift-today > td:last-child[b-5t6x250k8t] {
        border-right: 0;
        border-bottom: 0;
    }

    .shift-value[b-5t6x250k8t] {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
