/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kfc215u5we] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kfc215u5we] {
    flex: 1;
}

.sidebar[b-kfc215u5we] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar-content[b-kfc215u5we]  a {
        color: var(--text-dark);
        padding: 12px 15px; /* Increased padding */
        border-radius: 4px;
        transition: var(--transition);
        font-size: 1.1rem; /* Increased font size */
    }
    .sidebar-content[b-kfc215u5we]  a i {
        color: var(--accent-color) !important;
        font-size: 1.2rem; /* Increased icon size */
    }
    .sidebar-content[b-kfc215u5we]  a:hover, .sidebar-content[b-kfc215u5we]  a.active {
        background-color: var(--bg-light);
        color: var(--accent-color) !important;
    }

.top-row[b-kfc215u5we] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-kfc215u5we]  a, .top-row[b-kfc215u5we]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-kfc215u5we]  a:hover, .top-row[b-kfc215u5we]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-kfc215u5we]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-kfc215u5we] {
        justify-content: space-between;
    }

    .top-row[b-kfc215u5we]  a, .top-row[b-kfc215u5we]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-kfc215u5we] {
        flex-direction: row;
    }

    .sidebar[b-kfc215u5we] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-kfc215u5we] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-kfc215u5we]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-kfc215u5we], article[b-kfc215u5we] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
