/* NexusCore – custom overrides MudBlazor */

body {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    background: #f8fafc;
}

/* Drawer nav: active item */
.nc-nav-active {
    background: #1e293b !important;
    color: #ffffff !important;
    border-radius: 6px;
}
.nc-nav-active .mud-nav-link-icon,
.nc-nav-active .mud-icon-root {
    color: #ffffff !important;
}

/* AppBar shadow reset */
.mud-appbar { box-shadow: none !important; }

/* Table header bg */
.mud-table-head-custom th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Blazor error UI */
#blazor-error-ui {
    background: #fef2f2;
    border-top: 1px solid #fecaca;
    color: #dc2626;
    display: none;
    font-size: 0.8125rem;
    padding: 10px 16px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; float: right; font-weight: bold; }
