/**
 * Design Tokens - Therapy Simulator
 *
 * This file contains all CSS custom properties (variables) that define
 * the visual design system. Change values here to update the entire app.
 */

:root {
    /* ========================================
       PRIMARY COLORS (Purple Gradient Theme)
       ======================================== */
    --color-primary: #667eea;
    --color-primary-dark: #764ba2;
    --color-primary-light: rgba(102, 126, 234, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Secondary (for variety in UI elements) */
    --color-secondary: #5a67d8;
    --color-secondary-dark: #4c51bf;

    /* ========================================
       SEMANTIC COLORS
       ======================================== */
    --color-success: #48bb78;
    --color-success-dark: #38a169;
    --color-success-light: #c6f6d5;

    --color-warning: #ed8936;
    --color-warning-dark: #dd6b20;
    --color-warning-light: #feebc8;

    --color-error: #f56565;
    --color-error-dark: #e53e3e;
    --color-error-light: #fed7d7;

    --color-info: #4299e1;
    --color-info-light: #bee3f8;

    /* ========================================
       NEUTRAL COLORS
       ======================================== */
    --color-text-dark: #2d3748;
    --color-text: #4a5568;
    --color-text-light: #718096;
    --color-text-muted: #a0aec0;

    --color-bg-page: #f7fafc;
    --color-bg-card: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-hover: #edf2f7;

    --color-border: #e2e8f0;
    --color-border-light: #edf2f7;
    --color-border-dark: #cbd5e0;

    /* ========================================
       CHAT MESSAGE COLORS
       ======================================== */
    --color-msg-user: #e9d8fd;        /* Light purple for therapist */
    --color-msg-character: #f5f5f5;   /* Light gray for patient */
    --color-msg-system: #f0f4f8;      /* Soft gray-blue for system */

    /* ========================================
       TYPOGRAPHY
       ======================================== */
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', 'Fira Code', 'Courier New', monospace;

    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 2rem;      /* 32px */

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* ========================================
       SPACING (8px base scale)
       ======================================== */
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */

    /* ========================================
       BORDERS & RADIUS
       ======================================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 30px;    /* Pill shape */
    --radius-circle: 50%;

    --border-width: 1px;
    --border-width-2: 2px;

    /* ========================================
       SHADOWS
       ======================================== */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.3);

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

    /* ========================================
       Z-INDEX SCALE
       ======================================== */
    --z-dropdown: 100;
    --z-modal-backdrop: 900;
    --z-modal: 1000;
    --z-notification: 1100;

    /* ========================================
       LAYOUT
       ======================================== */
    --max-width-sm: 400px;
    --max-width-md: 600px;
    --max-width-lg: 800px;
    --max-width-xl: 1200px;
    --max-width-2xl: 1600px;
}
