/* SmallBuddy Design Tokens */
/* Chrankeschwöschterli-inspired design system */

:root {
  /* Primary teal palette (from Chrankeschwöschterli) */
  --color-primary: #00BCD4;
  --color-primary-light: #B2EBF2;
  --color-primary-dark: #0097A7;
  --color-primary-hover: #0ac6de;

  /* Accent yellow-green (the circular button) */
  --color-accent: #D4E157;
  --color-accent-light: #E6EE9C;
  --color-accent-dark: #C0CA33;

  /* Status colors */
  --color-success: #81C784;
  --color-success-light: #A5D6A7;
  --color-warning: #FFD54F;
  --color-warning-light: #FFE082;
  --color-danger: #E57373;
  --color-danger-light: #EF9A9A;
  --color-info: #64B5F6;
  --color-info-light: #90CAF9;

  /* Backgrounds */
  --bg-page: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #F5F5F5;
  --bg-hover: #EEEEEE;
  --bg-header: #B2EBF2;

  /* Text */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-inverse: #FFFFFF;
  --text-link: #00BCD4;

  /* Borders */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-medium: #d2d2d2;
  --border-card: #E0E0E0;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;

  /* Font weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

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

  /* Icon button specific */
  --icon-btn-size: 72px;
  --icon-btn-gap: 12px;
}

/*
 * Dark mode - only activated manually via body.dark-mode class
 * Light mode is always the default, regardless of system preference
 */
[data-theme="dark"],
body.dark-mode {
  --bg-page: #1A1D21;
  --bg-card: #252A30;
  --bg-muted: #2D333B;
  --bg-hover: #373E47;
  --bg-header: #0097A7;

  --text-primary: #E6EDF3;
  --text-secondary: #A8B5C4;
  --text-muted: #6E7A8A;
  --text-link: #4DD0E1;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: #404040;
  --border-card: #404040;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.5);

  --color-primary: #4DD0E1;
  --color-primary-light: #0097A7;
  --color-primary-dark: #80DEEA;
}
