/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-3d6xf0evrw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3d6xf0evrw] {
    flex: 1;
}

.sidebar[b-3d6xf0evrw] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-3d6xf0evrw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3d6xf0evrw]  a, .top-row[b-3d6xf0evrw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-3d6xf0evrw]  a:hover, .top-row[b-3d6xf0evrw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-3d6xf0evrw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-3d6xf0evrw] {
        justify-content: space-between;
    }

    .top-row[b-3d6xf0evrw]  a, .top-row[b-3d6xf0evrw]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3d6xf0evrw] {
        flex-direction: row;
    }

    .sidebar[b-3d6xf0evrw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3d6xf0evrw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-3d6xf0evrw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-3d6xf0evrw], article[b-3d6xf0evrw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-40766pua1h] {
    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-40766pua1h] {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Top row within sidebar - matches Blazor Server */
.sidebar .top-row[b-40766pua1h] {
    min-height: 3.5rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.sidebar .navbar-brand[b-40766pua1h] {
    font-size: 1.1rem;
    color: white !important;
    font-weight: 500;
    text-decoration: none;
    padding: 0;
}

.sidebar .navbar-brand:hover[b-40766pua1h] {
    color: white !important;
    text-decoration: none;
}

.sidebar .container-fluid[b-40766pua1h] {
    padding: 0;
}

.bi[b-40766pua1h] {
    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-40766pua1h] {
    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-plus-square-fill-nav-menu[b-40766pua1h] {
    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-box-arrow-right-nav-menu[b-40766pua1h] {
    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-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.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-box-arrow-in-right-nav-menu[b-40766pua1h] {
    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-user-mgmt-icon[b-40766pua1h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-gear' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3Cpath d='M5.216 14A2.238 2.238 0 0 1 5 13c0-.502.168-.975.45-1.354C6.121 10.936 7.388 10 9 10s2.879.936 3.55 1.646c.282.379.45.852.45 1.354 0 .332-.052.65-.146.948A5.022 5.022 0 0 1 13 15H5a5.022 5.022 0 0 1-.784-1z'/%3E%3Cpath fill-rule='evenodd' d='M13.646 9.854a.5.5 0 0 1 0-.708l.646-.647a.5.5 0 1 1 .708.708l-.647.646a.5.5 0 0 1-.707 0zM11.5 8.5a.5.5 0 0 1 .5-.5h1.293a.5.5 0 1 1 0 1H12a.5.5 0 0 1-.5-.5zm-2.646-.354a.5.5 0 0 1 .707 0l.647.647a.5.5 0 1 1-.708.708l-.646-.647a.5.5 0 0 1 0-.708zM9.5 11.5a.5.5 0 0 1 .5-.5h.293a.5.5 0 1 1 0 1H10a.5.5 0 0 1-.5-.5zm1.354 2.146a.5.5 0 0 1-.707 0l-.647-.646a.5.5 0 1 1 .708-.708l.646.647a.5.5 0 0 1 0 .707zM13.5 12a.5.5 0 0 1-.5.5h-1.293a.5.5 0 1 1 0-1H13a.5.5 0 0 1 .5.5zM12.146 13.646a.5.5 0 0 1 0 .708l-.646.646a.5.5 0 1 1-.708-.708l.647-.646a.5.5 0 0 1 .707 0z'/%3E%3C/svg%3E");
}

.nav-item[b-40766pua1h] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-40766pua1h] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-40766pua1h] {
    padding-bottom: 1rem;
}

.nav-item[b-40766pua1h]  .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-40766pua1h]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-40766pua1h]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-40766pua1h] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-40766pua1h] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-40766pua1h] {
        display: none;
    }

    .nav-scrollable[b-40766pua1h] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
