/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-9kecld25nd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9kecld25nd] {
    flex: 1;
}

.sidebar[b-9kecld25nd] {
    /* Blu tenue derivato dal blu notte del logo (#172846) */
    background-image: linear-gradient(180deg, #3d5a80 0%, #304a6e 100%);
}

.top-row[b-9kecld25nd] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-9kecld25nd]  a, .top-row .btn-link[b-9kecld25nd] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-9kecld25nd] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-9kecld25nd] {
        display: none;
    }

    .top-row.auth[b-9kecld25nd] {
        justify-content: space-between;
    }

    .top-row a[b-9kecld25nd], .top-row .btn-link[b-9kecld25nd] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-9kecld25nd] {
        flex-direction: row;
    }

    .sidebar[b-9kecld25nd] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-9kecld25nd] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-9kecld25nd], article[b-9kecld25nd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2r40t4k70f] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-2r40t4k70f] {
    height: 3.5rem;
    background-color: #2c4466;
    /* Striscia con i colori del logo: corallo, giallo, verde acqua */
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #fe674c 0 33.3%, #fdca3a 33.3% 66.6%, #00b7b0 66.6% 100%) 1;
}

.navbar-brand[b-2r40t4k70f] {
    font-size: 1.1rem;
    color: #f9f5ec;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-mark[b-2r40t4k70f] {
    width: 1.75rem;
    height: 1.75rem;
}

.oi[b-2r40t4k70f] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-2r40t4k70f] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2r40t4k70f] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2r40t4k70f] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2r40t4k70f]  a {
        color: rgba(249, 245, 236, 0.75);
        border-radius: 4px;
        border-left: 3px solid transparent;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-2r40t4k70f]  a.active {
    background-color: rgba(254, 103, 76, 0.18);
    border-left-color: #fe674c;
    color: #f9f5ec;
}

    .nav-item[b-2r40t4k70f]  a.active .bi {
        color: #fe674c;
    }

.nav-item[b-2r40t4k70f]  a:hover {
    background-color: rgba(249, 245, 236, 0.08);
    color: #f9f5ec;
}

.user-badge[b-2r40t4k70f] {
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    background-color: rgba(0, 183, 176, 0.15);
    border-left: 3px solid #00b7b0;
    color: #f9f5ec;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2r40t4k70f] {
        display: none;
    }

    .collapse[b-2r40t4k70f] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-2r40t4k70f] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
