/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-wb0les5nnv] {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100vh;
}

main[b-wb0les5nnv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar[b-wb0les5nnv] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    width: 250px;
    min-width: 250px;
    height: 100vh;
    position: sticky;
    top: 0;
    transition: width 0.2s;
}

.sidebar[style*="width:0"][b-wb0les5nnv] {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
}

.top-row[b-wb0les5nnv] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
    margin-bottom: 0;
    padding-top: 0;
}

.top-row[b-wb0les5nnv]  a, .top-row[b-wb0les5nnv]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-wb0les5nnv]  a:hover, .top-row[b-wb0les5nnv]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-wb0les5nnv]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .page[b-wb0les5nnv] {
        flex-direction: column;
    }
    .sidebar[b-wb0les5nnv] {
        width: 100vw;
        min-width: 0;
        height: auto;
        position: relative;
    }
    main[b-wb0les5nnv] {
        min-width: 0;
    }
    .top-row:not(.auth)[b-wb0les5nnv] {
        display: none;
    }
    .top-row.auth[b-wb0les5nnv] {
        justify-content: space-between;
    }
    .top-row[b-wb0les5nnv]  a, .top-row[b-wb0les5nnv]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .sidebar-toggle.desktop-toggle[b-wb0les5nnv] {
        position: absolute;
        top: 0.5rem;
        right: -1.5rem;
        z-index: 2;
        background: #1b6ec2;
        color: #fff;
        border: none;
        border-radius: 0 4px 4px 0;
        width: 2rem;
        height: 2.5rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        cursor: pointer;
        font-size: 1.5rem;
        display: block;
    }
    .sidebar-toggle.desktop-toggle.collapsed[b-wb0les5nnv] {
        right: 0;
        left: 0;
        top: 0.5rem;
        border-radius: 0 4px 4px 0;
        background: #1b6ec2;
        color: #fff;
        position: fixed;
        z-index: 10;
    }
}

@media (max-width: 640.98px) {
    .sidebar-toggle.desktop-toggle[b-wb0les5nnv],
    .sidebar-toggle.desktop-toggle.collapsed[b-wb0les5nnv] {
        display: none !important;
    }
}

.top-row.auth[b-wb0les5nnv]  a:first-child {
    flex: 1;
    text-align: right;
    width: 0;
}

.top-row[b-wb0les5nnv], article[b-wb0les5nnv] {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
}

article.content[b-wb0les5nnv] {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0d5jqpw1zu] {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Scope top-row styling to the sidebar nav only to avoid conflicts with MainLayout */
.sidebar-content .top-row[b-0d5jqpw1zu] {
    height: 3rem;
    background-color: transparent;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar-brand[b-0d5jqpw1zu] {
    font-size: 1.1rem;
}

.oi[b-0d5jqpw1zu] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-0d5jqpw1zu] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-0d5jqpw1zu] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0d5jqpw1zu] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0d5jqpw1zu]  a {
    position: relative;
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    text-decoration: none;
}

.nav-item[b-0d5jqpw1zu]  a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 6px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    opacity: 0;
    transition: right 0.25s cubic-bezier(.4,0,.2,1), opacity 0.18s linear;
}

.nav-item[b-0d5jqpw1zu]  a.active::after,
.nav-item[b-0d5jqpw1zu]  a:hover::after {
    right: 0;
    opacity: 1;
}

.nav-item[b-0d5jqpw1zu]  a.active {
    color: #fff;
}

.nav-item[b-0d5jqpw1zu]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Logo tweaks in sidebar header */
.sidebar-content .navbar-brand img[b-0d5jqpw1zu] {
    height: 2.4rem;
    max-width: 100%;
    display: block;
    margin: 0;
}
.sidebar-content .navbar-brand[b-0d5jqpw1zu] {
    display: flex;
    align-items: center;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0d5jqpw1zu] {
        display: none;
    }

    .collapse[b-0d5jqpw1zu] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-0d5jqpw1zu] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3rem);
        overflow-y: auto;
    }
}
