/* _content/LicenseAdminPortal/Shared/MainLayout.razor.rz.scp.css */
/* Ensure body and html occupy full height */
html[b-vdmiiy1wkc], body[b-vdmiiy1wkc] {
    height: 100%;
    margin: 0; /* Remove any default margin */
}

/* Full Page Layout */
.page[b-vdmiiy1wkc] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure it fills the full height */
}

/* Ensure main content takes the remaining space */
main[b-vdmiiy1wkc] {
    flex: 1;
    padding: 10px; /* Small padding for all directions */
    box-sizing: border-box; /* Include padding in the element's total width/height */
}

/* Sidebar Styles */
.sidebar[b-vdmiiy1wkc] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Top Row Styling */
.top-row[b-vdmiiy1wkc] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    /* Make sure links and buttons in top row are spaced correctly */
    .top-row[b-vdmiiy1wkc]  a, .top-row .btn-link[b-vdmiiy1wkc] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-vdmiiy1wkc] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Responsive behavior for small screens */
@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-vdmiiy1wkc] {
        display: none;
    }

    .top-row.auth[b-vdmiiy1wkc] {
        justify-content: space-between;
    }

    .top-row a[b-vdmiiy1wkc], .top-row .btn-link[b-vdmiiy1wkc] {
        margin-left: 0;
    }
}

/* For screens larger than 640px */
@media (min-width: 641px) {
    .page[b-vdmiiy1wkc] {
        flex-direction: row; /* Side-by-side layout for larger screens */
    }

    .sidebar[b-vdmiiy1wkc] {
        width: 250px;
        height: 100vh; /* Sidebar takes full height */
        position: sticky;
        top: 0;
        z-index: 2;
    }

    main[b-vdmiiy1wkc] {
        flex-grow: 1; /* Make sure main content takes up the remaining space */
        padding: 10px 20px; /* Small padding for all sides */
    }

    .top-row[b-vdmiiy1wkc] {
        position: sticky;
        top: 0;
        z-index: 1;
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
        height: 3.5rem;
        display: flex;
        align-items: center;
    }

    .top-row[b-vdmiiy1wkc], article[b-vdmiiy1wkc] {
        padding-left: 0 !important; /* Avoid excessive left padding */
        padding-right: 0 !important;
    }
}
/* _content/LicenseAdminPortal/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-hs1v4dvve2] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-hs1v4dvve2] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-hs1v4dvve2] {
    font-size: 1.1rem;
}

.oi[b-hs1v4dvve2] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-hs1v4dvve2] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-hs1v4dvve2] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-hs1v4dvve2] {
        padding-bottom: 1rem;
    }

    .nav-item[b-hs1v4dvve2]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-hs1v4dvve2]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-hs1v4dvve2]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-hs1v4dvve2] {
        display: none;
    }

    .collapse[b-hs1v4dvve2] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
