/* Design Tokens - My Daily Bread
   Single source of truth for all design values.
   Mirrors iOS DesignSystem.swift */

:root {
  /* Brand Colors */
  --color-primary-bg: #FFFFFF;
  --color-secondary-bg: #F8F6F4;
  --color-primary-text: #3F414E;
  --color-accent: #8E97FD;
  --color-accent-dark: #6B73E8;
  --color-accent-light: #A6ACFE;
  --color-highlight: #A1A4B2;

  /* Feature Colors */
  --color-daily-readings: #7a7c9b;
  --color-daily-reflections: #bd4269;
  --color-bible: #4d9eb4;
  --color-prayers: #ebab73;
  --color-calendar: #8E97FD;
  --color-map: #689F38;

  /* Sacred / Candle Colors */
  --color-candle-gold: #F5E6A3;
  --color-candle-amber: #E6D49A;
  --color-sacred-white: #FFF8E1;
  --color-prayer-flame: #FFA726;

  /* System Colors */
  --color-success: #689F38;
  --color-warning: #F57C00;
  --color-error: #D32F2F;
  --color-divider: #E0DDD8;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

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

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --radius-ios-icon: 22.37%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-phone: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-index scale */
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 40;
  --z-toast: 50;

  /* Dark section backgrounds */
  --color-dark-bg: #1A1B2E;
  --color-dark-surface: #252640;
  --color-dark-text: #F2F2F7;
}

/* Dark mode (for future use) */
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary-bg: #1C1C1E;
    --color-secondary-bg: #2C2C2E;
    --color-primary-text: #F2F2F7;
    --color-accent: #A6ACFE;
    --color-accent-dark: #8E97FD;
    --color-accent-light: #C4C8FF;
    --color-highlight: #B0B3C0;
    --color-success: #81C784;
    --color-warning: #FFB74D;
    --color-error: #EF5350;
    --color-divider: #3A3A3C;
    --color-candle-gold: #C9B86C;
    --color-candle-amber: #B8A66E;
    --color-sacred-white: #3D3523;
  }
}
