/* _content/TesouroDireto.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hg64lfazb4] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-hg64lfazb4] {
    flex: 1;
    background-color: var(--bg-primary);
}

.sidebar[b-hg64lfazb4] {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
}

.content[b-hg64lfazb4] {
    padding-top: 2rem;
    padding-bottom: 2rem;
    max-width: 1200px;
}

@media (max-width: 640.98px) {
    .content[b-hg64lfazb4] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (min-width: 641px) {
    .page[b-hg64lfazb4] {
        flex-direction: row;
    }

    .sidebar[b-hg64lfazb4] {
        width: var(--sidebar-width);
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .content[b-hg64lfazb4] {
        padding-left: 2.5rem !important;
        padding-right: 2rem !important;
    }
}

#blazor-error-ui[b-hg64lfazb4] {
    background: var(--bg-secondary);
    border-top: 2px solid var(--accent-red);
    bottom: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    display: none;
    left: 0;
    padding: 0.8rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: var(--text-primary);
}

    #blazor-error-ui .dismiss[b-hg64lfazb4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/TesouroDireto.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* --- Sidebar Header --- */
.sidebar-header[b-954hwchtd7] {
    height: 4.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand[b-954hwchtd7] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand:hover[b-954hwchtd7] {
    color: var(--text-primary);
    text-decoration: none;
}

.brand:hover .brand-icon[b-954hwchtd7] {
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.35);
    transform: scale(1.05);
}

.brand-icon[b-954hwchtd7] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4facfe, #00c896);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(79, 172, 254, 0.25);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-text[b-954hwchtd7] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name[b-954hwchtd7] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-tagline[b-954hwchtd7] {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* --- Mobile Toggler --- */
.navbar-toggler[b-954hwchtd7] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.05);
}

.navbar-toggler:checked[b-954hwchtd7] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* --- Nav Sections --- */
.nav-section-label[b-954hwchtd7] {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.25rem 1.5rem 0.4rem;
}

.nav-divider[b-954hwchtd7] {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.5rem 1.25rem;
}

/* --- Nav Icon (SVG) --- */
.nav-icon[b-954hwchtd7] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

/* --- Nav Items --- */
.nav-item[b-954hwchtd7] {
    font-size: 0.88rem;
    padding-bottom: 2px;
}

    .nav-item[b-954hwchtd7]  .nav-link {
        color: var(--text-secondary);
        background: none;
        border: none;
        border-radius: 8px;
        height: 2.5rem;
        display: flex;
        align-items: center;
        line-height: 2.5rem;
        width: 100%;
        padding: 0 0.75rem;
        transition: all 0.2s ease;
        font-weight: 500;
    }

.nav-item[b-954hwchtd7]  a.active {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-blue);
}

.nav-item[b-954hwchtd7]  a.active .nav-icon {
    opacity: 1;
}

.nav-item[b-954hwchtd7]  .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-item[b-954hwchtd7]  .nav-link:hover .nav-icon {
    opacity: 0.9;
}

/* --- Scrollable Area --- */
.nav-scrollable[b-954hwchtd7] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-954hwchtd7] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-954hwchtd7] {
        display: none;
    }

    .nav-scrollable[b-954hwchtd7] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
