/**
 * Lemon Queen Theme - Design Tokens
 * 
 * Centralized design system tokens for colors, fonts, spacing, shadows, and more.
 * This file serves as the single source of truth for all design values.
 * 
 * @package Lemon_Queen
 */

/* ==========================================================================
   COLOR SYSTEM
   ========================================================================== */

:root {
    /* Brand Colors */
    --lq-primary: #000000;
    --lq-secondary: #333333;
    --lq-accent: #FCD34D;
    --lq-accent-dark: #F59E0B;
    --lq-accent-light: #FEF3C7;
    --lq-background: #FFFFFF;
    
    /* Gray Scale */
    --lq-gray-50: #F9FAFB;
    --lq-gray-100: #F3F4F6;
    --lq-gray-200: #E5E7EB;
    --lq-gray-300: #D1D5DB;
    --lq-gray-400: #9CA3AF;
    --lq-gray-500: #6B7280;
    --lq-gray-600: #4B5563;
    --lq-gray-700: #333333;
    --lq-gray-800: #1F2937;
    --lq-gray-900: #000000;
    
    /* Status Colors - Franchise System */
    --lq-status-new-bg: #fef3c7;
    --lq-status-new-text: #92400e;
    --lq-status-contacted-bg: #dbeafe;
    --lq-status-contacted-text: #1e40af;
    --lq-status-approved-bg: #d1fae5;
    --lq-status-approved-text: #065f46;
    --lq-status-rejected-bg: #fee2e2;
    --lq-status-rejected-text: #991b1b;
    
    /* Overlay Opacities */
    --lq-overlay-light: rgba(0, 0, 0, 0.1);
    --lq-overlay-medium: rgba(0, 0, 0, 0.3);
    --lq-overlay-dark: rgba(0, 0, 0, 0.5);
    --lq-overlay-white-light: rgba(255, 255, 255, 0.9);
    --lq-overlay-white-medium: rgba(255, 255, 255, 0.95);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    /* Spacing Scale (based on Tailwind) */
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-24: 6rem;     /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   TAILWIND COLOR MAPPING
   ========================================================================== */

/* Map Tailwind color variables to Lemon Queen variables for consistency */
@layer theme {
    :root, :host {
        /* Map Tailwind gray colors to LQ gray colors */
        --color-gray-50: var(--lq-gray-50);
        --color-gray-100: var(--lq-gray-100);
        --color-gray-200: var(--lq-gray-200);
        --color-gray-300: var(--lq-gray-300);
        --color-gray-400: var(--lq-gray-400);
        --color-gray-500: var(--lq-gray-500);
        --color-gray-600: var(--lq-gray-600);
        --color-gray-700: var(--lq-gray-700);
        --color-gray-800: var(--lq-gray-800);
        --color-gray-900: var(--lq-gray-900);
        
        /* Map Tailwind yellow/amber to LQ accent colors */
        --color-yellow-400: var(--lq-accent);
        --color-yellow-500: var(--lq-accent);
        --color-amber-600: var(--lq-accent-dark);
        --color-amber-700: var(--lq-accent-dark);
    }
}

