/* variables.css - نظام توكنز التصميم الكامل */ :root { /* ========== COLOR SYSTEM ========== */ /* Primary Blue Colors */ --color-primary-50: #e8f5ff; --color-primary-100: #d1ebff; --color-primary-200: #a3d7ff; --color-primary-300: #75c3ff; --color-primary-400: #47afff; --color-primary-500: #1e40af; --color-primary-600: #1a3a9f; --color-primary-700: #16348f; --color-primary-800: #122e7f; --color-primary-900: #0e286f; /* Secondary Gold Colors */ --color-secondary-50: #fff8e6; --color-secondary-100: #fff1cc; --color-secondary-200: #ffe399; --color-secondary-300: #ffd566; --color-secondary-400: #ffc733; --color-secondary-500: #d97706; --color-secondary-600: #c66b05; --color-secondary-700: #b35f04; --color-secondary-800: #a05303; --color-secondary-900: #8d4702; /* Neutral Colors */ --color-neutral-0: #ffffff; --color-neutral-50: #f8fafc; --color-neutral-100: #f1f5f9; --color-neutral-200: #e2e8f0; --color-neutral-300: #cbd5e1; --color-neutral-400: #94a3b8; --color-neutral-500: #64748b; --color-neutral-600: #475569; --color-neutral-700: #334155; --color-neutral-800: #1e293b; --color-neutral-900: #0f172a; --color-neutral-1000: #000000; /* Semantic Colors */ --color-success: #059669; --color-warning: #d97706; --color-error: #dc2626; --color-info: #3b82f6; /* Legacy Colors (For Compatibility) */ --primary-blue: #1e40af; --secondary-blue: #3b82f6; --dark-blue: #1e3a8a; --medium-blue: #60a5fa; --light-blue: #dbeafe; --gold: #d97706; --light-gold: #f59e0b; --accent-gold: #fbbf24; --warm-gray: #f8fafc; --medium-gray: #e2e8f0; --dark-gray: #475569; --white: #ffffff; --light-bg: #f0f9ff; --text-dark: #1e293b; --text-light: #64748b; /* ========== TYPOGRAPHY SYSTEM ========== */ /* Font Families */ --font-family-arabic: 'Cairo', 'Tajawal', -apple-system, sans-serif; --font-family-english: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; --font-family-display: 'Cairo', 'Tajawal', sans-serif; /* Font Sizes */ --text-xs: 0.75rem; /* 12px */ --text-sm: 0.875rem; /* 14px */ --text-base: 1rem; /* 16px */ --text-lg: 1.125rem; /* 18px */ --text-xl: 1.25rem; /* 20px */ --text-2xl: 1.5rem; /* 24px */ --text-3xl: 1.875rem; /* 30px */ --text-4xl: 2.25rem; /* 36px */ --text-5xl: 3rem; /* 48px */ /* Font Weights */ --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700; --font-weight-extrabold: 800; --font-weight-black: 900; /* Line Heights */ --line-height-tight: 1.25; --line-height-snug: 1.375; --line-height-normal: 1.5; --line-height-relaxed: 1.625; --line-height-loose: 2; /* Letter Spacing */ --letter-spacing-tighter: -0.05em; --letter-spacing-tight: -0.025em; --letter-spacing-normal: 0; --letter-spacing-wide: 0.025em; --letter-spacing-wider: 0.05em; --letter-spacing-widest: 0.1em; /* ========== SPACING SYSTEM ========== */ --spacing-0: 0; --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 */ --spacing-16: 4rem; /* 64px */ --spacing-20: 5rem; /* 80px */ --spacing-24: 6rem; /* 96px */ /* Legacy Spacing */ --spacing-xs: 4px; --spacing-sm: 8px; --spacing-md: 16px; --spacing-lg: 24px; --spacing-xl: 32px; --spacing-2xl: 40px; --spacing-3xl: 48px; /* ========== SHADOWS ========== */ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); /* Legacy Shadows */ --card-shadow: 0 8px 24px rgba(30, 64, 175, 0.08); --hover-shadow: 0 12px 32px rgba(30, 64, 175, 0.15); --modal-shadow: 0 25px 50px rgba(0, 0, 0, 0.25); /* ========== BORDERS ========== */ /* Border Radius */ --radius-sm: 0.25rem; /* 4px */ --radius-base: 0.375rem; /* 6px */ --radius-md: 0.5rem; /* 8px */ --radius-lg: 0.75rem; /* 12px */ --radius-xl: 1rem; /* 16px */ --radius-2xl: 1.5rem; /* 24px */ --radius-full: 9999px; /* Legacy Border Radius */ --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 20px; --radius-2xl: 24px; /* Border Width */ --border-width-thin: 1px; --border-width-base: 2px; --border-width-thick: 4px; /* ========== TRANSITIONS ========== */ --transition-duration-75: 75ms; --transition-duration-100: 100ms; --transition-duration-150: 150ms; --transition-duration-200: 200ms; --transition-duration-300: 300ms; --transition-duration-500: 500ms; --transition-duration-700: 700ms; --transition-duration-1000: 1000ms; --transition-timing-function-linear: linear; --transition-timing-function-ease: ease; --transition-timing-function-ease-in: ease-in; --transition-timing-function-ease-out: ease-out; --transition-timing-function-ease-in-out: ease-in-out; /* Legacy Transitions */ --transition-normal: all 0.3s ease; --transition-fast: all 0.2s ease; --transition-slow: all 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; /* ========== LAYOUT ========== */ --header-height: 64px; --sidebar-width: 240px; --sidebar-collapsed-width: 64px; --container-max-width: 1200px; --content-max-width: 1400px; /* ========== ANIMATIONS ========== */ --animation-duration-fast: 150ms; --animation-duration-normal: 300ms; --animation-duration-slow: 500ms; } /* Dark Theme Variables */ @media (prefers-color-scheme: dark) { :root { --color-neutral-0: #0f172a; --color-neutral-50: #1e293b; --color-neutral-100: #334155; --color-neutral-200: #475569; --color-neutral-300: #64748b; --color-neutral-400: #94a3b8; --color-neutral-500: #cbd5e1; --color-neutral-600: #e2e8f0; --color-neutral-700: #f1f5f9; --color-neutral-800: #f8fafc; --color-neutral-900: #ffffff; } }