:root {
    --bg: #070b18;
    --surface: rgba(17, 24, 45, 0.88);
    --surface-2: rgba(25, 34, 58, 0.82);
    --surface-3: rgba(255, 255, 255, 0.055);
    --primary: #4f8cff;
    --primary-2: #7c5cff;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --text: #f8fafc;
    --muted: #9aa7bd;
    --border: rgba(255, 255, 255, 0.11);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
    --radius: 20px;
    --radius-sm: 13px;
    --sidebar: 272px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient( circle at 5% 5%, rgba(79, 140, 255, 0.18), transparent 28rem ), radial-gradient( circle at 95% 10%, rgba(124, 92, 255, 0.16), transparent 30rem ), var(--bg);
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: -1;
        background-image: linear-gradient( rgba(255, 255, 255, 0.022) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px );
        background-size: 42px 42px;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    touch-action: manipulation;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(147, 197, 253, .72);
    outline-offset: 3px;
}

html.sidebar-open,
html.notifications-open {
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.muted {
    color: var(--muted);
}

.text-success {
    color: #86efac;
}

.text-warning {
    color: #fcd34d;
}

.text-danger {
    color: #fca5a5;
}

.text-info {
    color: #67e8f9;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.empty-state {
    padding: clamp(20px, 5vw, 32px);
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    overflow-wrap: anywhere;
}

    .empty-state i {
        display: block;
        font-size: 2rem;
        margin-bottom: 10px;
        color: #b8c6dd;
    }

code {
    background: rgba(255, 255, 255, 0.07);
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
