/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-x8g6icv0t5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-x8g6icv0t5] {
    flex: 1;
}

.sidebar[b-x8g6icv0t5] {
    transition: width 0.2s ease, min-width 0.2s ease;
}

.sidebar-collapsed[b-x8g6icv0t5] {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
}

.top-row[b-x8g6icv0t5] {
    height: 55px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pm-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: transform 0.25s ease;
}

.header-scroll.hidden[b-x8g6icv0t5] {
    transform: translateY(-100%);
}

.theme-btn-slim[b-x8g6icv0t5] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--pm-primary-dark);
}

    .theme-btn-slim:hover[b-x8g6icv0t5] {
        background: var(--pm-nav-hover, rgba(59, 130, 246, 0.1));
    }

.btn-logout-slim[b-x8g6icv0t5] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ef444410;
    color: var(--pm-danger);
    border: none;
}

    .btn-logout-slim:hover[b-x8g6icv0t5] {
        background: #ef444420;
        color: var(--pm-danger);
    }

.company-badge[b-x8g6icv0t5] {
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--pm-primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
}

.user-badge[b-x8g6icv0t5] {
    background: #f1f5f9;
    color: var(--pm-text-muted);
    font-size: 0.85rem;
}

@media (min-width: 641px) {
    .page[b-x8g6icv0t5] {
        flex-direction: row;
    }

    .sidebar[b-x8g6icv0t5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    article[b-x8g6icv0t5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-x8g6icv0t5] {
    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-x8g6icv0t5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
