:root {
  /* Colors - Dark Theme */
  --color-bg:          #0b0f1a;
  --color-surface:     #111827;
  --color-surface-2:   #1a2235;
  --color-border:      #1f2d45;
  --color-primary:     #22c55e;
  --color-primary-dim: #16a34a;
  --color-primary-glow: rgba(34, 197, 94, 0.15);
  --color-amber:       #f59e0b;
  --color-danger:      #ef4444;
  --color-danger-dim:  #dc2626;
  --color-info:        #3b82f6;
  --color-text:        #f1f5f9;
  --color-text-muted:  #94a3b8;
  --color-text-dim:    #64748b;

  /* Input specific colors */
  --color-input-bg:          #0f1724;
  --color-input-border:      #1f2d45;
  --color-input-focus:       #22c55e;
  --color-input-text:        #ffffff;
  --color-input-placeholder: #64748b;
  --color-label:             #e2e8f0;

  /* Surfaces */  /* FIX #8: removed duplicate --color-input-* declarations that were here */
  --color-card:        #111827;
  --color-card-hover:  #1a2235;

  /* Sidebar */
  --sidebar-width:     240px;
  --sidebar-collapsed: 64px;
  --sidebar-bg:        #0d1320;
  --topbar-height:     56px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --radius-sm:         6px;
  --radius:            10px;
  --radius-lg:         16px;
  --radius-xl:         24px;

  /* Shadows */
  --shadow-sm:         0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow:            0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg:         0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-glow:       0 0 20px var(--color-primary-glow);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition:        200ms ease;
  --transition-slow:   300ms ease;
}

/* Light Theme */
[data-theme="light"] {
  --color-bg:          #f8fafc;
  --color-surface:     #ffffff;
  --color-surface-2:   #f1f5f9;
  --color-border:      #e2e8f0;
  --color-text:        #0f172a;
  --color-text-muted:  #475569;
  --color-text-dim:    #94a3b8;
  --color-card:        #ffffff;
  --color-card-hover:  #f8fafc;
  --color-input-bg:    #ffffff;
  --color-input-border: #cbd5e1;
  --color-input-text:  #0f172a;
  --color-label:       #1e293b;
  --sidebar-bg:        #1e293b;
}
