/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-abqgucbe7n] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-abqgucbe7n] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Brand ── */
.sidebar-brand[b-erksshb30n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 18px;
    border-bottom: 1px solid rgba(200, 155, 60, 0.08);
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(200, 155, 60, 0.03) 0%, transparent 100%);
}

.brand-logo[b-erksshb30n] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.brand-logo:hover[b-erksshb30n] {
    opacity: 0.85;
}

.brand-icon[b-erksshb30n] {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 0 8px rgba(200, 155, 60, 0.25));
}

.brand-name[b-erksshb30n] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #e8e8e8;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.brand-dot[b-erksshb30n] {
    color: #c89b3c;
    text-shadow: 0 0 10px rgba(200, 155, 60, 0.4);
}

/* ── Close button ── */
.sidebar-close[b-erksshb30n] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #445566;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    padding: 0;
}

.sidebar-close:hover[b-erksshb30n] {
    background: rgba(224, 92, 92, 0.12);
    color: #e07b85;
    border-color: rgba(224, 92, 92, 0.25);
    transform: rotate(90deg);
}

/* ── Nav ── */
.sidebar-nav[b-erksshb30n] {
    padding: 10px 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-section-label[b-erksshb30n] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #2e4055;
    padding: 14px 10px 6px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    user-select: none;
}

.nav-section-label[b-erksshb30n]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #1a2536 0%, transparent 100%);
    border-radius: 1px;
}

/* ── Nav links ── */
.nav-link[b-erksshb30n] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #6a8099;
    font-size: 0.855rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.25, 0, 0, 1);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover[b-erksshb30n] {
    background: rgba(255, 255, 255, 0.04);
    color: #b0c4d8;
    border-color: rgba(255, 255, 255, 0.04);
    transform: translateX(2px);
}

.nav-link:active[b-erksshb30n] {
    transform: translateX(2px) scale(0.98);
}

.nav-link.active[b-erksshb30n] {
    background: rgba(200, 155, 60, 0.10);
    color: #c89b3c;
    font-weight: 600;
    border-color: rgba(200, 155, 60, 0.12);
    box-shadow: inset 0 0 12px rgba(200, 155, 60, 0.04);
}

.nav-link.active[b-erksshb30n]::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #c89b3c;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(200, 155, 60, 0.4);
}

.nav-icon[b-erksshb30n] {
    font-size: 19px;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.nav-link:hover .nav-icon[b-erksshb30n] {
    color: #c89b3c;
    transform: scale(1.08);
}

.nav-link.active .nav-icon[b-erksshb30n] {
    filter: drop-shadow(0 0 4px rgba(200, 155, 60, 0.3));
}

/* Reset button */
.nav-link-btn[b-erksshb30n] {
    background: none;
    border: none;
    border: 1px solid transparent;
    text-align: left;
}

/* Logout link */
.nav-link-logout[b-erksshb30n] {
    color: #4a5e70;
}

.nav-link-logout:hover[b-erksshb30n] {
    color: #e07b85;
    background: rgba(224, 92, 92, 0.08);
    border-color: rgba(224, 92, 92, 0.10);
}

.nav-link-logout:hover .nav-icon[b-erksshb30n] {
    color: #e07b85;
}

/* Account name truncation */
.nav-account-name[b-erksshb30n] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
    color: #556677;
}

.nav-link-account[b-erksshb30n] {
    color: #4a6070;
}

.nav-link-account:hover[b-erksshb30n] {
    color: #8aa0b8;
}

.nav-link-account:hover .nav-icon[b-erksshb30n] {
    color: #8aa0b8;
}

/* Spacer pushes logout to bottom */
.nav-spacer[b-erksshb30n] {
    flex: 1;
    min-height: 16px;
}

.nav-bottom-divider[b-erksshb30n] {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #1a2536 50%, transparent 100%);
    margin: 4px 12px 6px;
    border-radius: 1px;
}
