/**
 * Engagement Hub - Design System Variables
 * 
 * This file contains all CSS custom properties (variables) for the design system.
 * Include this file BEFORE all other CSS files to make variables available globally.
 * 
 * @package Feedback_Maps
 * @since 2.1.0
 */

:root {
    /* ========================================
       TYPOGRAPHY
       ======================================== */
    
    /* Font Family */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px - Small labels, captions */
    --font-size-sm: 0.875rem;     /* 14px - Secondary text, helper text */
    --font-size-base: 0.9375rem;  /* 15px - Body text, inputs */
    --font-size-md: 1rem;         /* 16px - Emphasized body text */
    --font-size-lg: 1.125rem;     /* 18px - Subheadings */
    --font-size-xl: 1.25rem;      /* 20px - Small headings */
    --font-size-2xl: 1.5rem;      /* 24px - Medium headings */
    --font-size-3xl: 2rem;        /* 32px - Large headings */
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* ========================================
       COLORS - PRIMARY
       ======================================== */
    
    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    --color-primary-dark: #1e40af;
    --color-primary-light: #dbeafe;
    --color-primary-50: #eff6ff;
    
    /* ========================================
       COLORS - SEMANTIC
       ======================================== */
    
    /* Success (Green) */
    --color-success: #10b981;
    --color-success-hover: #059669;
    --color-success-light: #d1fae5;
    --color-success-dark: #065f46;
    
    /* Warning (Amber) */
    --color-warning: #f59e0b;
    --color-warning-hover: #d97706;
    --color-warning-light: #fef3c7;
    --color-warning-dark: #92400e;
    
    /* Error (Red) */
    --color-error: #ef4444;
    --color-error-hover: #dc2626;
    --color-error-light: #fee2e2;
    --color-error-dark: #991b1b;
    
    /* Info (Cyan) */
    --color-info: #06b6d4;
    --color-info-hover: #0891b2;
    --color-info-light: #cffafe;
    --color-info-dark: #155e75;
    
    /* ========================================
       COLORS - NEUTRAL (GRAY SCALE)
       ======================================== */
    
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* ========================================
       COLORS - CATEGORY SPECIFIC
       ======================================== */
    
    --color-positive: #22c55e;
    --color-positive-hover: #16a34a;
    --color-negative: #ef4444;
    --color-negative-hover: #dc2626;
    --color-question: #f59e0b;
    --color-question-hover: #d97706;
    
    /* ========================================
       SPACING
       ======================================== */
    
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    
    /* ========================================
       BORDER RADIUS
       ======================================== */
    
    --radius-sm: 0.375rem;    /* 6px */
    --radius-md: 0.5rem;      /* 8px */
    --radius-lg: 0.75rem;     /* 12px */
    --radius-xl: 1rem;        /* 16px */
    --radius-full: 9999px;    /* Pills, circles */
    
    /* ========================================
       SHADOWS
       ======================================== */
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 14px rgba(59, 130, 246, 0.3);
    --shadow-success: 0 4px 14px rgba(16, 185, 129, 0.3);
    --shadow-error: 0 4px 14px rgba(239, 68, 68, 0.3);
    
    /* ========================================
       TRANSITIONS
       ======================================== */
    
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* ========================================
       Z-INDEX SCALE
       ======================================== */
    
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-overlay: 1000;
    --z-modal: 10000;
    --z-popover: 10001;
    --z-tooltip: 10002;
    
    /* ========================================
       COMPONENT-SPECIFIC TOKENS
       ======================================== */
    
    /* Sidebar */
    --sidebar-width: 380px;
    --sidebar-width-minimized: 60px;
    
    /* Map */
    --map-min-height: 600px;
    
    /* Modal */
    --modal-max-width: 560px;
    --modal-header-bg: var(--color-primary);
    
    /* Inputs */
    --input-border-width: 2px;
    --input-padding: 0.75rem 1rem;
    
    /* Buttons */
    --button-padding: 0.75rem 1.5rem;
    --button-font-weight: var(--font-weight-semibold);
}