@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ====================================
   App Layout â€” Enterprise Clean
   ==================================== */

:root[b-pgl1dpnigl] {
    --brand: #0078D4;
    --brand-dark: #005A9E;
    --sidebar-bg: #1e293b;
    --sidebar-width: 240px;
    --topbar-height: 52px;
    --topbar-bg: #ffffff;
    --topbar-border: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --light-bg: #f8f9fb;
    --border: #e5e7eb;
    --radius: 8px;
    --transition: all 0.15s ease;
    --nav-accent: #60a5fa;
    --nav-hover-bg: rgba(255, 255, 255, 0.07);
    --nav-active-bg: rgba(96, 165, 250, 0.15);
}

/* ---- Page Structure ---- */
.page[b-pgl1dpnigl] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--light-bg);
}

main[b-pgl1dpnigl] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ---- Sidebar ---- */
.sidebar-wrapper[b-pgl1dpnigl] {
    background: var(--sidebar-bg);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

    .sidebar-wrapper[b-pgl1dpnigl]::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar-wrapper[b-pgl1dpnigl]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-wrapper[b-pgl1dpnigl]::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.15);
        border-radius: 2px;
    }

/* ---- Top Bar ---- */
.top-bar[b-pgl1dpnigl] {
    background-color: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-left[b-pgl1dpnigl] {
    flex: 1;
}

.top-bar-right[b-pgl1dpnigl] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.top-bar-item[b-pgl1dpnigl] {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-primary);
    gap: 0.375rem;
}

.support-info[b-pgl1dpnigl] {
    background-color: #fef2f2;
    padding: 0.2rem 0.625rem;
    border-radius: var(--radius);
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 500;
}

.org-name[b-pgl1dpnigl] {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.top-bar-divider[b-pgl1dpnigl] {
    width: 1px;
    height: 26px;
    background-color: var(--topbar-border);
}

.user-profile[b-pgl1dpnigl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar[b-pgl1dpnigl] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-info[b-pgl1dpnigl] {
    display: flex;
    flex-direction: column;
}

.user-name[b-pgl1dpnigl] {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8125rem;
    line-height: 1.2;
}

.dropdown-wrapper[b-pgl1dpnigl] {
    position: relative;
}

    .dropdown-wrapper .btn-link[b-pgl1dpnigl] {
        color: var(--text-secondary);
        padding: 0.2rem 0.375rem;
    }

        .dropdown-wrapper .btn-link:hover[b-pgl1dpnigl] {
            color: var(--brand);
        }

/* ---- Content Area ---- */
.content-wrapper[b-pgl1dpnigl] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    background-color: var(--light-bg);
}

    .content-wrapper[b-pgl1dpnigl]::-webkit-scrollbar {
        width: 6px;
    }

    .content-wrapper[b-pgl1dpnigl]::-webkit-scrollbar-track {
        background: var(--light-bg);
    }

    .content-wrapper[b-pgl1dpnigl]::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.15);
        border-radius: 3px;
    }

/* ---- Footer ---- */
.app-footer[b-pgl1dpnigl] {
    background-color: var(--topbar-bg);
    border-top: 1px solid var(--topbar-border);
    padding: 0.375rem 1.25rem;
    text-align: center;
}

.footer-text[b-pgl1dpnigl] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-link[b-pgl1dpnigl] {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

    .footer-link:hover[b-pgl1dpnigl] {
        text-decoration: underline;
    }

.footer-version[b-pgl1dpnigl] {
    font-size: 0.7rem;
    margin: 0;
    color: #9ca3af;
}

/* ---- Blazor Error UI ---- */
#blazor-error-ui[b-pgl1dpnigl] {
    background: #fef2f2;
    bottom: 0;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid #dc2626;
    display: none;
}

.error-content[b-pgl1dpnigl] {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    color: #991b1b;
    font-size: 0.8125rem;
}

#blazor-error-ui .dismiss[b-pgl1dpnigl] {
    cursor: pointer;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ---- Spinner ---- */
.spinner-border[b-pgl1dpnigl] {
    animation: spinner-rotate-b-pgl1dpnigl 0.75s linear infinite;
}

