/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dmeafahac8] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-dmeafahac8] {
    width: 264px;
    flex: 0 0 264px;
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, rgba(17, 22, 38, 0.92), rgba(10, 14, 24, 0.96));
    border-right: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 20;
}

main[b-dmeafahac8] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar[b-dmeafahac8] {
    position: sticky;
    top: 0;
    z-index: 15;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(10, 14, 24, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.topbar-left[b-dmeafahac8] { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; }
.topbar-kicker[b-dmeafahac8] { font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.topbar-sep[b-dmeafahac8] { color: var(--text-faint); }
.topbar-title[b-dmeafahac8] { color: var(--text-dim); }

.topbar-right[b-dmeafahac8] { display: flex; align-items: center; gap: 1rem; }

.status-pill[b-dmeafahac8] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 99px;
    padding: 0.28rem 0.7rem;
}
.status-dot[b-dmeafahac8] { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse-b-dmeafahac8 2s infinite; }
@keyframes pulse-b-dmeafahac8 {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.topbar-user[b-dmeafahac8] { display: flex; align-items: center; gap: 0.6rem; }
.avatar[b-dmeafahac8] {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.topbar-user-name[b-dmeafahac8] { font-size: 0.85rem; color: var(--text); font-weight: 500; }

.content[b-dmeafahac8] {
    padding: 1.6rem 2rem 3rem;
    flex: 1;
}

#blazor-error-ui[b-dmeafahac8] {
    color-scheme: dark only;
    background: #2a1620;
    color: #fca5a5;
    bottom: 0;
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .reload[b-dmeafahac8] { color: #fca5a5; text-decoration: underline; }
#blazor-error-ui .dismiss[b-dmeafahac8] { cursor: pointer; position: absolute; right: 0.9rem; top: 0.6rem; }

@media (max-width: 820px) {
    .page[b-dmeafahac8] { flex-direction: column; }
    .sidebar[b-dmeafahac8] { width: 100%; flex-basis: auto; height: auto; position: relative; border-right: 0; border-bottom: 1px solid var(--border); }
    .topbar[b-dmeafahac8] { padding: 0 1rem; }
    .topbar-user-name[b-dmeafahac8] { display: none; }
    .content[b-dmeafahac8] { padding: 1.1rem 1rem 2.5rem; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-shell[b-5nlnfjgxr6] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.1rem 0.85rem 1rem;
}

/* ---------- Brand ---------- */
.brand[b-5nlnfjgxr6] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 0.6rem 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.9rem;
}
.brand-mark[b-5nlnfjgxr6] {
    width: 38px; height: 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.15rem; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}
.brand-text[b-5nlnfjgxr6] { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name[b-5nlnfjgxr6] { font-weight: 800; font-size: 1.05rem; color: var(--text); letter-spacing: -0.01em; }
.brand-sub[b-5nlnfjgxr6] { font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Nav ---------- */
.nav-list[b-5nlnfjgxr6] { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
.nav-section[b-5nlnfjgxr6] {
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--text-faint); padding: 0.9rem 0.7rem 0.4rem;
}
.nav-section:first-child[b-5nlnfjgxr6] { padding-top: 0.2rem; }

[b-5nlnfjgxr6] .nav-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.62rem 0.7rem;
    border-radius: 11px;
    color: var(--text-dim);
    font-size: 0.9rem; font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: background 0.14s ease, color 0.14s ease;
}
[b-5nlnfjgxr6] .nav-link svg { width: 19px; height: 19px; flex: 0 0 auto; opacity: 0.85; }
[b-5nlnfjgxr6] .nav-link:hover { background: var(--surface-2); color: var(--text); }
[b-5nlnfjgxr6] .nav-link.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0.06));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.3);
}
[b-5nlnfjgxr6] .nav-link.active svg { opacity: 1; color: #a5b4fc; }
[b-5nlnfjgxr6] .nav-link.active::before {
    content: ""; position: absolute; left: -0.85rem; top: 50%; transform: translateY(-50%);
    width: 3px; height: 20px; border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--accent), var(--cyan));
    box-shadow: 0 0 12px var(--accent);
}

/* ---------- Footer / Logout ---------- */
.nav-footer[b-5nlnfjgxr6] { border-top: 1px solid var(--border); padding-top: 0.7rem; margin-top: 0.5rem; }
.nav-footer form[b-5nlnfjgxr6] { margin: 0; }
.nav-logout[b-5nlnfjgxr6] {
    width: 100%;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.62rem 0.7rem;
    border-radius: 11px;
    background: none; border: 1px solid transparent;
    color: var(--text-dim); font-size: 0.9rem; font-weight: 500;
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease;
}
.nav-logout svg[b-5nlnfjgxr6] { width: 19px; height: 19px; opacity: 0.85; }
.nav-logout:hover[b-5nlnfjgxr6] { background: rgba(244, 63, 94, 0.12); color: #fb7185; border-color: rgba(244, 63, 94, 0.25); }

.nav-badge[b-5nlnfjgxr6] {
    margin-left: auto;
    background: linear-gradient(180deg, #f59e0b, #d97706);
    color: #1a1205;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

@media (max-width: 820px) {
    .nav-shell[b-5nlnfjgxr6] { padding: 0.8rem 0.85rem; }
    .nav-list[b-5nlnfjgxr6] { flex-direction: row; flex-wrap: wrap; }
    .nav-section[b-5nlnfjgxr6] { display: none; }
    .nav-footer[b-5nlnfjgxr6] { border-top: 0; padding-top: 0; margin-top: 0; margin-left: auto; }
    [b-5nlnfjgxr6] .nav-link.active::before { display: none; }
}
