/* /Shared/BrandingHeader.razor.rz.scp.css */
/* =================================================
   Branding Header Styles
   ================================================= */
.branding-header[b-k0mug005ah] {
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-header.collapsed[b-k0mug005ah] {
    padding: 0.5rem 0.25rem;
    min-height: 40px; /* Smaller height for collapsed state */
}

.branding-header h3[b-k0mug005ah] {
    margin: 0;
    color: #495057;
    font-weight: 600;
    font-size: 1.2rem;
}

.branding-header.collapsed h3[b-k0mug005ah] {
    font-size: 0.8rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    line-height: 1;
}

.branding-logo[b-k0mug005ah] {
    max-width: 100%;
    height: auto;
}

.branding-logo.collapsed[b-k0mug005ah] {
    width: 30px;
    height: 30px;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-nu19clz2u1] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* =================================================
   Page-wide Header Styles
   ================================================= */
.app-header[b-nu19clz2u1] {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    padding: 0 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-bottom: 1px solid #dee2e6;
    z-index: 1000;
    position: relative;
}

.header-content[b-nu19clz2u1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 100%;
}

.branding h1[b-nu19clz2u1] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
}

.auth-section[b-nu19clz2u1] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* =================================================
   Main Content Area (Sidebar + Main)
   ================================================= */
.main-content[b-nu19clz2u1] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

main[b-nu19clz2u1] {
    flex: 1;
    overflow-y: auto;
}

.sidebar[b-nu19clz2u1] {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid #dee2e6;
    transition: width 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sidebar-toggle[b-nu19clz2u1] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    background-color: rgba(248, 249, 250, 0.9);
    border-top: 1px solid #dee2e6;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.sidebar-toggle button[b-nu19clz2u1],
.toggle-btn[b-nu19clz2u1] {
    background: #ffffff;
    border: 1px solid #dee2e6;
    font-size: 1.2rem;
    color: #495057;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 0;
    transition: all 0.2s;
    font-weight: bold;
    width: 100%;
    height: 50px;
    display: block;
    margin: 0;
}

.sidebar-toggle button:hover[b-nu19clz2u1],
.toggle-btn:hover[b-nu19clz2u1] {
    background-color: #e9ecef;
    border-color: #adb5bd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-row[b-nu19clz2u1] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-nu19clz2u1]  a, .top-row[b-nu19clz2u1]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-nu19clz2u1]  a:hover, .top-row[b-nu19clz2u1]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-nu19clz2u1]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .main-content[b-nu19clz2u1] {
        flex-direction: column;
    }

    .branding h1[b-nu19clz2u1] {
        font-size: 1.2rem;
    }

    .auth-section[b-nu19clz2u1] {
        gap: 0.5rem;
    }
}

@media (min-width: 641px) {
    .main-content[b-nu19clz2u1] {
        flex-direction: row;
    }

    .sidebar[b-nu19clz2u1] {
        width: 250px;
        height: 100%;
        position: relative;
    }

    .sidebar.collapsed[b-nu19clz2u1] {
        width: 60px;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
/* =================================================
   Navigation Container Styles
   ================================================= */
.nav-container[b-gt2dmqvcd7] {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px; /* Space for toggle button */
    overflow: hidden;
}

.nav-content[b-gt2dmqvcd7] {
    flex: 1;
    overflow-y: auto;
    padding-top: 1rem; /* Add some top padding since branding is gone */
}

/* =================================================
   Collapsed Menu Styles (DxMenu)
   ================================================= */
.collapsed-menu[b-gt2dmqvcd7] {
    padding: 0; /* Remove padding to eliminate gaps */
    background-color: transparent; /* Match sidebar background */
}

.collapsed-menu[b-gt2dmqvcd7]  .dx-menu-item-text {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
}

.collapsed-menu[b-gt2dmqvcd7]  .dx-menu-item {
    padding: 1rem 0.5rem; /* Match accordion item height */
    margin: 0; /* Remove margin to eliminate gaps */
    border-radius: 0; /* Remove border radius for seamless look */
    background-color: transparent;
    min-height: 48px; /* Standard accordion item height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
}

.collapsed-menu[b-gt2dmqvcd7]  .dx-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* =================================================
   Expanded Accordion Styles (DxAccordion)
   ================================================= */
.expanded-accordion[b-gt2dmqvcd7] {
    height: 100%;
}

/* Ensure consistent spacing for accordion items */
.expanded-accordion[b-gt2dmqvcd7]  .dx-accordion-item {
    min-height: 48px;
}

.expanded-accordion[b-gt2dmqvcd7]  .dx-accordion-item-header {
    min-height: 48px;
    display: flex;
    align-items: center;
}

/* =================================================
   Legacy/Fallback Styles (keeping for compatibility)
   ================================================= */
.navbar-toggler[b-gt2dmqvcd7] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-gt2dmqvcd7] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-gt2dmqvcd7] {
    font-size: 1.1rem;
}

.oi[b-gt2dmqvcd7] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-gt2dmqvcd7] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-gt2dmqvcd7] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-gt2dmqvcd7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-gt2dmqvcd7]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-gt2dmqvcd7]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-gt2dmqvcd7]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-gt2dmqvcd7] {
        display: none;
    }

    .collapse[b-gt2dmqvcd7] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
