/* _content/CashMachine.QualityPortal/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1h81nripu7] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-1h81nripu7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    min-height: 100vh;
    overflow-x: hidden;
}

.sidebar[b-1h81nripu7] {
    background: var(--sidebar-bg);
    flex-shrink: 0;
}

/* ===== TOP BAR ===== */
.top-bar[b-1h81nripu7] {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    height: 60px;
    padding: 0 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    flex-shrink: 0;
}

.top-bar-left[b-1h81nripu7] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.top-bar-right[b-1h81nripu7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-chip[b-1h81nripu7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.user-avatar[b-1h81nripu7] {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 0.6875rem; font-weight: 700;
    flex-shrink: 0;
}

.btn-signout[b-1h81nripu7] {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    border-radius: var(--radius);
    transition: all 0.15s;
    border: 1px solid var(--border-color);
    background: transparent;
}
.btn-signout:hover[b-1h81nripu7] {
    background: var(--bg-body);
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* ===== CONTENT ===== */
.content-area[b-1h81nripu7] {
    padding: 1.75rem 2rem;
    flex: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640.98px) {
    .top-bar[b-1h81nripu7] {
        padding: 0 1rem;
    }
    .content-area[b-1h81nripu7] {
        padding: 1rem;
    }
}

@media (min-width: 641px) {
    .page[b-1h81nripu7] {
        flex-direction: row;
    }
    .sidebar[b-1h81nripu7] {
        width: 256px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: hidden;
    }
    main[b-1h81nripu7] {
        flex: 1;
    }
}
/* _content/CashMachine.QualityPortal/Components/Layout/NavMenu.razor.rz.scp.css */
/* ===== SIDEBAR HEADER ===== */
.sidebar-header[b-5sbpdrtryl] {
    padding: 1.125rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand-link[b-5sbpdrtryl] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon[b-5sbpdrtryl] {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.brand-name[b-5sbpdrtryl] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
}

.brand-sub[b-5sbpdrtryl] {
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1;
}

/* ===== NAV SECTION ===== */
.nav-section[b-5sbpdrtryl] {
    padding: 1rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-label[b-5sbpdrtryl] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    padding: 0 0.5rem;
    margin-bottom: 0.375rem;
}

/* ===== SIDEBAR LINKS - defined in app.css (NavLink renders <a> outside Blazor scope) ===== */

/* ===== FOOTER ===== */ */
.sidebar-footer[b-5sbpdrtryl] {
    padding: 0.875rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: auto;
}

.footer-item[b-5sbpdrtryl] {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #475569;
}

/* ===== MOBILE TOGGLE ===== */
.navbar-toggler[b-5sbpdrtryl] {
    appearance: none;
    cursor: pointer;
    width: 3rem; height: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    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.5rem rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.navbar-toggler:checked[b-5sbpdrtryl] { background-color: rgba(255,255,255,0.15); }

.nav-scrollable[b-5sbpdrtryl] {
    display: none;
    flex-direction: column;
}
.navbar-toggler:checked ~ .nav-scrollable[b-5sbpdrtryl] { display: flex; }

@media (min-width: 641px) {
    .navbar-toggler[b-5sbpdrtryl] { display: none; }
    .nav-scrollable[b-5sbpdrtryl] {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 72px);
    }
}

.navbar-toggler:checked[b-5sbpdrtryl] {
    background-color: rgba(255, 255, 255, 0.5);
}
