/* LoanPro Admin — Global Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #080c18;
    color: #e2e8f0;
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Blazor error UI */
#blazor-error-ui {
    background: #ef4444;
    bottom: 0; left: 0; right: 0;
    position: fixed;
    padding: 12px 20px;
    display: none;
    color: white;
    font-size: 14px;
    z-index: 9999;
}
#blazor-error-ui a { color: white; text-decoration: underline; }
#blazor-error-ui.blazor-error-boundary { display: block; }

/* NavLink active class */
a.active.nav-item { color: #f59e0b !important; background: rgba(245,158,11,0.12) !important; }

/* Selection */
::selection { background: rgba(245,158,11,0.3); }

/* Focus rings */
:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-body > * {
    animation: fadeIn 0.3s ease;
}
