/*
 * Shared design tokens for standalone pages (aligned with assets/css/styles.css).
 * Keep in sync when changing global theme variables.
 */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-color-light: #3b82f6;
  --secondary-color: #64748b;
  --accent-color: #8b5cf6;
  --accent-hover: #7c3aed;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --error-color: #ef4444;
  --bg-color: #f8fafc;
  --background-color: #f8fafc;
  --surface-color: #ffffff;
  --text-primary: #1e293b;
  --text-color: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --input-background: #ffffff;
  --disabled-background: #f1f5f9;
  --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);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

[data-theme='dark'] {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --primary-color-light: #60a5fa;
  --secondary-color: #94a3b8;
  --accent-color: #8b5cf6;
  --accent-hover: #7c3aed;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --error-color: #ef4444;
  --bg-color: #0f172a;
  --background-color: #0f172a;
  --surface-color: #1e293b;
  --text-primary: #f1f5f9;
  --text-color: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --input-background: #1e293b;
  --disabled-background: #334155;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3),
    0 4px 6px -4px rgb(0 0 0 / 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
}

a {
  color: var(--primary-color-light);
}

a:hover {
  color: var(--primary-hover);
}
