/* _content/FSSClassMate/Shared/MainLayout.razor.rz.scp.css */
.page[b-q5dce5xysx] {
    position: relative;
    display: flex;
    flex-direction: row;
}

main[b-q5dce5xysx] {
    flex: 1;
    margin-left: 250px; /* Add margin equal to sidebar width */
}
.sidebar[b-q5dce5xysx] {
    width: 250px;
    height: 100vh;
    position: fixed; /* Change from sticky to fixed */
    top: 0;
    left: 0;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    z-index: 1000; /* Add z-index to ensure it stays above other content */
}

.top-row[b-q5dce5xysx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-q5dce5xysx]  .user-info {
        margin-left: auto;
        margin-right: 1.5rem;
        font-weight: bold;
        text-align: right;
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;
    }

    .top-row[b-q5dce5xysx]  a, .top-row .btn-link[b-q5dce5xysx] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-q5dce5xysx] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .page[b-q5dce5xysx] {
        flex-direction: column;
    }
    
    .sidebar[b-q5dce5xysx] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1001;
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    }
    
    main[b-q5dce5xysx] {
        margin-left: 0;
        margin-top: 60px;
    }
    
    .top-row:not(.auth)[b-q5dce5xysx] {
        display: none;
    }

    .top-row.auth[b-q5dce5xysx] {
        justify-content: space-between;
    }

    .top-row a[b-q5dce5xysx], .top-row .btn-link[b-q5dce5xysx] {
        margin-left: 0;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 640.98px) and (orientation: landscape) {
    .sidebar[b-q5dce5xysx] {
        height: 50px;
    }
    
    main[b-q5dce5xysx] {
        margin-top: 50px;
    }
}

