/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-hernt9ahf0] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hernt9ahf0] {
    flex: 1;
}

.sidebar[b-hernt9ahf0] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar-header[b-hernt9ahf0] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: rgba(0,0,0,0.4);
}

.sidebar.collapsed .sidebar-header[b-hernt9ahf0] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    justify-content: center;
}

.sidebar-header .navbar-brand[b-hernt9ahf0] {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-header .navbar-brand[b-hernt9ahf0] {
    display: none;
}

.sidebar-header .navbar-toggler[b-hernt9ahf0] {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-header .navbar-toggler-icon[b-hernt9ahf0] {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: 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.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.sidebar.collapsed .sidebar-header .navbar-toggler[b-hernt9ahf0] {
    padding: 0.25rem 0.5rem;
}

.sidebar-header .navbar-toggler:hover[b-hernt9ahf0] {
    background-color: rgba(255, 255, 255, 0.2);
}

.top-row[b-hernt9ahf0] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-hernt9ahf0]  a, .top-row .btn-link[b-hernt9ahf0] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-hernt9ahf0] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-hernt9ahf0] {
        display: none;
    }

    .top-row.auth[b-hernt9ahf0] {
        justify-content: space-between;
    }

    .top-row a[b-hernt9ahf0], .top-row .btn-link[b-hernt9ahf0] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-hernt9ahf0] {
        flex-direction: row;
    }

    .sidebar[b-hernt9ahf0] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .sidebar.collapsed[b-hernt9ahf0] {
        width: 60px;
    }

    .sidebar .sidebar-header[b-hernt9ahf0] {
        flex-shrink: 0;
    }

    .top-row[b-hernt9ahf0] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-hernt9ahf0], article[b-hernt9ahf0] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 640.98px) {
    .page[b-hernt9ahf0] {
        flex-direction: row;
    }

    .sidebar[b-hernt9ahf0] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .sidebar.collapsed[b-hernt9ahf0] {
        width: 60px;
    }

    .sidebar .sidebar-header[b-hernt9ahf0] {
        flex-shrink: 0;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ow1vqsz7nj] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-scrollable[b-ow1vqsz7nj] {
    /* Sidebar container: vertical layout with sticky footer */
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.navbar-brand[b-ow1vqsz7nj] {
    font-size: 1.1rem;
}

.oi[b-ow1vqsz7nj] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-ow1vqsz7nj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ow1vqsz7nj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ow1vqsz7nj] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ow1vqsz7nj]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-ow1vqsz7nj]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-ow1vqsz7nj]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-text[b-ow1vqsz7nj] {
    display: inline;
    white-space: nowrap;
}

.sidebar.collapsed .nav-text[b-ow1vqsz7nj] {
    display: none;
}

.sidebar.collapsed .navbar-brand[b-ow1vqsz7nj] {
    font-size: 0;
}

.sidebar.collapsed .user-chip .name[b-ow1vqsz7nj] {
    display: none;
}

@media (min-width: 641px) {

    .collapse[b-ow1vqsz7nj] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/* Dropdown inside sidebar: match dark theme */
.dropdown-menu[b-ow1vqsz7nj] {
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-item[b-ow1vqsz7nj] {
    color: #d7d7d7;
}

.dropdown-item:hover[b-ow1vqsz7nj],
.dropdown-item:focus[b-ow1vqsz7nj] {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-divider[b-ow1vqsz7nj] {
    border-top-color: rgba(255, 255, 255, 0.15);
}

/* Sidebar body scroll area */
.nav-body[b-ow1vqsz7nj] {
    flex: 1 1 auto;
    overflow-y: auto;
}

/* Sticky footer with user chip */
.nav-footer[b-ow1vqsz7nj] {
    position: sticky;
    bottom: 0;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.user-chip[b-ow1vqsz7nj] {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #d7d7d7;
    text-decoration: none;
}

.user-chip .name[b-ow1vqsz7nj] {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
