/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-xd5ayj0yn7] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
}

.main[b-xd5ayj0yn7] {
    flex: 1;
    overflow: hidden;
}

.sidebar[b-xd5ayj0yn7] {
    background-image: linear-gradient(180deg, #40045e 0%, var(--rz-primary) 100%);
    min-width: 250px;
}

.top-row[b-xd5ayj0yn7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 5rem;
    display: flex;
    align-items: center;
    z-index: 20
}

    .top-row[b-xd5ayj0yn7]  a, .top-row .btn-link[b-xd5ayj0yn7] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-xd5ayj0yn7] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-xd5ayj0yn7] {
        display: none;
    }

    .top-row.auth[b-xd5ayj0yn7] {
        justify-content: space-between;
    }

    .top-row a[b-xd5ayj0yn7], .top-row .btn-link[b-xd5ayj0yn7] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xd5ayj0yn7] {
        flex-direction: row;
    }

    .sidebar[b-xd5ayj0yn7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xd5ayj0yn7] {
        position: sticky;
        top: 0;
    }

    .main > div[b-xd5ayj0yn7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.spaced-header[b-xd5ayj0yn7] {
    justify-content: space-between;
}

.body-wrapper[b-xd5ayj0yn7] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-area[b-xd5ayj0yn7] {
    flex: 1; /* Take remaining space */
    overflow-y: auto; /* Scroll only the content */
}

.action-footer[b-xd5ayj0yn7] {
    flex-shrink: 0;
    padding: 1rem 1rem;
    background-color: var(--rz-background);
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}
