/* ==========================================
   Zimam - Modern Design System Variables
   Style: Glassmorphism + Animated Blobs
   ========================================== */

:root {
  /* ===== Primary Colors ===== */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.1);
  --primary-glow: rgba(99, 102, 241, 0.4);
  
  --secondary: #10b981;
  --secondary-hover: #059669;
  --secondary-light: rgba(16, 185, 129, 0.1);
  
  --accent: #f43f5e;
  --accent-hover: #e11d48;
  --accent-light: rgba(244, 63, 94, 0.1);
  
  /* ===== Status Colors ===== */
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.1);
  
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.1);
  
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.1);
  
  --info: #3b82f6;
  --info-light: rgba(59, 130, 246, 0.1);
  
  /* ===== Backgrounds ===== */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  /* ===== Glassmorphism ===== */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: rgba(31, 38, 135, 0.15);
  --glass-blur: blur(16px);
  
  /* ===== Text Colors ===== */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-inverse: #ffffff;
  
  /* ===== Borders ===== */
  --border-color: rgba(148, 163, 184, 0.2);
  --border-light: rgba(148, 163, 184, 0.1);
  
  /* ===== Shadows ===== */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 32px var(--primary-glow);
  
  /* ===== Border Radius ===== */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* ===== Spacing ===== */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 0.75rem;   /* 12px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  
  /* ===== Typography ===== */
  --font-sans: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  
  --font-xs: 0.75rem;      /* 12px */
  --font-sm: 0.875rem;     /* 14px */
  --font-base: 1rem;       /* 16px */
  --font-lg: 1.125rem;     /* 18px */
  --font-xl: 1.25rem;      /* 20px */
  --font-2xl: 1.5rem;      /* 24px */
  --font-3xl: 2rem;        /* 32px */
  --font-4xl: 2.5rem;      /* 40px */
  
  --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.75;
  
  /* ===== Transitions ===== */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* ===== Z-Index Layers ===== */
  --z-background: -1;
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  
  /* ===== Layout ===== */
  --max-width: 1280px;
  --sidebar-width: 280px;
  --bottom-nav-height: 72px;
  
  /* ===== Blob Animation Colors ===== */
  --blob-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --blob-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --blob-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ===== Dark Mode Variables ===== */
[data-theme="dark"] {
  /* ===== Backgrounds ===== */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-elevated: #334155;
  
  /* ===== Glassmorphism ===== */
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  
  /* ===== Text Colors ===== */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #64748b;
  
  /* ===== Borders ===== */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  
  /* ===== Shadows ===== */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  
  /* ===== Blob Animation Colors (Darker) ===== */
  --blob-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --blob-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --blob-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');
