/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-r35jqrfaac] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-r35jqrfaac] {
    flex: 1;
}

.sidebar[b-r35jqrfaac] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-r35jqrfaac] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-r35jqrfaac]  a, .top-row[b-r35jqrfaac]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-r35jqrfaac]  a:hover, .top-row[b-r35jqrfaac]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-r35jqrfaac]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-r35jqrfaac] {
        justify-content: space-between;
    }

    .top-row[b-r35jqrfaac]  a, .top-row[b-r35jqrfaac]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-r35jqrfaac] {
        flex-direction: row;
    }

    .sidebar[b-r35jqrfaac] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-r35jqrfaac] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-r35jqrfaac]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-r35jqrfaac], article[b-r35jqrfaac] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Sidebar Container */
.sidebar[b-2cyljj1eja] {
    width: 280px;
    background-color: var(--background-dark);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100vh;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Scrollable area */
.nav-scrollable[b-2cyljj1eja] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark) transparent;
}

/* Custom Scrollbar */
.nav-scrollable[b-2cyljj1eja]::-webkit-scrollbar {
    width: 4px;
}

.nav-scrollable[b-2cyljj1eja]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-2cyljj1eja]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.nav-scrollable[b-2cyljj1eja]::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Nav Link Styling */
.nav-item[b-2cyljj1eja] {
    width: 100%;
    margin-bottom: 4px;
}

.nav-link[b-2cyljj1eja] {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.25rem;
    color: rgba(255, 255, 255, 0.6) !important;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    gap: 0.85rem;
    font-size: 0.925rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link i[b-2cyljj1eja] {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
}

.nav-link:hover[b-2cyljj1eja] {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

.nav-link:hover i[b-2cyljj1eja] {
    transform: scale(1.1);
    color: var(--color-primary);
}

.nav-link.active[b-2cyljj1eja] {
    background: linear-gradient(90deg, rgba(19, 200, 236, 0.15) 0%, rgba(19, 200, 236, 0.02) 100%);
    color: var(--color-primary) !important;
    font-weight: 600;
}

.nav-link.active i[b-2cyljj1eja] {
    color: var(--color-primary);
}

.nav-link.active[b-2cyljj1eja]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background-color: var(--color-primary);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--color-primary);
}

/* Accordion Section Header */
.menu-section-header[b-2cyljj1eja] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.menu-section-header:hover[b-2cyljj1eja] {
    color: rgba(255, 255, 255, 0.7);
}

.menu-section-header i.chevron[b-2cyljj1eja] {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: rgba(255, 255, 255, 0.2);
}

.menu-section-header.active-header[b-2cyljj1eja] {
    color: var(--color-primary);
    opacity: 0.8;
}

.menu-section-header.expanded i.chevron[b-2cyljj1eja] {
    transform: rotate(180deg);
}

/* Accordion Content Container */
.menu-section-content[b-2cyljj1eja] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.menu-section-content>div[b-2cyljj1eja] {
    overflow: hidden;
}

.menu-section-content.expanded[b-2cyljj1eja] {
    grid-template-rows: 1fr;
}

/* Indented sub-items */
.nav-link.sub-item[b-2cyljj1eja] {
    margin-left: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    background: transparent;
}

/* Brand Section */
.brand-section[b-2cyljj1eja] {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.brand-logo[b-2cyljj1eja] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .sidebar[b-2cyljj1eja] {
        width: 100% !important;
        box-shadow: none;
    }
}

.offcanvas[b-2cyljj1eja] {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.offcanvas-header[b-2cyljj1eja] {
    padding: 1.5rem;
    background-color: var(--background-dark);
}
