/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-837s6f6mv0] {
    min-height: 100vh;
    background: #f3f5f3;
    transition: background 0.25s ease, color 0.25s ease;
}

.page:not(.tasks-page-layout)[b-837s6f6mv0] {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
}

.page.tasks-page-layout[b-837s6f6mv0] {
    display: block !important;
    width: 100% !important;
}

.page.tasks-page-layout > .sidebar[b-837s6f6mv0],
.page.tasks-page-layout > main > .top-row[b-837s6f6mv0] {
    display: none !important;
}

.page.tasks-page-layout > main[b-837s6f6mv0] {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.page.tasks-page-layout > main > article[b-837s6f6mv0] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: block !important;
}

main[b-837s6f6mv0] {
    min-width: 0;
}

.sidebar[b-837s6f6mv0] {
    height: 100vh;
    position: sticky;
    top: 0;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, .045), transparent 38%),
        #17312f;
    transition: background 0.25s ease;
}

.top-row[b-837s6f6mv0] {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #dde5e2;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
    padding-inline: 24px;
    transition: background 0.25s ease, border-color 0.25s ease;
    gap: 16px;
}

/* Top bar navigation pills */
.top-context-nav[b-837s6f6mv0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.topbar-nav-pill[b-837s6f6mv0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}

.topbar-nav-pill:hover[b-837s6f6mv0] {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
}

.topbar-nav-pill.active[b-837s6f6mv0] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.top-row-actions[b-837s6f6mv0] {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* User chip badge in top bar */
.user-chip[b-837s6f6mv0] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 6px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-chip:hover[b-837s6f6mv0] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-avatar[b-837s6f6mv0] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar.is-emoji[b-837s6f6mv0] {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 1px solid #f59e0b;
}

.avatar-emoji-mini[b-837s6f6mv0] {
    font-size: 20px;
    line-height: 1;
}

.avatar-img-mini[b-837s6f6mv0] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-chip-text[b-837s6f6mv0] {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.25;
}

.user-chip-name[b-837s6f6mv0] {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
}

.user-chip-role[b-837s6f6mv0] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

article[b-837s6f6mv0] {
    min-height: calc(100vh - 72px);
    padding: 0 !important;
}

/* ============================================================
   DARK MODE OVERRIDES
   ============================================================ */
.page.dark-theme[b-837s6f6mv0],
[data-theme="dark"] .page[b-837s6f6mv0] {
    background: #0d1117;
    color: #e6edf3;
}

.page.dark-theme .sidebar[b-837s6f6mv0],
[data-theme="dark"] .sidebar[b-837s6f6mv0] {
    background: #11161f;
    border-left: 1px solid #1f2734;
}

.page.dark-theme .top-row[b-837s6f6mv0],
[data-theme="dark"] .top-row[b-837s6f6mv0] {
    background: rgba(17, 22, 31, 0.94);
    border-bottom: 1px solid #202735;
}

.page.dark-theme .topbar-nav-pill[b-837s6f6mv0],
[data-theme="dark"] .topbar-nav-pill[b-837s6f6mv0] {
    background: #161b22;
    border-color: #30363d;
    color: #8b949e;
}

.page.dark-theme .topbar-nav-pill:hover[b-837s6f6mv0],
[data-theme="dark"] .topbar-nav-pill:hover[b-837s6f6mv0] {
    background: #21262d;
    color: #f0f6fc;
}

.page.dark-theme .topbar-nav-pill.active[b-837s6f6mv0],
[data-theme="dark"] .topbar-nav-pill.active[b-837s6f6mv0] {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.page.dark-theme .user-chip[b-837s6f6mv0],
[data-theme="dark"] .user-chip[b-837s6f6mv0] {
    background: #161b22;
    border-color: #30363d;
}

.page.dark-theme .user-chip:hover[b-837s6f6mv0],
[data-theme="dark"] .user-chip:hover[b-837s6f6mv0] {
    background: #21262d;
    border-color: #484f58;
}

.page.dark-theme .user-chip-name[b-837s6f6mv0],
[data-theme="dark"] .user-chip-name[b-837s6f6mv0] {
    color: #f0f6fc;
}

.page.dark-theme .user-chip-role[b-837s6f6mv0],
[data-theme="dark"] .user-chip-role[b-837s6f6mv0] {
    color: #8b949e;
}

/* Responsive */
@media (min-width: 641px) and (max-width: 900px) {
    .page[b-837s6f6mv0] {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .top-context-nav[b-837s6f6mv0] {
        display: none;
    }
}

@media (max-width: 640.98px) {
    .page[b-837s6f6mv0] {
        display: block;
        padding-bottom: 72px;
    }

    .sidebar[b-837s6f6mv0] {
        position: fixed;
        inset: auto 0 0;
        width: 100%;
        height: 68px;
        z-index: 30;
    }

    .top-row[b-837s6f6mv0] {
        height: 62px;
        padding-inline: 12px;
    }

    .top-context-nav[b-837s6f6mv0] {
        display: none;
    }

    .user-chip-role[b-837s6f6mv0] {
        display: none;
    }

    article[b-837s6f6mv0] {
        min-height: calc(100vh - 62px);
    }
}

#blazor-error-ui[b-837s6f6mv0] {
    display: none !important;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-brand-row[b-91x86fvccr] {
    min-height: 84px;
    align-items: center;
    display: flex;
    padding: 16px 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.app-brand[b-91x86fvccr] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    text-decoration: none;
}

.brand-mark[b-91x86fvccr] {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #efbd54;
    color: #17312f;
    font-size: 23px;
    font-weight: 800;
}

.app-brand div[b-91x86fvccr] { min-width: 0; }
.app-brand .navbar-brand[b-91x86fvccr] {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}
.app-brand small[b-91x86fvccr] {
    display: block;
    color: #9fb4b1;
    font-size: 11px;
    margin-top: 5px;
}

.nav-scrollable[b-91x86fvccr] {
    display: block;
    height: calc(100vh - 84px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 10px;
}