@keyframes spinner-rotate-b-pgl1dpnigl {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---- Responsive ---- */
@media (max-width: 640.98px) {
    .page[b-pgl1dpnigl] {
        flex-direction: column;
    }

    .sidebar-wrapper[b-pgl1dpnigl] {
        position: fixed;
        left: -240px;
        height: 100vh;
        width: 240px;
        z-index: 999;
        transition: var(--transition);
    }

        .sidebar-wrapper.show[b-pgl1dpnigl] {
            left: 0;
        }

    .top-bar[b-pgl1dpnigl] {
        padding: 0 0.75rem;
    }

    .support-info[b-pgl1dpnigl], .org-name[b-pgl1dpnigl], .top-bar-divider[b-pgl1dpnigl] {
        display: none;
    }

    .user-info[b-pgl1dpnigl] {
        display: none;
    }

    .content-wrapper[b-pgl1dpnigl] {
        padding: 1rem;
    }

    .app-footer[b-pgl1dpnigl] {
        padding: 0.375rem 1rem;
    }

    .footer-version[b-pgl1dpnigl] {
        display: none;
    }
}

@media (min-width: 641px) {
    .page[b-pgl1dpnigl] {
        flex-direction: row;
    }

    .sidebar-wrapper[b-pgl1dpnigl] {
        width: var(--sidebar-width);
    }

    main[b-pgl1dpnigl] {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ====================================
   Navigation Menu Styling (Modern)
   ==================================== */

:root[b-t1uo7ls01v] {
    --nav-accent: #60a5fa;
    --nav-hover-bg: rgba(255, 255, 255, 0.07);
    --nav-active-bg: rgba(96, 165, 250, 0.15);
}

/* Hamburger Toggle Button */
.navbar-toggler[b-t1uo7ls01v] {
    appearance: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
}

    .navbar-toggler:hover[b-t1uo7ls01v] {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .navbar-toggler[b-t1uo7ls01v]::before {
        content: '';
        position: relative;
        width: 18px;
        height: 14px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transition: all 0.3s ease;
    }

    .navbar-toggler:checked[b-t1uo7ls01v] {
        background-color: rgba(0, 212, 255, 0.2);
        border-color: rgba(0, 212, 255, 0.5);
    }

        .navbar-toggler:checked[b-t1uo7ls01v]::before {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3e%3c/svg%3e");
        }

/* Brand Section */
.navbar-brand-section[b-t1uo7ls01v] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.12);
}

.navbar-brand[b-t1uo7ls01v] {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    letter-spacing: 0.5px;
}

    .navbar-brand:hover[b-t1uo7ls01v] {
        color: #ffffff;
    }

    .navbar-brand i[b-t1uo7ls01v] {
        font-size: 1.4rem;
        margin-right: 0.75rem;
    }




/* Bootstrap Icon Cleanup (Legacy - can be removed after migration) */
.bi[b-t1uo7ls01v] {
    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-t1uo7ls01v] {
    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-t1uo7ls01v] {
    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-t1uo7ls01v] {
    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");
}

.bi-lock-nav-menu[b-t1uo7ls01v] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-t1uo7ls01v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-t1uo7ls01v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-t1uo7ls01v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-t1uo7ls01v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

/* Navigation Menu Structure */
.nav-menu[b-t1uo7ls01v] {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100%;
}

.nav-section[b-t1uo7ls01v] {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .nav-section:last-child[b-t1uo7ls01v] {
        border-bottom: none;
        padding-bottom: 1rem;
    }

.nav-section-title[b-t1uo7ls01v] {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    transition: all 0.3s ease;
}

    .nav-section-title:hover[b-t1uo7ls01v] {
        color: rgba(255, 255, 255, 0.8);
    }

.admin-section .nav-section-title[b-t1uo7ls01v] {
    color: rgba(255, 193, 7, 0.7);
    border-top: 1px solid rgba(255, 193, 7, 0.15);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

/* Navigation Items */
.nav-item[b-t1uo7ls01v] {
    display: block;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

    .nav-item .nav-link[b-t1uo7ls01v] {
        display: flex;
        align-items: center;
        padding: 0.625rem 1.25rem;
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.15s ease, color 0.15s ease;
        cursor: pointer;
        gap: 0.75rem;
        position: relative;
        border-left: 4px solid transparent;
    }

        .nav-item .nav-link:hover[b-t1uo7ls01v] {
            background-color: var(--nav-hover-bg);
            color: rgba(255, 255, 255, 0.95);
        }

        .nav-item .nav-link:focus[b-t1uo7ls01v] {
            outline: none;
        }

    /* NavLink Component (Blazor) Active State */
    .nav-item[b-t1uo7ls01v]  .nav-link {
        display: flex;
        align-items: center;
        padding: 0.625rem 1.25rem;
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.15s ease, color 0.15s ease;
        gap: 0.75rem;
        border-left: 4px solid transparent;
    }

        .nav-item[b-t1uo7ls01v]  .nav-link:hover {
            background-color: var(--nav-hover-bg);
            color: rgba(255, 255, 255, 0.95);
        }

        .nav-item[b-t1uo7ls01v]  .nav-link.active {
            background-color: var(--nav-active-bg);
            color: var(--nav-accent);
            border-left-color: var(--nav-accent);
            padding-left: calc(1.25rem - 4px);
            font-weight: 600;
        }

/* Icon Styling */
.nav-icon[b-t1uo7ls01v] {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.nav-icon-expand[b-t1uo7ls01v] {
    margin-left: auto;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Parent Menu Items */
.parent-item .nav-link[b-t1uo7ls01v] {
    justify-content: space-between;
}

    .parent-item .nav-link:hover .nav-icon-expand[b-t1uo7ls01v] {
        transform: scale(1.15);
    }

.parent-item.open .nav-link[b-t1uo7ls01v] {
    background-color: var(--nav-hover-bg);
}

/* Child Menu */
.child-menu[b-t1uo7ls01v] {
    background-color: rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

    .child-menu.collapse[b-t1uo7ls01v] {
        display: none;
    }

/* Child Menu Items */
.child-item[b-t1uo7ls01v] {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 0.75rem;
}

    .child-item .nav-link[b-t1uo7ls01v] {
        padding-left: 1.75rem;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.65);
    }

        .child-item .nav-link:hover[b-t1uo7ls01v] {
            background-color: var(--nav-hover-bg);
            color: rgba(255, 255, 255, 0.9);
        }

    .child-item[b-t1uo7ls01v]  .nav-link.active {
        background-color: rgba(0, 212, 255, 0.12);
        color: var(--nav-accent);
        border-left-color: var(--nav-accent);
        padding-left: calc(1.75rem - 4px);
    }

/* Navigation Text */
.nav-text[b-t1uo7ls01v] {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Admin Section Styling */
.admin-section .nav-item .nav-link[b-t1uo7ls01v] {
    color: rgba(255, 193, 7, 0.75);
    border-left-color: transparent;
}

    .admin-section .nav-item .nav-link:hover[b-t1uo7ls01v] {
        background-color: rgba(255, 193, 7, 0.1);
        color: rgba(255, 255, 255, 0.95);
    }

.admin-section .nav-item[b-t1uo7ls01v]  .nav-link.active {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-left-color: #ffc107;
    padding-left: calc(1.25rem - 4px);
}

.admin-section .child-item[b-t1uo7ls01v] {
    border-left-color: rgba(255, 193, 7, 0.15);
}

    .admin-section .child-item .nav-link[b-t1uo7ls01v] {
        color: rgba(255, 193, 7, 0.65);
    }

        .admin-section .child-item .nav-link:hover[b-t1uo7ls01v] {
            background-color: rgba(255, 193, 7, 0.08);
            color: rgba(255, 193, 7, 0.95);
        }

    .admin-section .child-item[b-t1uo7ls01v]  .nav-link.active {
        background-color: rgba(255, 193, 7, 0.15);
        color: #ffc107;
        border-left-color: #ffc107;
    }

/* Scrollable Container */
.nav-scrollable[b-t1uo7ls01v] {
    display: none;
    width: 100%;
    flex: 1;
    background: inherit;
}

.navbar-toggler:checked ~ div .nav-scrollable[b-t1uo7ls01v] {
    display: block;
}

/* Responsive Design */
@media (max-width: 640.98px) {
    .navbar-toggler[b-t1uo7ls01v] {
        display: flex;
    }

    .nav-menu[b-t1uo7ls01v] {
        display: none;
        position: fixed;
        left: 0;
        top: 106px;
        width: 100%;
        max-height: calc(100vh - 106px);
        background: #1e293b;
        overflow-y: auto;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler:checked ~ div .nav-menu[b-t1uo7ls01v] {
        display: flex;
    }

    .nav-section[b-t1uo7ls01v] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item .nav-link[b-t1uo7ls01v] {
        padding: 0.75rem 1.25rem;
    }

    .child-item .nav-link[b-t1uo7ls01v] {
        padding-left: 2rem;
    }

    .admin-section .nav-section-title[b-t1uo7ls01v] {
        border-top: none;
        padding-top: 0.75rem;
        margin-top: 1rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-t1uo7ls01v] {
        display: none;
    }

    .nav-menu[b-t1uo7ls01v] {
        display: flex;
        min-height: 100%;
    }

    .nav-scrollable[b-t1uo7ls01v] {
        display: block;
        height: auto;
        flex: 1;
        overflow-y: auto;
    }
}

/* Scrollbar Styling for Nav Menu */
.nav-menu[b-t1uo7ls01v]::-webkit-scrollbar {
    width: 6px;
}

.nav-menu[b-t1uo7ls01v]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.nav-menu[b-t1uo7ls01v]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: all 0.3s ease;
}

    .nav-menu[b-t1uo7ls01v]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }

.nav-scrollable[b-t1uo7ls01v]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-t1uo7ls01v]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.nav-scrollable[b-t1uo7ls01v]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: all 0.3s ease;
}

    .nav-scrollable[b-t1uo7ls01v]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }
/* /Components/Pages/Home.razor.rz.scp.css */
/* ============================================
   Home / Dashboard — Scoped Styles
   ============================================ */

/* ---- Page Header ---- */
.page-header[b-f1d3fn5rr2] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.page-header-title[b-f1d3fn5rr2] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.page-header-subtitle[b-f1d3fn5rr2] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0.125rem 0 0;
}

.page-header-actions[b-f1d3fn5rr2] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}

/* ---- Balance Chips ---- */
.balance-chip[b-f1d3fn5rr2] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.balance-chip-label[b-f1d3fn5rr2] {
    opacity: 0.8;
    font-weight: 400;
}

.balance-chip-value[b-f1d3fn5rr2] {
    font-weight: 700;
}

.balance-chip.chip-sms[b-f1d3fn5rr2] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.balance-chip.chip-online[b-f1d3fn5rr2] {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.balance-chip.chip-offline[b-f1d3fn5rr2] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* ---- Stat Cards ---- */
.stat-card[b-f1d3fn5rr2] {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: box-shadow 0.15s ease;
    height: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.stat-card[b-f1d3fn5rr2]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--stat-accent, var(--brand));
}

.stat-card:hover[b-f1d3fn5rr2] {
    box-shadow: var(--shadow);
    border-color: #d1d5db;
}

.stat-icon[b-f1d3fn5rr2] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: var(--stat-icon-bg, #eff6ff);
    color: var(--stat-accent, var(--brand));
}

.stat-body[b-f1d3fn5rr2] {
    flex: 1;
    min-width: 0;
}

.stat-label[b-f1d3fn5rr2] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    margin: 0 0 0.25rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value[b-f1d3fn5rr2] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin: 0;
}

/* ---- Stat Card Accent Variants ---- */
.stat-card.accent-blue[b-f1d3fn5rr2]   { --stat-accent: #0078D4; --stat-icon-bg: #eff6ff; }
.stat-card.accent-indigo[b-f1d3fn5rr2] { --stat-accent: #4f46e5; --stat-icon-bg: #eef2ff; }
.stat-card.accent-green[b-f1d3fn5rr2]  { --stat-accent: #16a34a; --stat-icon-bg: #f0fdf4; }
.stat-card.accent-amber[b-f1d3fn5rr2]  { --stat-accent: #d97706; --stat-icon-bg: #fffbeb; }
.stat-card.accent-red[b-f1d3fn5rr2]    { --stat-accent: #dc2626; --stat-icon-bg: #fef2f2; }

/* ---- Section Label ---- */
.section-label[b-f1d3fn5rr2] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* ---- Wallet Balance Cards in Modal ---- */
.wallet-balance-card[b-f1d3fn5rr2] {
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.wallet-balance-card .wbc-label[b-f1d3fn5rr2] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.wallet-balance-card .wbc-value[b-f1d3fn5rr2] {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.wallet-balance-card .wbc-sub[b-f1d3fn5rr2] {
    font-size: 0.75rem;
    margin: 0;
}

.wallet-balance-card.wbc-online[b-f1d3fn5rr2] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.wallet-balance-card.wbc-online .wbc-label[b-f1d3fn5rr2]  { color: #1d4ed8; }
.wallet-balance-card.wbc-online .wbc-value[b-f1d3fn5rr2]  { color: #1d4ed8; }
.wallet-balance-card.wbc-online .wbc-sub[b-f1d3fn5rr2]    { color: #6b7280; }

.wallet-balance-card.wbc-offline[b-f1d3fn5rr2] {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.wallet-balance-card.wbc-offline .wbc-label[b-f1d3fn5rr2] { color: #b45309; }
.wallet-balance-card.wbc-offline .wbc-value[b-f1d3fn5rr2] { color: #b45309; }
.wallet-balance-card.wbc-offline .wbc-sub[b-f1d3fn5rr2]   { color: #6b7280; }
/* /Components/Pages/_DashboardCharts.razor.rz.scp.css */
/* ============================================
   Dashboard Charts — Scoped Styles
   ============================================ */

/* ---- Chart Card Shell ---- */
.chart-card[b-wje8xjxqx2] {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    height: 100%;
}

.chart-card-title[b-wje8xjxqx2] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
}

/* ---- Donut SVG ---- */
.donut-wrap[b-wje8xjxqx2] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.donut-svg[b-wje8xjxqx2] {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
    flex-shrink: 0;
}

.donut-track[b-wje8xjxqx2] {
    fill: none;
    stroke: #f3f4f6;
    stroke-width: 12;
}

.donut-seg[b-wje8xjxqx2] {
    fill: none;
    stroke-width: 12;
    stroke-linecap: butt;
    transition: stroke-dasharray 0.4s ease;
}

.donut-seg-delivered[b-wje8xjxqx2]  { stroke: #16a34a; }
.donut-seg-sent[b-wje8xjxqx2]       { stroke: #0078D4; }
.donut-seg-notqueued[b-wje8xjxqx2]  { stroke: #d97706; }

.donut-center-val[b-wje8xjxqx2] {
    font-size: 14px;
    font-weight: 700;
    fill: var(--text-primary);
    text-anchor: middle;
    dominant-baseline: middle;
    transform: rotate(90deg) translateX(50px);
    transform-origin: 50px 50px;
}

.donut-center-lbl[b-wje8xjxqx2] {
    font-size: 7px;
    fill: var(--text-secondary);
    text-anchor: middle;
    dominant-baseline: middle;
    transform: rotate(90deg) translateX(50px);
    transform-origin: 50px 50px;
}

/* ---- Donut Legend ---- */
.donut-legend[b-wje8xjxqx2] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.legend-item[b-wje8xjxqx2] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
}

.legend-dot[b-wje8xjxqx2] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-text[b-wje8xjxqx2] {
    flex: 1;
    color: var(--text-secondary);
}

.legend-val[b-wje8xjxqx2] {
    font-weight: 600;
    color: var(--text-primary);
}

/* ---- Horizontal Bar Chart ---- */
.bar-chart[b-wje8xjxqx2] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.bar-row[b-wje8xjxqx2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bar-label[b-wje8xjxqx2] {
    font-size: 0.725rem;
    color: var(--text-secondary);
    width: 90px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-track[b-wje8xjxqx2] {
    flex: 1;
    background: #f3f4f6;
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
}

.bar-fill[b-wje8xjxqx2] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.bar-fill-blue[b-wje8xjxqx2]   { background: #0078D4; }
.bar-fill-amber[b-wje8xjxqx2]  { background: #d97706; }
.bar-fill-indigo[b-wje8xjxqx2] { background: #4f46e5; }

.bar-val[b-wje8xjxqx2] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* ---- Funnel Chart ---- */
.funnel-chart[b-wje8xjxqx2] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.funnel-row[b-wje8xjxqx2] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.funnel-bar-wrap[b-wje8xjxqx2] {
    background: #f3f4f6;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
}

.funnel-bar[b-wje8xjxqx2] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.funnel-meta[b-wje8xjxqx2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.funnel-label[b-wje8xjxqx2] {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.funnel-val[b-wje8xjxqx2] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
}
