/**
 * Estilo base del sistema (tema dark).
 * Variables, reset, tipografía y scrollbar. Cargar antes de sys-error.css, sys-offline.css, etc.
 *
 * @package HtmlResponseHttp
 */

:root {
    --base-bg: #0d1117;
    --base-surface: #161b22;
    --base-border: #30363d;
    --base-text: #e6edf3;
    --base-text-muted: #8b949e;
    --base-accent: #58a6ff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--base-bg);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 15px;
    color: var(--base-text);
    line-height: 1.6;
}

/* Scrollbar tema dark (viewport y elementos con overflow) */
html {
    scrollbar-color: #38383a #232326;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #232326;
}

*::-webkit-scrollbar-thumb {
    background: #38383a;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #505053;
}
