/* /Pages/ComplOps.razor.rz.scp.css */
/*
   ComplOps.razor.css
   Page-specific styles only.
   All shared ro- / vp- classes come from ops-shared.css (loaded globally).
*/

/* Standards table: read-only, no left accent needed */
.ro-kw-table-std .ro-kw-row[b-cv7wydf3y1] {
    border-left-color: var(--c-blue-md);
}

/* Controls table: mark critical rows */
.ro-kw-table-ctrl .ro-kw-row.is-critical[b-cv7wydf3y1] {
    border-left-color: var(--c-amber);
}
/* /Shared/MainLayout.razor.rz.scp.css */
/* =========================
   MainLayout
========================= */

*[b-s0fqcahl19], *[b-s0fqcahl19]::before, *[b-s0fqcahl19]::after {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.page[b-s0fqcahl19] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-s0fqcahl19] {
    flex: 1;
    background: #f7f8fa;
    min-height: 100vh;
}

.sidebar[b-s0fqcahl19] {
    background-image: linear-gradient(180deg, #052767 0%, #3a0647 100%);
}

.top-row[b-s0fqcahl19] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e5e7eb;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .top-row[b-s0fqcahl19]  a,
    .top-row .btn-link[b-s0fqcahl19] {
        white-space: nowrap;
        margin-left: 1.5rem;
        font-size: 0.875rem;
        color: #374151;
    }

    .top-row a:first-child[b-s0fqcahl19] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ── Mobile ───────────────────────────────────────────────────────── */

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-s0fqcahl19] {
        display: none;
    }

    .top-row.auth[b-s0fqcahl19] {
        justify-content: space-between;
    }

    .top-row a[b-s0fqcahl19],
    .top-row .btn-link[b-s0fqcahl19] {
        margin-left: 0;
    }

    main[b-s0fqcahl19] {
        /* Give breathing room so content isn't clipped under the mobile nav bar */
        padding-bottom: env(safe-area-inset-bottom, 16px);
    }

    article.content[b-s0fqcahl19] {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 12px !important;
    }
}

/* ── Desktop ──────────────────────────────────────────────────────── */

@media (min-width: 641px) {
    .page[b-s0fqcahl19] {
        flex-direction: row;
    }

    .sidebar[b-s0fqcahl19] {
        width: 235px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-s0fqcahl19] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row[b-s0fqcahl19],
    article[b-s0fqcahl19] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
/* =========================
   NavMenu
========================= */

.navbar-toggler[b-95s8fpdh06] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-95s8fpdh06] {
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.35);
}

.navbar-brand[b-95s8fpdh06] {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.brand-icon[b-95s8fpdh06] {
    font-size: 1rem;
}

/* ── Section labels ──────────────────────────────────────────────── */

.nav-section-label[b-95s8fpdh06] {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    padding: 18px 16px 5px;
}

    .nav-section-label:first-of-type[b-95s8fpdh06] {
        padding-top: 16px;
    }

/* ── Nav items ───────────────────────────────────────────────────── */

.nav-icon[b-95s8fpdh06] {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.nav-item[b-95s8fpdh06] {
    font-size: 0.875rem;
    padding-bottom: 1px;
}

    .nav-item[b-95s8fpdh06]  a {
        color: rgba(210, 215, 225, 0.8);
        border-radius: 8px;
        height: 2.6rem;
        display: flex;
        align-items: center;
        gap: 9px;
        line-height: 1;
        padding: 0 10px;
        transition: background 0.15s, color 0.15s;
    }

        .nav-item[b-95s8fpdh06]  a.active {
            background-color: rgba(255, 255, 255, 0.18);
            color: white;
            font-weight: 600;
        }

        .nav-item[b-95s8fpdh06]  a:hover:not(.active) {
            background-color: rgba(255, 255, 255, 0.09);
            color: rgba(255, 255, 255, 0.95);
        }

/* ── Mobile — overlay drawer ─────────────────────────────────────── */

@media (max-width: 640.98px) {
    /* Sidebar slides in as an overlay on mobile */
    .sidebar[b-95s8fpdh06] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    }

        /* When the collapse class is removed (menu open), slide in */
        .sidebar:has(.nav-scrollable:not(.collapse))[b-95s8fpdh06] {
            transform: translateX(0);
        }

    /* Make nav items taller / easier to tap on touch screens */
    .nav-item[b-95s8fpdh06]  a {
        height: 3rem;
        font-size: 0.95rem;
        padding: 0 14px;
    }

    .nav-section-label[b-95s8fpdh06] {
        padding: 20px 16px 6px;
    }

    .navbar-toggler[b-95s8fpdh06] {
        /* Ensure toggler is always reachable */
        padding: 6px 10px;
    }
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (min-width: 641px) {
    .navbar-toggler[b-95s8fpdh06] {
        display: none;
    }

    .collapse[b-95s8fpdh06] {
        display: block;
    }

    .nav-scrollable[b-95s8fpdh06] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        padding-bottom: 16px;
    }
}
