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

main[b-qka59l65nu] {
    flex: 1;
    background: var(--bg);
    min-width: 0;
}

.sidebar[b-qka59l65nu] {
    background: linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-darker) 100%);
    color: var(--brand-white);
}

article.content[b-qka59l65nu] {
    padding: 1.75rem 2rem;
    max-width: 1400px;
}

#blazor-error-ui[b-qka59l65nu] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-qka59l65nu] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

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

    .sidebar[b-qka59l65nu] {
        width: 230px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 640.98px) {
    article.content[b-qka59l65nu] {
        padding: 1.25rem 1rem;
    }
}
/* _content/ControleFila.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-inner[b-hl9e5xtvd6] {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--navbar-text);
}

.sidebar-brand[b-hl9e5xtvd6] {
    padding: 1.5rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-link[b-hl9e5xtvd6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.brand-link img[b-hl9e5xtvd6] {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
}

.brand-title[b-hl9e5xtvd6] {
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.navbar-toggler[b-hl9e5xtvd6] {
    appearance: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.25rem;
    color: white;
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    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.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255, 255, 255, 0.05);
}

.sidebar-nav[b-hl9e5xtvd6] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

.sidebar-section-title[b-hl9e5xtvd6] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    padding: 1rem 1rem 0.4rem;
    font-weight: 600;
}

[b-hl9e5xtvd6] .sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    margin: 0.1rem 0.5rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background-color 0.12s, color 0.12s, transform 0.12s;
    border-left: 3px solid transparent;
}

[b-hl9e5xtvd6] .sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: white;
}

[b-hl9e5xtvd6] .sidebar-link.active {
    background-color: rgba(254, 198, 24, 0.12);
    color: var(--brand-yellow);
    border-left-color: var(--brand-yellow);
}

.nav-icon[b-hl9e5xtvd6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-footer[b-hl9e5xtvd6] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-chip[b-hl9e5xtvd6] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background-color 0.12s;
    min-width: 0;
}

.user-chip:hover[b-hl9e5xtvd6] {
    background-color: rgba(255, 255, 255, 0.06);
    color: white;
}

.user-avatar[b-hl9e5xtvd6] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-yellow);
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-name[b-hl9e5xtvd6] {
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-actions[b-hl9e5xtvd6] {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0.25rem;
}

/* .icon-btn defined globally in theme.css so child components (ThemeToggle) can reuse it */

@media (max-width: 640.98px) {
    .sidebar-nav[b-hl9e5xtvd6], .sidebar-footer[b-hl9e5xtvd6] {
        display: none;
    }
    .navbar-toggler:checked ~ .sidebar-nav[b-hl9e5xtvd6],
    .navbar-toggler:checked ~ .sidebar-footer[b-hl9e5xtvd6] {
        display: flex;
    }
}

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