/* /Components/Layout/MainLayout.razor.rz.scp.css */
.portal-root[b-kbple579d3] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* ── Topbar ──────────────────────────────────────────────────────────────────*/
.portal-topbar[b-kbple579d3] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--topbar-h);
    padding: 0 20px 0 0;
    background: var(--topbar-bg);
    color: var(--text);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    border-bottom: 1px solid var(--topbar-border);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.topbar-logo-area[b-kbple579d3] {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    border-right: 1px solid var(--topbar-border);
    min-width: 240px;
    gap: 10px;
}

.topbar-logo[b-kbple579d3] {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.topbar-toggle[b-kbple579d3] {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 5px;
    margin-left: 4px;
    line-height: 1;
    transition: background 140ms, color 140ms;
}
.topbar-toggle:hover[b-kbple579d3] { background: #EEF3F8; color: var(--text); }

.topbar-brand[b-kbple579d3] {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.2px;
}

.topbar-end[b-kbple579d3] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-user[b-kbple579d3] {
    font-size: 13.5px;
    color: var(--text-secondary);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: #F0F4F8;
}

.topbar-dev-link[b-kbple579d3] {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
    padding: 4px 8px;
    border: 1px solid var(--brand-20);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 140ms;
}
.topbar-dev-link:hover[b-kbple579d3] { background: var(--brand-10); text-decoration: none; }

.topbar-logout[b-kbple579d3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 12px;
    border: 1px solid var(--border-color, #D5DCE4);
    border-radius: var(--radius-sm);
    text-decoration: none;
    background: #FFFFFF;
    transition: background 140ms, color 140ms, border-color 140ms;
}
.topbar-logout:hover[b-kbple579d3] {
    background: #FEF2F2;
    color: #B91C1C;
    border-color: #FCA5A5;
    text-decoration: none;
}
.topbar-logout-icon[b-kbple579d3] { font-size: 14px; line-height: 1; }
@media (max-width: 600px) {
    .topbar-logout-label[b-kbple579d3] { display: none; }
    .topbar-logout[b-kbple579d3] { padding: 6px 10px; }
}

/* ── Body / content ──────────────────────────────────────────────────────────*/
.portal-sidebar[b-kbple579d3] { padding-top: var(--topbar-h); }

.portal-body[b-kbple579d3] {
    margin-top: var(--topbar-h);
    transition: margin-left 200ms ease;
    min-height: calc(100vh - var(--topbar-h));
}
.portal-body.sidebar-open[b-kbple579d3]  { margin-left: 240px; }
.portal-body.sidebar-closed[b-kbple579d3] { margin-left: 52px; }

.portal-content[b-kbple579d3] {
    padding: 28px 32px;
    max-width: 1320px;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.portal-nav[b-76p16b7hym] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--sidebar-bg);
    color: white;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,.04);
}

/* ── Nav items ───────────────────────────────────────────────────────────────*/
.nav-items[b-76p16b7hym] {
    list-style: none;
    margin: 8px 0 0;
    padding: 0 8px;
    flex: 1;
}

.nav-items li a[b-76p16b7hym] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: rgba(255,255,255,.52);
    text-decoration: none;
    font-size: 13.5px;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: background 140ms, color 140ms, border-color 140ms;
    margin-bottom: 2px;
}
.nav-items li a:hover[b-76p16b7hym] {
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.85);
    text-decoration: none;
}
.nav-items li.active a[b-76p16b7hym] {
    background: rgba(255,255,255,.10);
    color: white;
    font-weight: 600;
    border-left-color: var(--brand);
}
.nav-items li.active a .nav-icon[b-76p16b7hym] { color: var(--brand); }

.nav-icon[b-76p16b7hym] {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: .8;
}
.nav-items li.active a .nav-icon[b-76p16b7hym] { opacity: 1; }

/* ── Footer ──────────────────────────────────────────────────────────────────*/
.nav-footer[b-76p16b7hym] { padding: 12px 16px; font-size: 11px; }

.dev-badge[b-76p16b7hym] {
    background: #E67C00;
    color: white;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    padding: 5px 8px;
}
