@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0f1117;
    color: #f9fafb;
    margin: 0;
    padding: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0f1117; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* MudBlazor nav overrides */
.mud-nav-link {
    border-radius: 8px !important;
    margin: 2px 0 !important;
    color: #9ca3af !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background 0.15s, color 0.15s !important;
}

.mud-nav-link:hover {
    background: rgba(255,255,255,0.05) !important;
    color: #f9fafb !important;
}

.mud-nav-link.active {
    background: rgba(25, 118, 210, 0.15) !important;
    color: #90caf9 !important;
}

.mud-nav-link.active .mud-icon-root {
    color: #1976D2 !important;
}

/* MudTable dark style */
.mud-table-container {
    background: #1a1d27 !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.mud-table-head .mud-table-cell {
    background: rgba(255,255,255,0.03) !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

.mud-table-body .mud-table-row:hover td {
    background: rgba(255,255,255,0.03) !important;
}

.mud-table-body .mud-table-cell {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    color: #d1d5db !important;
    font-size: 14px !important;
}

/* MudCard */
.mud-card {
    background: #1a1d27 !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 14px !important;
}

.mud-card:hover {
    border-color: rgba(25, 118, 210, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3) !important;
}

/* MudPaper */
.mud-paper {
    background: #1a1d27 !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 12px !important;
}

/* MudTextField / MudSelect inputs */
.mud-input-control .mud-input {
    background: #0f1117 !important;
    border-radius: 8px !important;
}

.mud-input-outlined .mud-notched-outline {
    border-color: rgba(255,255,255,0.12) !important;
}

.mud-input-outlined:hover .mud-notched-outline {
    border-color: rgba(255,255,255,0.25) !important;
}

.mud-input-outlined.mud-focused .mud-notched-outline {
    border-color: #1976D2 !important;
}

/* MudButton filled */
.mud-button-filled-primary {
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.3) !important;
}

.mud-button-filled-primary:hover {
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4) !important;
}

/* MudChip */
.mud-chip {
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Blazor error UI */
#blazor-error-ui {
    background: rgba(239,68,68,0.15);
    border-top: 1px solid rgba(239,68,68,0.3);
    bottom: 0;
    color: #f87171;
    display: none;
    left: 0;
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 14px;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 12px;
    color: #f87171;
}
