/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout with Top Navigation */
.page[b-crx00wc8g6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.main-content[b-crx00wc8g6] {
    flex: 1;
    background-color: #f8f9fa;
    padding: 0;
}

.content[b-crx00wc8g6] {
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin: 1rem 0;
    min-height: calc(100vh - 200px);
}

/* Navbar enhancements */
.navbar[b-crx00wc8g6] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1030;
}

.navbar-brand[b-crx00wc8g6] {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover[b-crx00wc8g6] {
    transform: scale(1.02);
}

.navbar-nav .nav-link[b-crx00wc8g6] {
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover[b-crx00wc8g6] {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active[b-crx00wc8g6] {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.navbar-nav .nav-link.active[b-crx00wc8g6]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #ffc107;
    border-radius: 2px 2px 0 0;
}

/* Dropdown menu styling */
.dropdown-menu[b-crx00wc8g6] {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item[b-crx00wc8g6] {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0.25rem;
}

.dropdown-item:hover[b-crx00wc8g6] {
    background-color: var(--durakey-primary);
    color: white;
    transform: translateX(2px);
}

.dropdown-item i[b-crx00wc8g6] {
    width: 20px;
    text-align: center;
}

/* Mobile responsive navbar */
@media (max-width: 991.98px) {
    .navbar-collapse[b-crx00wc8g6] {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-nav[b-crx00wc8g6] {
        align-items: flex-start;
    }
    
    .navbar-nav .nav-link[b-crx00wc8g6] {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        width: 100%;
    }
    
    .navbar-nav .dropdown-menu[b-crx00wc8g6] {
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .content[b-crx00wc8g6] {
        margin: 0.5rem 0;
        border-radius: 0.25rem;
        min-height: calc(100vh - 180px);
    }
    
    .navbar-brand[b-crx00wc8g6] {
        font-size: 1.25rem;
    }
    
    .navbar-brand img[b-crx00wc8g6] {
        height: 35px !important;
    }
}

@media (max-width: 576px) {
    .content[b-crx00wc8g6] {
        margin: 0.25rem 0;
        padding: 1rem;
        min-height: calc(100vh - 160px);
    }
    
    .navbar-brand[b-crx00wc8g6] {
        font-size: 1.1rem;
    }
    
    .navbar-brand img[b-crx00wc8g6] {
        height: 30px !important;
        margin-right: 0.5rem !important;
    }
    
    .navbar-toggler[b-crx00wc8g6] {
        font-size: 1rem;
        padding: 0.5rem;
    }
}


/* Enhanced error UI for better visibility with top nav */
#blazor-error-ui[b-crx00wc8g6] {
    color-scheme: light only;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1050;
    color: #856404;
    font-weight: 500;
}

#blazor-error-ui .dismiss[b-crx00wc8g6] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    background: none;
    border: none;
    color: #856404;
    padding: 0.25rem;
    line-height: 1;
}

#blazor-error-ui .dismiss:hover[b-crx00wc8g6] {
    color: #533f03;
    background-color: rgba(133, 100, 4, 0.1);
    border-radius: 0.25rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
 * NavMenu Component Styles
 *
 * NOTE: The sidebar navigation has been replaced by top navigation in MainLayout.razor
 * This file is kept minimal for backwards compatibility.
 * Primary styling is now in app.css and MainLayout.razor.css
 */

/* Hide legacy nav menu if ever rendered */
.legacy-nav-menu[b-hbsy5celea] {
    display: none !important;
}

/* Minimal nav-icon class kept for any shared component usage */
.nav-icon[b-hbsy5celea] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home page wrapper - pushes CTA section to bottom of viewport */
.home-page-wrapper[b-gze9mxtc7w] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 180px); /* Account for navbar and margins */
}

/* Push CTA section to bottom when content is short */
.home-page-wrapper > .cta-section[b-gze9mxtc7w] {
    margin-top: auto;
}

/* Ensure modals don't participate in flex layout */
.home-page-wrapper > .modal[b-gze9mxtc7w] {
    margin-top: 0;
}
