/* /Layout/MainLayout.razor.rz.scp.css */
/* Page Container - Full viewport height */
.page-container[b-aofewd5zxl] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Sticky Header */
.app-header[b-aofewd5zxl] {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #036;
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-header .navbar-brand[b-aofewd5zxl] {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}

.app-header .navbar-brand:hover[b-aofewd5zxl] {
    color: rgba(255, 255, 255, 0.9);
}

.app-header .bi-building[b-aofewd5zxl] {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.sidebar-toggle[b-aofewd5zxl] {
    color: white;
    font-size: 1.75rem;
    padding: 0.5rem;
    margin: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: 4px;
}

.sidebar-toggle:hover[b-aofewd5zxl],
.sidebar-toggle:focus[b-aofewd5zxl] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.user-info[b-aofewd5zxl] {
    color: white;
    font-size: 0.9rem;
}

.app-header .btn-link[b-aofewd5zxl] {
    color: white;
    font-size: 1.25rem;
    text-decoration: none;
}

.app-header .btn-link:hover[b-aofewd5zxl] {
    color: rgba(255, 255, 255, 0.9);
}

/* Body Container with Sidebar and Main */
.app-body[b-aofewd5zxl] {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Mobile Sidebar Backdrop */
.sidebar-backdrop[b-aofewd5zxl] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1019;
    animation: fadeIn-b-aofewd5zxl 0.3s ease-in-out;
}

@keyframes fadeIn-b-aofewd5zxl {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main Content Area */
.app-main[b-aofewd5zxl] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.content-wrapper[b-aofewd5zxl] {
    flex: 1 0 auto;
    padding: 1.5rem;
    min-height: calc(100vh - 60px - 70px);
}

/* Footer */
.app-footer[b-aofewd5zxl] {
    flex-shrink: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem 0;
    margin-top: auto;
    font-size: 0.875rem;
    color: #6c757d;
    width: 100%;
}

.app-footer .btn-link[b-aofewd5zxl] {
    color: #0d6efd;
    font-size: 0.875rem;
    text-decoration: none;
}

.app-footer .btn-link:hover[b-aofewd5zxl] {
    text-decoration: underline;
}

/* Modal Styling */
.modal.show[b-aofewd5zxl] {
    display: block;
}

.modal-backdrop[b-aofewd5zxl] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog[b-aofewd5zxl] {
    position: relative;
    z-index: 1050;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .content-wrapper[b-aofewd5zxl] {
        padding: 1rem;
        min-height: calc(100vh - 60px - 80px);
    }

    .app-footer[b-aofewd5zxl] {
        font-size: 0.75rem;
        padding: 0.75rem 0;
    }

    .app-footer .row[b-aofewd5zxl] {
        margin: 0;
    }

    .app-footer .col-md-6[b-aofewd5zxl] {
        padding: 0.25rem 0.5rem;
    }

    /* Ensure header is visible */
    .app-header[b-aofewd5zxl] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    /* Adjust body for fixed header */
    .app-body[b-aofewd5zxl] {
        margin-top: 60px;
        height: calc(100vh - 60px);
    }

    /* Ensure footer doesn't get hidden behind mobile browser chrome */
    .app-main[b-aofewd5zxl] {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .app-footer .col-md-6[b-aofewd5zxl] {
        font-size: 0.7rem;
    }

    .app-footer .btn-link[b-aofewd5zxl] {
        font-size: 0.7rem;
    }
}

/* /Layout/NavMenu.razor.rz.scp.css */
/* Sidebar Container */
.app-sidebar[b-016effqstg] {
    width: 260px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
}

.app-sidebar.collapsed[b-016effqstg] {
    width: 0;
    margin-left: -260px;
}

/* Sidebar Navigation */
.sidebar-nav[b-016effqstg] {
    padding: 1rem 0;
}

.sidebar-nav .nav[b-016effqstg] {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Nav Items */
.nav-item[b-016effqstg] {
    margin: 0;
}

.nav-link[b-016effqstg] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #212529;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover[b-016effqstg] {
    background-color: rgba(0, 0, 0, 0.05);
    color: #0d6efd;
}

.nav-link.active[b-016effqstg] {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-left-color: #0d6efd;
    font-weight: 600;
}

.nav-icon[b-016effqstg] {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.nav-text[b-016effqstg] {
    white-space: nowrap;
}

/* Section Headers */
.nav-section[b-016effqstg] {
    margin-top: 1.5rem;
}

.nav-section:first-child[b-016effqstg] {
    margin-top: 0;
}

.nav-section-header[b-016effqstg] {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.nav-section-header .nav-icon[b-016effqstg] {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Scrollbar Styling */
.app-sidebar[b-016effqstg]::-webkit-scrollbar {
    width: 6px;
}

.app-sidebar[b-016effqstg]::-webkit-scrollbar-track {
    background: transparent;
}

.app-sidebar[b-016effqstg]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.app-sidebar[b-016effqstg]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .app-sidebar[b-016effqstg] {
        position: fixed;
        top: 60px;
        left: 0;
        bottom: 0;
        z-index: 1020;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(0);
        margin-left: 0;
    }

    .app-sidebar.collapsed[b-016effqstg] {
        transform: translateX(-100%);
        width: 260px;
    }

    .app-sidebar:not(.collapsed)[b-016effqstg] {
        width: 260px;
        transform: translateX(0);
    }
}

@media (min-width: 992px) {
    .app-sidebar[b-016effqstg] {
        position: relative;
        width: 260px;
        margin-left: 0;
    }

    .app-sidebar.collapsed[b-016effqstg] {
        width: 260px;
        margin-left: 0;
        transform: translateX(0);
    }
}

