/* Main Design Tokens & CSS Reset for Financial Dashboard */
:root {
  /* Color Palette - Premium Dark Financial Vibe */
  --bg-dark: #0b0e14;
  --bg-surface: #131722;
  --bg-card: #181c27;
  --bg-card-hover: #1f2433;
  --bg-input: #1c212e;
  
  --border-color: #262b3e;
  --border-focus: #3b82f6;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  
  /* Financial Green / Red */
  --color-up: #10b981;
  --color-up-bg: rgba(16, 185, 129, 0.12);
  --color-down: #ef4444;
  --color-down-bg: rgba(239, 68, 68, 0.12);
  --color-neutral: #eab308;
  --color-neutral-bg: rgba(234, 179, 8, 0.12);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Roboto Mono", Consolas, Monaco, monospace;

  /* Spacing & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

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

::-webkit-scrollbar-thumb {
  background: #2b3245;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d465e;
}

/* Minimalist Button Base */
button {
  font-family: inherit;
  font-size: 12px;
  border: none;
  background: none;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

input {
  font-family: inherit;
  font-size: 12px;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  outline: none;
}

input:focus {
  border-color: var(--accent-blue);
}

.mono {
  font-family: var(--font-mono);
}

/* Minimalist Icon Helper */
.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}
