/**
 * EmbedPress SCSS Variables
 * 
 * Global variables for consistent styling across all components.
 */

// Colors
:root {
  // Primary colors
  --ep-primary: #007cba;
  --ep-primary-hover: #005a87;
  --ep-primary-light: #e6f3ff;
  
  // Secondary colors
  --ep-secondary: #50575e;
  --ep-secondary-hover: #3c434a;
  --ep-secondary-light: #f6f7f7;
  
  // Status colors
  --ep-success: #00a32a;
  --ep-success-light: #e6f7e6;
  --ep-warning: #dba617;
  --ep-warning-light: #fff8e5;
  --ep-error: #d63638;
  --ep-error-light: #ffeaea;
  --ep-info: #72aee6;
  --ep-info-light: #e5f5ff;
  
  // Neutral colors
  --ep-white: #ffffff;
  --ep-gray-50: #f9fafb;
  --ep-gray-100: #f3f4f6;
  --ep-gray-200: #e5e7eb;
  --ep-gray-300: #d1d5db;
  --ep-gray-400: #9ca3af;
  --ep-gray-500: #6b7280;
  --ep-gray-600: #4b5563;
  --ep-gray-700: #374151;
  --ep-gray-800: #1f2937;
  --ep-gray-900: #111827;
  --ep-black: #000000;
  
  // Typography
  --ep-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --ep-font-family-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  
  // Font sizes
  --ep-text-xs: 0.75rem;    // 12px
  --ep-text-sm: 0.875rem;   // 14px
  --ep-text-base: 1rem;     // 16px
  --ep-text-lg: 1.125rem;   // 18px
  --ep-text-xl: 1.25rem;    // 20px
  --ep-text-2xl: 1.5rem;    // 24px
  --ep-text-3xl: 1.875rem;  // 30px
  --ep-text-4xl: 2.25rem;   // 36px
  
  // Font weights
  --ep-font-light: 300;
  --ep-font-normal: 400;
  --ep-font-medium: 500;
  --ep-font-semibold: 600;
  --ep-font-bold: 700;
  
  // Line heights
  --ep-leading-tight: 1.25;
  --ep-leading-normal: 1.5;
  --ep-leading-relaxed: 1.75;
  
  // Spacing
  --ep-space-1: 0.25rem;   // 4px
  --ep-space-2: 0.5rem;    // 8px
  --ep-space-3: 0.75rem;   // 12px
  --ep-space-4: 1rem;      // 16px
  --ep-space-5: 1.25rem;   // 20px
  --ep-space-6: 1.5rem;    // 24px
  --ep-space-8: 2rem;      // 32px
  --ep-space-10: 2.5rem;   // 40px
  --ep-space-12: 3rem;     // 48px
  --ep-space-16: 4rem;     // 64px
  --ep-space-20: 5rem;     // 80px
  
  // Border radius
  --ep-radius-sm: 0.125rem;  // 2px
  --ep-radius: 0.25rem;      // 4px
  --ep-radius-md: 0.375rem;  // 6px
  --ep-radius-lg: 0.5rem;    // 8px
  --ep-radius-xl: 0.75rem;   // 12px
  --ep-radius-2xl: 1rem;     // 16px
  --ep-radius-full: 9999px;
  
  // Shadows
  --ep-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --ep-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --ep-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --ep-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ep-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  // Transitions
  --ep-transition-fast: 150ms ease-in-out;
  --ep-transition-normal: 300ms ease-in-out;
  --ep-transition-slow: 500ms ease-in-out;
  
  // Z-index
  --ep-z-dropdown: 1000;
  --ep-z-sticky: 1020;
  --ep-z-fixed: 1030;
  --ep-z-modal-backdrop: 1040;
  --ep-z-modal: 1050;
  --ep-z-popover: 1060;
  --ep-z-tooltip: 1070;
  --ep-z-toast: 1080;
  
  // Breakpoints (for reference in JS)
  --ep-breakpoint-sm: 640px;
  --ep-breakpoint-md: 768px;
  --ep-breakpoint-lg: 1024px;
  --ep-breakpoint-xl: 1280px;
  --ep-breakpoint-2xl: 1536px;
}

// SCSS Variables (for use in SCSS files)
$ep-primary: var(--ep-primary);
$ep-primary-hover: var(--ep-primary-hover);
$ep-secondary: var(--ep-secondary);
$ep-success: var(--ep-success);
$ep-warning: var(--ep-warning);
$ep-error: var(--ep-error);
$ep-info: var(--ep-info);

$ep-font-family: var(--ep-font-family);
$ep-transition-normal: var(--ep-transition-normal);
$ep-radius: var(--ep-radius);
$ep-shadow: var(--ep-shadow);
