/* /Components/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-vgy3xm0mvt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover[b-vgy3xm0mvt] {
    background: var(--color-primary-faint);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    box-shadow: var(--shadow-primary);
}

.theme-toggle:focus-visible[b-vgy3xm0mvt] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-go7ouv2d57] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-page);
    min-height: 100vh;
}

main[b-go7ouv2d57] {
    flex: 1;
    background-color: var(--bg-page);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar[b-go7ouv2d57] {
    background-image: var(--sidebar-gradient) !important;
    border-right: 1px solid var(--border-color);
}

/* ── Top bar ─────────────────────────────────────────────── */
.top-row[b-go7ouv2d57] {
    background-color: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    color: var(--topbar-text);
    justify-content: flex-end;
    height: 3.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.top-row[b-go7ouv2d57]  a,
.top-row[b-go7ouv2d57]  .btn-link {
    white-space: nowrap;
    margin-left: 1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.top-row[b-go7ouv2d57]  a:hover,
.top-row[b-go7ouv2d57]  .btn-link:hover {
    color: var(--color-primary-light);
    text-decoration: none;
}

.top-row[b-go7ouv2d57]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Welcome message override ────────────────────────────── */
.top-row[b-go7ouv2d57]  .e-msg-content,
.top-row[b-go7ouv2d57]  .e-message {
    background: var(--color-primary-faint) !important;
    border: 1px solid var(--color-primary) !important;
    color: var(--color-primary-light) !important;
    border-radius: 0.5rem !important;
    font-size: 0.82rem;
}

/* ── Log Out link ────────────────────────────────────────── */
.top-row[b-go7ouv2d57]  .e-link {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.4rem;
    transition: background 0.15s, color 0.15s;
}

.top-row[b-go7ouv2d57]  .e-link:hover {
    background: rgba(239, 68, 68, 0.08);
    color: var(--color-danger);
    text-decoration: none;
}

@media (max-width: 640.98px) {
    .top-row[b-go7ouv2d57] {
        justify-content: space-between;
    }

    .top-row[b-go7ouv2d57]  a,
    .top-row[b-go7ouv2d57]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-go7ouv2d57] {
        flex-direction: row;
    }

    .sidebar[b-go7ouv2d57] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-go7ouv2d57] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-go7ouv2d57]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-go7ouv2d57],
    article[b-go7ouv2d57] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Mobile toggler ──────────────────────────────────────── */
.navbar-toggler[b-g2jqpm9rvj] {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.4rem;
    padding: 0.3rem 0.5rem;
}

/* ── Brand bar ───────────────────────────────────────────── */
.top-row[b-g2jqpm9rvj] {
    height: 3.8rem;
    background-color: rgba(0, 0, 0, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand[b-g2jqpm9rvj] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
}

.brand-icon[b-g2jqpm9rvj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    align-self: center;
}

.brand-name[b-g2jqpm9rvj] {
    color: #ffffff;
    font-weight: 700;
}

.brand-version[b-g2jqpm9rvj] {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Nav container ───────────────────────────────────────── */
.nav-main[b-g2jqpm9rvj] {
    padding: 0.75rem 0;
}

.nav-item[b-g2jqpm9rvj] {
    padding-bottom: 0.15rem;
}

/* ════════════════════════════════════════════════════════════
   TOP-LEVEL ITEMS
   No Bootstrap "nav-link" class is used here — pure white text,
   no competing rule.
   ════════════════════════════════════════════════════════════ */
.nav-top[b-g2jqpm9rvj] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;          /* solid white — no opacity, no competing rule */
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
    letter-spacing: 0.01em;
    position: relative;
    box-sizing: border-box;
}

.nav-top:hover[b-g2jqpm9rvj],
.nav-top:focus[b-g2jqpm9rvj] {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.nav-top.active[b-g2jqpm9rvj] {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 600;
}

/* Left accent bar on active items */
.nav-top.active[b-g2jqpm9rvj]::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    border-radius: 0 2px 2px 0;
    background: #ffffff;
}

/* ── Icon ────────────────────────────────────────────────── */
.nav-icon[b-g2jqpm9rvj] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    color: #ffffff;
}

/* ── Label ───────────────────────────────────────────────── */
.nav-label[b-g2jqpm9rvj] {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
}

/* ── Chevron ─────────────────────────────────────────────── */
.nav-chevron[b-g2jqpm9rvj] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.60);
    transition: transform 0.20s ease;
}

.nav-expandable.expanded .nav-chevron[b-g2jqpm9rvj] {
    transform: rotate(90deg);
    color: #ffffff;
}

/* ════════════════════════════════════════════════════════════
   SUB-MENU
   ════════════════════════════════════════════════════════════ */
.sub-menu[b-g2jqpm9rvj] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.2rem;
    margin-bottom: 0.35rem;
    padding-left: 1.25rem;
}


/* ── Sub-item link ───────────────────────────────────────── */
.sub-link[b-g2jqpm9rvj] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.4rem;
    padding: 0.4rem 0.75rem 0.4rem 1.5rem;
    border-radius: 0.4rem;
    font-size: 0.845rem;
    font-weight: 400;
    color: #ffffff;          /* solid white — maximum contrast */
    text-decoration: none;
    transition: background 0.12s ease;
    line-height: 1.3;
}

.sub-link:hover[b-g2jqpm9rvj],
.sub-link:focus[b-g2jqpm9rvj] {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.sub-link.active[b-g2jqpm9rvj] {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 600;
}

/* ── Sub-item dot ────────────────────────────────────────── */
.sub-dot[b-g2jqpm9rvj] {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
    transition: background 0.12s ease, transform 0.12s ease;
}

.sub-link:hover .sub-dot[b-g2jqpm9rvj],
.sub-link.active .sub-dot[b-g2jqpm9rvj] {
    background: #ffffff;
    transform: scale(1.3);
}

/* ── Divider ─────────────────────────────────────────────── */
.nav-divider[b-g2jqpm9rvj] {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0.75rem 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (min-width: 641px) {
    .navbar-toggler[b-g2jqpm9rvj] {
        display: none;
    }

    .collapse[b-g2jqpm9rvj] {
        display: block;
    }

    .nav-scrollable[b-g2jqpm9rvj] {
        height: calc(100vh - 3.8rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
    }

    .nav-scrollable[b-g2jqpm9rvj]::-webkit-scrollbar {
        width: 3px;
    }

    .nav-scrollable[b-g2jqpm9rvj]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 2px;
    }
}
