/* ValueStreet Theme System */

:root {
  /* Light theme (default fallback) */
  --color-bg: #f8f9fa;
  --color-bg-elevated: #ffffff;
  --color-bg-sunken: #e9ecef;
  --color-text: #1a1a2e;
  --color-text-muted: #6c757d;
  --color-border: #dee2e6;

  /* Brand colors */
  --color-primary: #1e5631;
  --color-primary-light: #2d7a47;
  --color-accent: #ffd700;

  /* Poker action colors */
  --color-fold: #b8d4e3;
  --color-call: #7fbc8c;
  --color-raise: #f5a623;
  --color-allin: #e74c3c;
  --color-unheld: #d3d3d3;
  --color-selected: #ffeb3b;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Layout */
  --sidebar-width: 260px;
  --header-height: 60px;
}

/* Dark theme */
[data-theme="dark"] {
  --color-bg: #0d1117;
  --color-bg-elevated: #161b22;
  --color-bg-sunken: #010409;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --color-border: #30363d;

  /* Adjusted brand for dark */
  --color-primary: #2ea043;
  --color-primary-light: #3fb950;

  /* Poker action colors - slightly brighter for dark mode */
  --color-fold: #4a6785;
  --color-call: #238636;
  --color-raise: #d29922;
  --color-allin: #da3633;
  --color-unheld: #484f58;
  --color-selected: #e3b341;

  /* Darker shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Theme transition */
html {
  color-scheme: light dark;
}

html,
body {
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
}
