/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-4iv1ix6mlt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-4iv1ix6mlt] {
    flex: 1;
}

.sidebar[b-4iv1ix6mlt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-4iv1ix6mlt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-4iv1ix6mlt]  a, .top-row .btn-link[b-4iv1ix6mlt] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-4iv1ix6mlt] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.navbar[b-4iv1ix6mlt] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-radius: 0 0 10px 10px;
    margin: 0;
    padding: 0.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    height: 56px;
    column-gap: 1rem;
    transition: box-shadow 0.2s;
}

/* Add margin to the top of the main content so it is not hidden behind the fixed navbar */
.content[b-4iv1ix6mlt], main > article[b-4iv1ix6mlt], .main-content[b-4iv1ix6mlt] {
    margin-top: 70px;
}

#ulContainer[b-4iv1ix6mlt] {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    line-height: 1.2;
    height: 100%;
    justify-content: center;
}

.nav[b-4iv1ix6mlt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item:not(:last-child)[b-4iv1ix6mlt] {
    padding-right: 0.5rem;
}

.nav-link[b-4iv1ix6mlt] {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
    font-size: 1rem;
}

.nav-link.active[b-4iv1ix6mlt], .nav-link:hover[b-4iv1ix6mlt] {
    background: rgba(255,255,255,0.12);
    color: #ffd600 !important;
    text-decoration: none;
}

.nav-item:last-child[b-4iv1ix6mlt] {
    border-right: none;
    padding-right: 0;
}

p[b-4iv1ix6mlt] {
    margin: 0;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-4iv1ix6mlt] {
        display: none;
    }

    .top-row.auth[b-4iv1ix6mlt] {
        justify-content: space-between;
    }

    .top-row a[b-4iv1ix6mlt], .top-row .btn-link[b-4iv1ix6mlt] {
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .navbar[b-4iv1ix6mlt] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem;
        height: auto;
        min-height: unset;
    }
    #ulContainer[b-4iv1ix6mlt], .nav[b-4iv1ix6mlt] {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .nav-item:not(:last-child)[b-4iv1ix6mlt] {
        border-right: none;
        border-bottom: 1px solid #90caf9;
        padding-right: 0;
        padding-bottom: 0.5rem;
    }
}

@media (min-width: 641px) {
    .page[b-4iv1ix6mlt] {
        flex-direction: row;
    }

    .sidebar[b-4iv1ix6mlt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-4iv1ix6mlt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-4iv1ix6mlt], article[b-4iv1ix6mlt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
