/* Global concerns not covered by component CSS isolation. Everything else
   (shell layout, screens, primitives) lives in scoped .razor.css files and
   references tokens.css variables only — see frontend-blazor.md §6/§8. */

.not-found {
    padding: 40px;
    color: var(--faint);
    font-size: 0.8125rem;
}

/* NavMenu's sidebar links — kept here, not in NavMenu.razor.css, because
   NavLink (Microsoft.AspNetCore.Components.Routing) is a built-in
   component: Blazor's CSS isolation never stamps a scope attribute onto a
   child component's own root element, only onto elements authored directly
   in the parent .razor file. A scoped rule here would silently never match. */
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--nav-pad);
    border-radius: var(--radius-sm);
    color: var(--dim);
    font-size: 0.78125rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-item:hover {
    color: var(--text);
    text-decoration: none;
}

.nav-item.active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--red);
    color: oklch(0.99 0 0);
    padding: 10px 16px;
    font-size: 0.78125rem;
}

#blazor-error-ui .reload {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 8px;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}
