/* =====================================================
   CLAUX - RESET & BASE
   ===================================================== */

/* Universal box-sizing and margin/padding reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Root body styles */
body {
    background: var(--bg-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    color-scheme: dark;
}

/* Global links */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-light);
}

/* List element default text color */
ul,
ol {
    color: var(--text-primary);
}

li {
    color: var(--text-secondary);
}

/* Text selection */
::selection {
    background: var(--accent-dim);
    color: var(--accent-light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 6px;
    border: 3px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Prevent accidental white backgrounds */
div,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    background: transparent;
}
