/* ====================================
   CSS Variables - متغيرات CSS
   للألوان والمقاسات المشتركة
   ==================================== */

:root {
    /* ====================================
       Colors - الألوان
       ==================================== */
    
    /* Primary Gradient - البنفسجي الرئيسي */
    --primary-color-start: #667eea;
    --primary-color-end: #764ba2;
    --primary-gradient: linear-gradient(135deg, var(--primary-color-start) 0%, var(--primary-color-end) 100%);
    
    /* Success Gradient - الأخضر */
    --success-color-start: #48bb78;
    --success-color-end: #38a169;
    --success-gradient: linear-gradient(135deg, var(--success-color-start) 0%, var(--success-color-end) 100%);
    
    /* Warning Gradient - البرتقالي */
    --warning-color-start: #f6ad55;
    --warning-color-end: #ed8936;
    --warning-gradient: linear-gradient(135deg, var(--warning-color-start) 0%, var(--warning-color-end) 100%);
    
    /* Danger Gradient - الأحمر */
    --danger-color-start: #fc8181;
    --danger-color-end: #f56565;
    --danger-gradient: linear-gradient(135deg, var(--danger-color-start) 0%, var(--danger-color-end) 100%);
    
    /* Info Gradient - الأزرق */
    --info-color-start: #63b3ed;
    --info-color-end: #4299e1;
    --info-gradient: linear-gradient(135deg, var(--info-color-start) 0%, var(--info-color-end) 100%);
    
    /* Neutral Colors - الألوان المحايدة */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #718096;
    --gray-600: #666666;
    --gray-700: #495057;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    
    /* Text Colors - ألوان النصوص */
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    
    /* ====================================
       Sizes - المقاسات
       ==================================== */
    
    /* Icons - الأيقونات */
    --icon-size-sm: 50px;
    --icon-size-md: 60px;
    --icon-size-lg: 70px;
    --icon-size-xl: 80px;
    
    /* Step Icons - أيقونات الخطوات */
    --step-icon-size: 80px;
    --step-number-size: 40px;
    
    /* Border Radius - انحناء الحواف */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 15px;
    --border-radius-xl: 20px;
    --border-radius-full: 50%;
    
    /* Spacing - المسافات */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* ====================================
       Shadows - الظلال
       ==================================== */
    
    /* Basic Shadows */
    --shadow-xs: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-sm: 0 4px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    
    /* Colored Shadows */
    --shadow-primary: 0 6px 20px rgba(102, 126, 234, 0.3);
    --shadow-primary-hover: 0 8px 25px rgba(102, 126, 234, 0.4);
    --shadow-success: 0 6px 20px rgba(72, 187, 120, 0.3);
    --shadow-warning: 0 6px 20px rgba(246, 173, 85, 0.3);
    --shadow-danger: 0 6px 20px rgba(252, 129, 129, 0.3);
    
    /* ====================================
       Typography - الطباعة
       ==================================== */
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-md: 1.125rem;     /* 18px */
    --font-size-lg: 1.25rem;      /* 20px */
    --font-size-xl: 1.5rem;       /* 24px */
    --font-size-2xl: 2rem;        /* 32px */
    --font-size-3xl: 2.5rem;      /* 40px */
    --font-size-4xl: 3rem;        /* 48px */
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
    
    /* ====================================
       Transitions - الانتقالات
       ==================================== */
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ====================================
       Z-Index - الطبقات
       ==================================== */
    
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    
    /* ====================================
       Breakpoints - نقاط التوقف
       ==================================== */
    
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

/* ====================================
   Dark Mode Support - دعم الوضع الداكن
   (للمستقبل)
   ==================================== */

/* @media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;
        --gray-50: #1a202c;
        --gray-100: #2d3748;
    }
} */

/* ====================================
   RTL Support - دعم اللغة العربية
   ==================================== */

[dir="rtl"] {
    /* يمكن إضافة تخصيصات RTL هنا */
}

/* ====================================
   Utility Classes - أصناف مساعدة
   ==================================== */

/* Text Gradient */
.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-success {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Gradients */
.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-success {
    background: var(--success-gradient);
}

.bg-gradient-warning {
    background: var(--warning-gradient);
}

.bg-gradient-danger {
    background: var(--danger-gradient);
}

/* Shadows */
.shadow-primary {
    box-shadow: var(--shadow-primary);
}

.shadow-success {
    box-shadow: var(--shadow-success);
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* ====================================
   Animation Keyframes - الرسوم المتحركة
   ==================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ====================================
   Animation Classes - أصناف الرسوم المتحركة
   ==================================== */

.animate-fadeIn {
    animation: fadeIn var(--transition-base);
}

.animate-fadeInUp {
    animation: fadeInUp var(--transition-base);
}

.animate-fadeInDown {
    animation: fadeInDown var(--transition-base);
}

.animate-slideInRight {
    animation: slideInRight var(--transition-base);
}

.animate-slideInLeft {
    animation: slideInLeft var(--transition-base);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}




