/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-6cct0wf775] {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.topnav[b-6cct0wf775] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-toggler[b-6cct0wf775] {
    background-color: #05163C;
}

.navbar-white[b-6cct0wf775] {
    background-color: #fff;
    color: #1f2d3d;
}

.navbar-dark .navbar-toggler[b-6cct0wf775] {
    color: transparent;
    border-color: transparent;
}

.navbar-brand[b-6cct0wf775] {
    font-size: 1.1rem;
    margin-right: 24px;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6cct0wf775] {
        display: block;
    }

    .collapse[b-6cct0wf775] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.main[b-6cct0wf775] {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100vh - 3.5rem) !important; /* Subtract topnav height */
    background-color: #f8f9fa !important;
}

.content[b-6cct0wf775] {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}

.sidebar[b-6cct0wf775] {
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.1); /* Shadow on the right side */
}

.top-row[b-6cct0wf775] {
    background-color: #ffffff; /* White background for the top row navigation */
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .top-row[b-6cct0wf775]  a, .top-row .btn-link[b-6cct0wf775] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-6cct0wf775] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-6cct0wf775] {
        display: none;
    }

    .top-row.auth[b-6cct0wf775] {
        justify-content: space-between;
    }

    .top-row a[b-6cct0wf775], .top-row .btn-link[b-6cct0wf775] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6cct0wf775] {
        flex-direction: row !important;
    }

    .sidebar[b-6cct0wf775] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6cct0wf775] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div[b-6cct0wf775] {
        padding-left: 1rem !important;
        padding-right: 1.5rem !important;
    }
}