@media (min-width: 641px) {
    .top-row[b-q5dce5xysx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-q5dce5xysx], article[b-q5dce5xysx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.footer[b-q5dce5xysx] {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem 2rem;
    margin-top: auto;
    font-size: 0.875rem;
}

.footer .btn-sm[b-q5dce5xysx] {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

@media (max-width: 640.98px) {
    .footer[b-q5dce5xysx] {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer .d-flex[b-q5dce5xysx] {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* _content/FSSClassMate/Shared/NavMenu.razor.rz.scp.css */
# NavMenu.razor.css
.navbar-toggler[b-y41gc6cf8z] {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[b-y41gc6cf8z] {
    display: none;
}

/* Show mobile menu toggle on mobile devices */
@media (max-width: 640.98px) {
    .mobile-menu-toggle[b-y41gc6cf8z] {
        display: flex !important;
    }
}

.hamburger-line[b-y41gc6cf8z] {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1)[b-y41gc6cf8z] {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2)[b-y41gc6cf8z] {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3)[b-y41gc6cf8z] {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo[b-y41gc6cf8z] {
    height: 80px;
    display: block;
    margin: auto;
    margin-bottom: 1px;
}

.navbar-brand > div[b-y41gc6cf8z] {
    margin-top: 20px;
    margin-bottom: 20px;
}

.top-row[b-y41gc6cf8z] {
    height: 140px;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.navbar-brand[b-y41gc6cf8z] {
    font-size: 1.1rem;
    font-weight: bold;
}

.oi[b-y41gc6cf8z] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-y41gc6cf8z] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-y41gc6cf8z] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-y41gc6cf8z] {
        padding-bottom: 1rem;
    }

    .nav-item[b-y41gc6cf8z]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item[b-y41gc6cf8z]  a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item[b-y41gc6cf8z]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.section-content[b-y41gc6cf8z] {
    display: none;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

    .section-content.expanded[b-y41gc6cf8z] {
        display: block;
    }

.section-header[b-y41gc6cf8z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: #d7d7d7;
}

    .section-header:hover[b-y41gc6cf8z] {
        background-color: rgba(255,255,255,0.1);
    }

    .section-header span:last-child[b-y41gc6cf8z] {
        font-size: 1.2rem;
        margin-left: 0.5rem;
    }

/* Mobile styles */
@media (max-width: 640.98px) {
    .mobile-menu-toggle[b-y41gc6cf8z] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .mobile-menu-toggle:focus[b-y41gc6cf8z] {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }
    
    .container-fluid[b-y41gc6cf8z] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0;
    }
    
    .top-row[b-y41gc6cf8z] {
        height: 60px;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-brand[b-y41gc6cf8z] {
        font-size: 1rem;
    }
    
    .logo[b-y41gc6cf8z] {
        height: 40px;
        margin-bottom: 0;
    }
    
    .navbar-brand > div[b-y41gc6cf8z] {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    .collapse[b-y41gc6cf8z] {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .collapse.show[b-y41gc6cf8z] {
        left: 0;
    }
    
    .nav-item[b-y41gc6cf8z] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-of-type[b-y41gc6cf8z] {
        border-bottom: none;
    }
    
    .nav-item[b-y41gc6cf8z]  a {
        height: auto;
        line-height: 1.5;
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .section-header[b-y41gc6cf8z] {
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .section-content[b-y41gc6cf8z] {
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .section-content .nav-item[b-y41gc6cf8z] {
        padding-left: 2rem;
    }
    
    .nav-version[b-y41gc6cf8z] {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        text-align: center;
        padding: 1rem;
        margin-top: auto;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 640.98px) and (orientation: landscape) {
    .top-row[b-y41gc6cf8z] {
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo[b-y41gc6cf8z] {
        height: 35px;
    }
    
    .collapse[b-y41gc6cf8z] {
        top: 50px;
        height: calc(100vh - 50px);
    }
    
    .nav-item[b-y41gc6cf8z] {
        padding: 0.5rem 1rem;
    }
    
    .section-header[b-y41gc6cf8z] {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .mobile-menu-toggle[b-y41gc6cf8z] {
        min-width: 50px !important;
        min-height: 50px !important;
        background-color: #ff6b35 !important;
        border: 2px solid #ffffff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }
}

/* Tablet styles */
@media (min-width: 641px) and (max-width: 1024px) {
    .mobile-menu-toggle[b-y41gc6cf8z] {
        display: none !important;
    }
    
    .collapse[b-y41gc6cf8z] {
        display: block;
    }
    
    .sidebar[b-y41gc6cf8z] {
        width: 200px;
    }
    
    main[b-y41gc6cf8z] {
        margin-left: 200px;
    }
}

/* Desktop styles */
@media (min-width: 1025px) {
    .navbar-toggler[b-y41gc6cf8z] {
        display: none;
    }
    
    .mobile-menu-toggle[b-y41gc6cf8z] {
        display: none !important;
    }

    .collapse[b-y41gc6cf8z] {
        display: block;
    }
}

/* Ensure mobile menu toggle is visible on mobile */
@media (max-width: 640.98px) {
    .mobile-menu-toggle[b-y41gc6cf8z] {
        background-color: #ff6b35 !important; /* Vibrant orange/coral color like the last icon */
        border: 2px solid #ffffff !important;
        position: relative !important;
        z-index: 1002 !important;
        min-width: 55px !important;
        min-height: 55px !important;
        border-radius: 8px !important;
        padding: 12px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-menu-toggle:hover[b-y41gc6cf8z] {
        background-color: #e55a2b !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }
    
    .mobile-menu-toggle:active[b-y41gc6cf8z] {
        transform: scale(0.95) !important;
    }
    
    .hamburger-line[b-y41gc6cf8z] {
        width: 24px !important;
        height: 3px !important;
        background-color: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1)[b-y41gc6cf8z] {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2)[b-y41gc6cf8z] {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3)[b-y41gc6cf8z] {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
}

/* iPhone specific fixes */
@media only screen and (max-width: 896px) and (orientation: landscape) {
    .mobile-menu-toggle[b-y41gc6cf8z] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: #ff6b35 !important;
        border: 2px solid #ffffff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }
}
