/* ==========================================================================
   PenTest-AI Dashboard — base.css
   Reset, design tokens, typography primitives.
   ========================================================================== */

:root {
    /* Base surfaces */
    --bg-app:       #0a0e17;
    --bg-sidebar:   #0d1320;
    --bg-card:      #141b2d;
    --bg-elev:      #1a2238;
    --bg-terminal:  #05080f;

    /* Border */
    --border:       #1e2a45;
    --border-glow:  rgba(233, 69, 96, 0.3);

    /* Text */
    --text-primary:   #e6edf3;
    --text-secondary: #94a3b8;
    --text-dim:       #64748b;
    --text-terminal:  #c9d4e5;

    /* Brand accent */
    --accent:          #e94560;
    --accent-2:        #7c3aed;
    --accent-gradient: linear-gradient(135deg, #e94560, #7c3aed);

    /* Status colors */
    --term-green: #00d48a;
    --term-amber: #f59e0b;
    --term-red:   #ff4757;
    --term-cyan:  #38bdf8;

    /* Severity */
    --sev-critical: #ff4757;
    --sev-high:     #ff6b35;
    --sev-medium:   #f59e0b;
    --sev-low:      #00d48a;
    --sev-info:     #38bdf8;

    /* Radii */
    --radius-sm:   6px;
    --radius:      10px;
    --radius-pill: 999px;

    /* Shadow */
    --shadow:     0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-cta: 0 8px 20px -4px rgba(233, 69, 96, 0.5);

    /* Motion */
    --transition: all 0.2s ease;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body             { height: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-app);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button  { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
a       { color: inherit; text-decoration: none; }
ul, ol  { list-style: none; }
table   { border-collapse: collapse; width: 100%; }

/* -------- Typography -------- */
h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}
h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}
h3 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.mono     { font-family: 'JetBrains Mono', 'Fira Code', monospace; }
.caption  { font-size: 11px; color: var(--text-dim); }
.label    { font-size: 11px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-secondary); }

/* -------- Scrollbar (webkit) -------- */
::-webkit-scrollbar        { width: 10px; height: 10px; }
::-webkit-scrollbar-track  { background: var(--bg-app); }
::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 5px; border: 2px solid var(--bg-app); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
