:root {
  /* Colors - Light Theme */
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-secondary: #64748b;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;

  --color-border: #e2e8f0;
  --color-divider: #f1f5f9;

  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-tertiary: #94a3b8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Transitions */
  --transition-all: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-colors: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s
    cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-opacity: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-transform: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-negative: -1;
  --z-elevate: 1;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-dropdown: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Trading Bot Specific Variables */
  --primary-color: #3b82f6;
  --primary-color-light: #dbeafe;
  --primary-color-dark: #2563eb;

  --secondary-color: #64748b;
  --secondary-color-light: #f1f5f9;
  --secondary-color-dark: #475569;

  --success-color: #10b981;
  --success-color-light: #d1fae5;
  --success-color-dark: #059669;

  --danger-color: #ef4444;
  --danger-color-light: #fee2e2;
  --danger-color-dark: #dc2626;

  --warning-color: #f59e0b;
  --warning-color-light: #fef3c7;
  --warning-color-dark: #d97706;

  --info-color: #3b82f6;
  --info-color-light: #dbeafe;
  --info-color-dark: #2563eb;

  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --sidebar-bg: #ffffff;
  --input-bg: #ffffff;
  --hover-bg: #f1f5f9;

  --text-color: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --code-bg: #f1f5f9;
}

/* Dark Theme Colors */
[data-theme="dark"] {
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-secondary: #94a3b8;

  --color-background: #0f172a;
  --color-surface: #1e293b;
  --color-surface-hover: #334155;

  --color-border: #334155;
  --color-divider: #1e293b;

  --color-text: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-tertiary: #64748b;

  /* Trading Bot Specific Variables - Dark Theme */
  --primary-color: #3b82f6;
  --primary-color-light: #1e40af;
  --primary-color-dark: #60a5fa;

  --secondary-color: #94a3b8;
  --secondary-color-light: #334155;
  --secondary-color-dark: #cbd5e1;

  --success-color: #10b981;
  --success-color-light: #065f46;
  --success-color-dark: #34d399;

  --danger-color: #ef4444;
  --danger-color-light: #7f1d1d;
  --danger-color-dark: #f87171;

  --warning-color: #f59e0b;
  --warning-color-light: #78350f;
  --warning-color-dark: #fbbf24;

  --info-color: #3b82f6;
  --info-color-light: #1e40af;
  --info-color-dark: #60a5fa;

  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --header-bg: #1e293b;
  --sidebar-bg: #1e293b;
  --input-bg: #0f172a;
  --hover-bg: #334155;

  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --code-bg: #0f172a;
}

/* High Contrast Theme */
[data-theme="high-contrast"] {
  --color-primary: #0027c2;
  --color-primary-hover: #001b94;

  --color-background: #ffffff;
  --color-surface: #fafafa;
  --color-surface-hover: #f5f5f5;

  --color-text: #000000;
  --color-text-secondary: #2f2f2f;
  --color-text-tertiary: #595959;
}
