/* /Layout/MainLayout.razor.rz.scp.css */
/* ==========================================
   Main Layout - Al Mahdi Schools
   Premium Professional Styling
   ========================================== */

:root[b-3m81jcuifv] {
    --primary: #0f3460;
    --primary-light: #1a5490;
    --accent: #e8b923;
    --light-gray: #f5f7fa;
}

.page[b-3m81jcuifv] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--light-gray);
}

main[b-3m81jcuifv] {
    flex: 1;
    background-color: var(--light-gray);
    overflow-y: auto;
}

/* ==========================================
   Sidebar Navigation
   ========================================== */

.sidebar[b-3m81jcuifv] {
    background: linear-gradient(180deg, var(--primary) 0%, #05192b 100%);
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    box-shadow: -4px 0 16px rgba(15, 52, 96, 0.2);
    z-index: 100;
    overflow-y: auto;
}

/* ==========================================
   Top Navigation Bar
   ========================================== */

.navbar[b-3m81jcuifv] {
    background: white;
    border-bottom: 4px solid var(--accent);
    padding: 0;
    box-shadow: 0 4px 16px rgba(15, 52, 96, 0.1);
    position: sticky;
    top: 0;
    z-index: 99;
}

.navbar-dark[b-3m81jcuifv] {
    background: white !important;
}

.top-row[b-3m81jcuifv] {
    background: white;
    border-bottom: 4px solid var(--accent);
    height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.top-row a[b-3m81jcuifv], .top-row .btn-link[b-3m81jcuifv] {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    letter-spacing: 0.3px;
}

.top-row a:hover[b-3m81jcuifv], .top-row .btn-link:hover[b-3m81jcuifv] {
    color: var(--accent);
    background-color: var(--light-gray);
    transform: translateY(-1px);
}

/* ==========================================
   Responsive Layout
   ========================================== */

@media (max-width: 640px) {
    .page[b-3m81jcuifv] {
        flex-direction: column;
    }

    .sidebar[b-3m81jcuifv] {
        width: 100%;
        height: auto;
        position: static;
        transform: none;
        border-bottom: 4px solid var(--accent);
        box-shadow: 0 4px 16px rgba(15, 52, 96, 0.1);
    }

    .top-row[b-3m81jcuifv] {
        padding: 0 1rem;
        height: 3.5rem;
    }

    main[b-3m81jcuifv] {
        margin-right: 0;
    }

    article[b-3m81jcuifv] {
        padding: 1.25rem !important;
    }
}

@media (min-width: 641px) {
    .page[b-3m81jcuifv] {
        flex-direction: row;
    }

    .sidebar[b-3m81jcuifv] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    main[b-3m81jcuifv] {
        margin-right: 0;
        margin-left: 0;
    }

    .content[b-3m81jcuifv] {
        padding: 2.5rem !important;
    }

    article[b-3m81jcuifv] {
        padding: 2.5rem !important;
    }

    .top-row[b-3m81jcuifv], article[b-3m81jcuifv] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* ==========================================
   Content Area
   ========================================== */

article[b-3m81jcuifv] {
    background-color: var(--light-gray);
    min-height: calc(100vh - 4rem);
}

.content[b-3m81jcuifv] {
    background-color: var(--light-gray);
    padding: 2.5rem;
}

/* ==========================================
   Navigation Menu Styles
   ========================================== */

nav[b-3m81jcuifv] {
    padding: 1.5rem 0;
}

nav ul[b-3m81jcuifv] {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li[b-3m81jcuifv] {
    margin: 0;
}

nav a[b-3m81jcuifv] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 1.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border-right: 5px solid transparent;
}

nav a:hover[b-3m81jcuifv] {
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
    border-right-color: var(--accent);
    transform: translateX(-3px);
}

nav a.active[b-3m81jcuifv] {
    background-color: rgba(232, 185, 35, 0.15);
    color: var(--accent);
    border-right-color: var(--accent);
    font-weight: 600;
}

/* ==========================================
   Logo & Branding
   ========================================== */

.navbar-brand[b-3m81jcuifv] {
    color: var(--primary) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    margin-left: auto;
    margin-right: 0;
    transition: all 0.3s ease;
}

.navbar-brand:hover[b-3m81jcuifv] {
    color: var(--accent) !important;
    transform: scale(1.02);
}

.logo-text[b-3m81jcuifv] {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    text-align: center;
    border-bottom: 3px solid var(--accent);
    letter-spacing: 0.5px;
}

.logo-text span[b-3m81jcuifv] {
    color: var(--accent);
}

/* ==========================================
   Navbar Toggler (Mobile)
   ========================================== */

.navbar-toggler[b-3m81jcuifv] {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

.navbar-toggler:focus[b-3m81jcuifv] {
    box-shadow: 0 0 0 0.35rem rgba(15, 52, 96, 0.15) !important;
}

.navbar-toggler:hover[b-3m81jcuifv] {
    background-color: var(--light-gray);
}

.navbar-toggler-icon[b-3m81jcuifv] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f3460' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ==========================================
   Collapse Animation
   ========================================== */

.nav-scrollable.collapse[b-3m81jcuifv] {
    display: none;
}

.nav-scrollable[b-3m81jcuifv] {
    display: block;
}

/* ==========================================
   Scrollbar Styling
   ========================================== */

.sidebar[b-3m81jcuifv]::-webkit-scrollbar {
    width: 8px;
}

.sidebar[b-3m81jcuifv]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar[b-3m81jcuifv]::-webkit-scrollbar-thumb {
    background: rgba(232, 185, 35, 0.5);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.sidebar[b-3m81jcuifv]::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 185, 35, 0.8);
}

main[b-3m81jcuifv]::-webkit-scrollbar {
    width: 10px;
}

main[b-3m81jcuifv]::-webkit-scrollbar-track {
    background: var(--light-gray);
}

main[b-3m81jcuifv]::-webkit-scrollbar-thumb {
    background: rgba(15, 52, 96, 0.3);
    border-radius: 5px;
    transition: background 0.3s ease;
}

main[b-3m81jcuifv]::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 52, 96, 0.6);
}

/* ==========================================
   Print Styles
   ========================================== */

@media print {
    .sidebar[b-3m81jcuifv] {
        display: none;
    }

    main[b-3m81jcuifv] {
        margin-right: 0;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-96k995ad58] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-96k995ad58] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-96k995ad58] {
    font-size: 1.1rem;
}

.bi[b-96k995ad58] {
    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-96k995ad58] {
    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-96k995ad58] {
    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-96k995ad58] {
    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-96k995ad58] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-96k995ad58] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-96k995ad58] {
        padding-bottom: 1rem;
    }

    .nav-item[b-96k995ad58]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-96k995ad58]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-96k995ad58]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-96k995ad58] {
        display: none;
    }

    .collapse[b-96k995ad58] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-96k995ad58] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
