/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ========================================
   App Layout
   ======================================== */

.app-layout[b-ucpn8gk6jw] {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
}

/* ========================================
   Mobile Header - Dark Theme
   ======================================== */

.mobile-header[b-ucpn8gk6jw] {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.menu-toggle[b-ucpn8gk6jw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition);
}

.menu-toggle:hover[b-ucpn8gk6jw] {
    background: rgba(255, 255, 255, 0.1);
}

.header-brand[b-ucpn8gk6jw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.header-brand i[b-ucpn8gk6jw] {
    font-size: 1.25rem;
    color: white;
}

.header-actions[b-ucpn8gk6jw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-spacer[b-ucpn8gk6jw] {
    width: 2.5rem;
}

/* ========================================
   Sidebar
   ======================================== */

.sidebar[b-ucpn8gk6jw] {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    z-index: 1001;
    overflow-y: auto;
    transition: transform var(--transition-slow);
    transform: translateX(-100%);
    display: none;
}

.sidebar-overlay[b-ucpn8gk6jw] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

/* ========================================
   Main Content
   ======================================== */

.main-content[b-ucpn8gk6jw] {
    flex: 1;
    margin-left: 0;
    margin-top: 3.5rem;
    margin-bottom: 4rem;
    min-height: calc(100vh - 7.5rem);
    display: flex;
    flex-direction: column;
}

.content-area[b-ucpn8gk6jw] {
    flex: 1;
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ========================================
   Footer - Dark Theme
   ======================================== */

.app-footer[b-ucpn8gk6jw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-separator[b-ucpn8gk6jw] {
    color: var(--border-color);
}

/* ========================================
   Bottom Navigation (Mobile) - Dark Theme
   ======================================== */

.bottom-nav[b-ucpn8gk6jw] {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.bottom-nav-item[b-ucpn8gk6jw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.25rem;
    padding: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 500;
    transition: all var(--transition);
}

.bottom-nav-item i[b-ucpn8gk6jw] {
    font-size: 1.25rem;
}

.bottom-nav-item:hover[b-ucpn8gk6jw],
.bottom-nav-item.active[b-ucpn8gk6jw] {
    color: var(--primary-color);
}

.bottom-nav-item.active[b-ucpn8gk6jw] {
    font-weight: 600;
}

.bottom-nav-item.active i[b-ucpn8gk6jw] {
    transform: scale(1.1);
}

/* ========================================
   Footer - Dark Theme
   ======================================== */

.app-footer[b-ucpn8gk6jw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-separator[b-ucpn8gk6jw] {
    color: var(--border-color);
}

/* ========================================
   Error UI - Dark Theme
   ======================================== */

#blazor-error-ui[b-ucpn8gk6jw] {
    color-scheme: dark only;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.2) 100%);
    bottom: 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.875rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
    border-top: 2px solid #f59e0b;
    color: #fbbf24;
}

#blazor-error-ui .reload[b-ucpn8gk6jw] {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-ucpn8gk6jw] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Mobile layout aplicado em todos os tamanhos de tela */
.content-area[b-ucpn8gk6jw] {
    padding: 1rem;
}

.app-footer[b-ucpn8gk6jw] {
    display: none;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ========================================
   Navigation Header
   ======================================== */

.nav-header[b-o7oeaz04da] {
    padding: 1.5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand[b-o7oeaz04da] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.brand-icon[b-o7oeaz04da] {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    font-size: 1.5rem;
}

.brand-text[b-o7oeaz04da] {
    display: flex;
    flex-direction: column;
}

.brand-title[b-o7oeaz04da] {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.brand-subtitle[b-o7oeaz04da] {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 400;
}

/* ========================================
   Desktop User Section
   ======================================== */

.desktop-user-section[b-o7oeaz04da] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-user-section[b-o7oeaz04da]  .dropdown {
    width: 100%;
}

.desktop-user-section[b-o7oeaz04da]  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: left;
}

.desktop-user-section[b-o7oeaz04da]  .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hide desktop user section on mobile */
@media (max-width: 768px) {
    .desktop-user-section[b-o7oeaz04da] {
        display: none;
    }
}

/* ========================================
   Navigation Menu
   ========================================*/

.nav-menu[b-o7oeaz04da] {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-section[b-o7oeaz04da] {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}

.nav-section-title[b-o7oeaz04da] {
    display: block;
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.nav-item[b-o7oeaz04da] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0.625rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover[b-o7oeaz04da] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active[b-o7oeaz04da] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-icon[b-o7oeaz04da] {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 200ms ease;
}

.nav-item:hover .nav-icon[b-o7oeaz04da],
.nav-item.active .nav-icon[b-o7oeaz04da] {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.nav-text[b-o7oeaz04da] {
    flex: 1;
}

/* ========================================
   Navigation Footer
   ======================================== */

.nav-footer[b-o7oeaz04da] {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-footer-content[b-o7oeaz04da] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Scrollbar Styling
   ======================================== */

.nav-menu[b-o7oeaz04da]::-webkit-scrollbar {
    width: 4px;
}

.nav-menu[b-o7oeaz04da]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-menu[b-o7oeaz04da]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.nav-menu[b-o7oeaz04da]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .nav-header[b-o7oeaz04da] {
        padding: 1.25rem 1rem 0.75rem;
    }

    .brand-icon[b-o7oeaz04da] {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .brand-title[b-o7oeaz04da] {
        font-size: 0.9375rem;
    }

    .nav-section[b-o7oeaz04da] {
        padding: 0 0.5rem;
    }

    .nav-item[b-o7oeaz04da] {
        padding: 0.625rem 0.875rem;
    }

    .nav-icon[b-o7oeaz04da] {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
}
