/* ============================================
   MONEY DIPLOMATIC TERMINAL v6.0
   Base Styles - Dark Theme
   ============================================ */

:root {
    --bg-terminal: #000000;
    --bg-panel: #000000;
    --bg-card: #0a0a0a;
    --bg-hover: #111111;
    --bg-active: #1a1a1a;
    --border-primary: #222222;
    --border-hover: #3a3a3a;
    --text-primary: #e5e5e5;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;
    --market-up: #22c55e;
    --market-down: #ef4444;
    --topbar-height: 40px;
    --toolbar-height: 36px;
    --tabbar-height: 32px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--text-primary);
    background: var(--bg-terminal);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* Terminal Layout */
.terminal { display: flex; flex-direction: column; height: 100vh; width: 100vw; }

/* Text utilities */
.text-up, .positive { color: var(--market-up) !important; }
.text-down, .negative { color: var(--market-down) !important; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--text-primary); }
.text-accent { color: var(--accent-orange); }

/* Animation */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hidden { display: none !important; }
.loading { opacity: 0.5; pointer-events: none; }
