/* /Layout/MainLayout.razor.rz.scp.css */
/* Layout Wrapper */
.page-wrapper[b-fehlyrdix0] {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* App Sidebar */
.app-sidebar[b-fehlyrdix0] {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background-color: #0f172a;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    flex-shrink: 0 !important;
}

.sidebar-header[b-fehlyrdix0] {
    height: 64px;
}

.sidebar-nav[b-fehlyrdix0] {
    flex: 1;
    overflow-y: auto;
}

/* Custom premium scrollbar for sidebar nav */
.sidebar-nav[b-fehlyrdix0]::-webkit-scrollbar {
    width: 6px;
}
.sidebar-nav[b-fehlyrdix0]::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav[b-fehlyrdix0]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.sidebar-nav[b-fehlyrdix0]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Custom Navigation Links */
.nav-link-custom[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-link-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #94a3b8;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 4px;
    border-left: 3px solid transparent;
}

.nav-link-custom:hover[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-link-custom:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    text-decoration: none !important;
    border-left-color: rgba(14, 165, 233, 0.4);
}

.nav-link-custom.active[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-link-custom.active {
    background-color: rgba(14, 165, 233, 0.1);
    color: #38bdf8 !important;
    border-left-color: #0ea5e9;
    box-shadow: inset 4px 0 10px rgba(14, 165, 233, 0.05);
}

.nav-link-custom .material-icons[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-link-custom .material-icons {
    font-size: 20px;
    color: #64748b;
    transition: color 0.25s ease;
}

.nav-link-custom:hover .material-icons[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-link-custom:hover .material-icons {
    color: #cbd5e1;
}

.nav-link-custom.active .material-icons[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-link-custom.active .material-icons {
    color: #38bdf8 !important;
}

/* Main Container */
.main-container[b-fehlyrdix0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    background-color: var(--bs-body-bg);
    transition: background-color 0.3s ease;
}

/* App Header */
.app-header[b-fehlyrdix0] {
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease;
}

/* Dark theme overrides for header */
body.dark-theme .app-header[b-fehlyrdix0] {
    background: rgba(15, 23, 42, 0.85) !important;
}

/* Sidebar collapsed states */
.sidebar-collapsed .app-sidebar[b-fehlyrdix0] {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
    flex: 0 0 0px !important;
}

/* Sidebar footer */
.sidebar-footer[b-fehlyrdix0] {
    font-size: 11px;
}

/* Body container */
.app-body[b-fehlyrdix0] {
    flex: 1;
}

/* Dropdown styling */
.dropdown-menu[b-fehlyrdix0] {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}
.dropdown-item[b-fehlyrdix0] {
    cursor: pointer;
}
.dropdown-item:hover[b-fehlyrdix0] {
    background-color: rgba(255,255,255,0.05);
}
body:not(.dark-theme) .dropdown-item:hover[b-fehlyrdix0] {
    background-color: rgba(0,0,0,0.05);
}

/* Sub-navigation links styling */
.nav-sublink-custom[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-sublink-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #64748b;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.nav-sublink-custom:hover[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-sublink-custom:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    text-decoration: none !important;
}

.nav-sublink-custom.active[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-sublink-custom.active {
    background-color: rgba(14, 165, 233, 0.08);
    color: #38bdf8 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.nav-sublink-custom .material-icons[b-fehlyrdix0],
.sidebar-nav[b-fehlyrdix0]  .nav-sublink-custom .material-icons {
    font-size: 16px;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-nbto4hw2qo] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-nbto4hw2qo] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-nbto4hw2qo] {
    font-size: 1.1rem;
}

.bi[b-nbto4hw2qo] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-nbto4hw2qo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-nbto4hw2qo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-nbto4hw2qo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-nbto4hw2qo] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-nbto4hw2qo] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-nbto4hw2qo] {
        padding-bottom: 1rem;
    }

    .nav-item[b-nbto4hw2qo]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-nbto4hw2qo]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-nbto4hw2qo]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nbto4hw2qo] {
        display: none;
    }

    .collapse[b-nbto4hw2qo] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-nbto4hw2qo] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
