/**
 * RE::DACT Design System - CSS Variables & Reset
 * 
 * This file contains:
 * - CSS Custom Properties (variables)
 * - Reset styles
 * - Typography base
 * - Scrollbar styles
 */

/* --- DESIGN SYSTEM --- */
:root {
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --base-font-size: 15px;
    --base-line-height: 1.5;
    
    /* Colors - Background */
    --color-bg-primary: #FFFFFF;
    --color-bg-paper-main: #FFFFFF;
    --color-bg-paper-notes: #F7F7F5;
    --color-bg-secondary: #F8F7F5;
    --color-bg-tertiary: #F3F1ED;
    
    /* Colors - Text */
    --color-text-primary: #000000;
    --color-text-secondary: #5F5F5F;
    --color-text-tertiary: #757575;
    --color-text-muted: #B8B8B8;
    
    /* Colors - Border */
    --color-border-light: #F0EEE9; 
    --color-border: #E3E0D8;
    --color-border-medium: #D1CEC6;
    
    /* Colors - Accent */
    --color-accent: #000000;
    --color-accent-hover: #1A1A1A;
    --color-error: #DC2626;
    
    /* Spacing & Sizing */
    --radius-sm: 6px;
    --radius-md: 8px;
    --transition-fast: 120ms ease-out;
    --sidebar-width: 280px;
}

/* --- CSS RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- BASE TYPOGRAPHY --- */
body {
    font-family: var(--font-sans);
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-weight: 450; 
    letter-spacing: -0.01em; 
}

/* --- BASE BUTTON RESET --- */
button {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

button:focus { 
    outline: none; 
}

/* --- SCROLLBAR STYLES --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--color-border-medium);
    border-radius: 3px;
}
