/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-xicmh8zggk] {
    position: relative;
    display: flex;
    height: 100vh;
}

.sidebar[b-xicmh8zggk] {
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.main-content[b-xicmh8zggk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-row[b-xicmh8zggk] {
    background-color: white;
    border-bottom: 1px solid #e9ecef;
    justify-content: flex-start;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content[b-xicmh8zggk] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hide header content on desktop - sidebar will show logo/title */
.mobile-only[b-xicmh8zggk] {
    display: none;
}

.header-logo[b-xicmh8zggk] {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.header-title[b-xicmh8zggk] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
}

.header-actions[b-xicmh8zggk] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-btn[b-xicmh8zggk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
}

.header-btn:hover[b-xicmh8zggk] {
    background: #e9ecef;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.header-btn.active[b-xicmh8zggk] {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.header-btn-icon[b-xicmh8zggk] {
    font-size: 1.2rem;
}

.content[b-xicmh8zggk] {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem 0;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .sidebar[b-xicmh8zggk] {
        display: none;
    }
    
    .main-content[b-xicmh8zggk] {
        margin-bottom: 70px; /* Space for bottom navigation */
    }
    
    .top-row[b-xicmh8zggk] {
        height: 50px;
        padding: 0 1rem;
    }
    
    /* Show header content on mobile */
    .mobile-only[b-xicmh8zggk] {
        display: flex !important;
    }
    
    .header-logo[b-xicmh8zggk] {
        width: 28px;
        height: 28px;
    }
    
    .header-title[b-xicmh8zggk] {
        font-size: 1.25rem;
    }
    
    .header-btn[b-xicmh8zggk] {
        width: 36px;
        height: 36px;
    }
    
    .header-btn-icon[b-xicmh8zggk] {
        font-size: 1.1rem;
    }
    
    .content[b-xicmh8zggk] {
        padding: 0.15rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .content[b-xicmh8zggk] {
        padding: 0.05rem;
    }
    
    .top-row[b-xicmh8zggk] {
        padding: 0 0.5rem;
    }
}

/* Ultra-compact mobile screens */
@media (max-width: 400px) {
    .content[b-xicmh8zggk] {
        padding: 0;
    }
    
    .top-row[b-xicmh8zggk] {
        padding: 0 0.25rem;
    }
}

/* Extra small mobile screens */
@media (max-width: 360px) {
    .content[b-xicmh8zggk] {
        padding: 0;
    }
    
    .top-row[b-xicmh8zggk] {
        padding: 0 0.15rem;
    }
}

/* Loading spinner styles */
.loading-container[b-xicmh8zggk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 1rem;
}

.loading-spinner[b-xicmh8zggk] {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin-b-xicmh8zggk 1s linear infinite;
}

@keyframes spin-b-xicmh8zggk {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile bottom navigation */
.mobile-nav[b-xicmh8zggk] {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    z-index: 1000;
    height: 70px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Show mobile nav only on mobile screens */
@media (max-width: 768px) {
    .mobile-nav[b-xicmh8zggk] {
        display: block;
    }
}

/* Hide mobile nav on desktop screens */
@media (min-width: 769px) {
    .mobile-nav[b-xicmh8zggk] {
        display: none !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Desktop Sidebar Navigation */
.navbar[b-4fbot39lvp] {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    height: 100vh;
    width: 250px;
    padding: 1rem 0;
}

.navbar-brand[b-4fbot39lvp] {
    padding: 0 1rem 1rem 1rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.navbar-brand-text[b-4fbot39lvp] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-left: 0.5rem;
}

.navbar-menu[b-4fbot39lvp] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.navbar-start[b-4fbot39lvp] {
    flex: 1;
}

.navbar-item[b-4fbot39lvp] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0 0.5rem 0.25rem 0.5rem;
    cursor: pointer;
}

.navbar-item:hover[b-4fbot39lvp] {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
}

.navbar-item.active[b-4fbot39lvp] {
    background: rgba(108, 117, 125, 0.15);
    color: #495057;
}

.icon[b-4fbot39lvp] {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-text[b-4fbot39lvp] {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Mobile Bottom Navigation - Only show on mobile */
@media (max-width: 768px) {
    .navbar[b-4fbot39lvp] {
        display: none; /* Hide desktop sidebar on mobile */
    }
    
    .mobile-nav .navbar[b-4fbot39lvp] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        width: 100%;
        background: white;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav .navbar-brand[b-4fbot39lvp] {
        display: none; /* Hide branding in mobile mode */
    }
    
    .mobile-nav .navbar-menu[b-4fbot39lvp] {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0;
    }
    
    .mobile-nav .navbar-start[b-4fbot39lvp] {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .mobile-nav .navbar-item[b-4fbot39lvp] {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        margin: 0;
        border-radius: 0;
        text-align: center;
        text-decoration: none;
        color: #6c757d;
        transition: all 0.2s ease;
        max-width: 80px;
        cursor: pointer;
        gap: 0.125rem;
        position: relative;
    }
    
    .mobile-nav .icon[b-4fbot39lvp] {
        width: 1.5rem;
        height: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
        margin: 0;
    }
    
    .mobile-nav .nav-text[b-4fbot39lvp] {
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1;
        display: block;
        flex-shrink: 0;
        margin: 0;
        text-align: center;
    }
    
    .mobile-nav .navbar-item:hover[b-4fbot39lvp] {
        background: transparent;
        color: #007bff;
    }
    
    .mobile-nav .navbar-item.active[b-4fbot39lvp] {
        background: transparent;
        color: #007bff;
        position: relative;
    }
    
    .mobile-nav .navbar-item.active[b-4fbot39lvp]::after {
        content: '';
        position: absolute;
        top: calc(50% + 28px);
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: #007bff;
        border-radius: 2px;
        z-index: 1;
    }
}

/* Ensure mobile nav is hidden on desktop */
@media (min-width: 769px) {
    .mobile-nav .navbar[b-4fbot39lvp] {
        display: none !important;
    }
}
