/* File: static/css/core/variables.css */
/* Date: 2025-09-07 15:30:00 */
/* Version: 01.00 - ASTROLABE Design System Variables */

/**
 * ASTROLABE RINGS - Core Design System Variables
 * متغيرات نظام التصميم الأساسي لـ ASTROLABE RINGS
 *
 * Features:
 * - Modern color palette with semantic meanings
 * - Comprehensive spacing system
 * - Typography scale
 * - Animation & transition system
 * - Z-index management
 * - Border radius system
 * - Shadow system
 */

:root {
    /* ========================================
       ASTROLABE COLOR PALETTE
       ======================================== */

    /* Primary Colors - ASTROLABE Blue */
    --astrolabe-primary-50: #eff6ff;
    --astrolabe-primary-100: #dbeafe;
    --astrolabe-primary-200: #bfdbfe;
    --astrolabe-primary-300: #93c5fd;
    --astrolabe-primary-400: #60a5fa;
    --astrolabe-primary-500: #3b82f6;
    --astrolabe-primary-600: #2563eb;
    --astrolabe-primary-700: #1d4ed8;
    --astrolabe-primary-800: #1e40af;
    --astrolabe-primary-900: #1e3a8a;
    --astrolabe-primary-950: #172554;

    /* Secondary Colors - Cosmic Purple */
    --astrolabe-secondary-50: #faf5ff;
    --astrolabe-secondary-100: #f3e8ff;
    --astrolabe-secondary-200: #e9d5ff;
    --astrolabe-secondary-300: #d8b4fe;
    --astrolabe-secondary-400: #c084fc;
    --astrolabe-secondary-500: #a855f7;
    --astrolabe-secondary-600: #9333ea;
    --astrolabe-secondary-700: #7c3aed;
    --astrolabe-secondary-800: #6b21a8;
    --astrolabe-secondary-900: #581c87;

    /* Accent Colors - Golden */
    --astrolabe-accent-50: #fffbeb;
    --astrolabe-accent-100: #fef3c7;
    --astrolabe-accent-200: #fde68a;
    --astrolabe-accent-300: #fcd34d;
    --astrolabe-accent-400: #fbbf24;
    --astrolabe-accent-500: #f59e0b;
    --astrolabe-accent-600: #d97706;
    --astrolabe-accent-700: #b45309;
    --astrolabe-accent-800: #92400e;
    --astrolabe-accent-900: #78350f;

    /* Gray Scale - Neutral */
    --astrolabe-gray-50: #f9fafb;
    --astrolabe-gray-100: #f3f4f6;
    --astrolabe-gray-200: #e5e7eb;
    --astrolabe-gray-300: #d1d5db;
    --astrolabe-gray-400: #9ca3af;
    --astrolabe-gray-500: #6b7280;
    --astrolabe-gray-600: #4b5563;
    --astrolabe-gray-700: #374151;
    --astrolabe-gray-800: #1f2937;
    --astrolabe-gray-900: #111827;
    --astrolabe-gray-950: #030712;

    /* Semantic Colors */
    --astrolabe-success-50: #ecfdf5;
    --astrolabe-success-100: #d1fae5;
    --astrolabe-success-200: #a7f3d0;
    --astrolabe-success-300: #6ee7b7;
    --astrolabe-success-400: #34d399;
    --astrolabe-success-500: #10b981;
    --astrolabe-success-600: #059669;
    --astrolabe-success-700: #047857;
    --astrolabe-success-800: #065f46;
    --astrolabe-success-900: #064e3b;

    --astrolabe-warning-50: #fffbeb;
    --astrolabe-warning-100: #fef3c7;
    --astrolabe-warning-200: #fde68a;
    --astrolabe-warning-300: #fcd34d;
    --astrolabe-warning-400: #fbbf24;
    --astrolabe-warning-500: #f59e0b;
    --astrolabe-warning-600: #d97706;
    --astrolabe-warning-700: #b45309;
    --astrolabe-warning-800: #92400e;
    --astrolabe-warning-900: #78350f;

    --astrolabe-error-50: #fef2f2;
    --astrolabe-error-100: #fee2e2;
    --astrolabe-error-200: #fecaca;
    --astrolabe-error-300: #fca5a5;
    --astrolabe-error-400: #f87171;
    --astrolabe-error-500: #ef4444;
    --astrolabe-error-600: #dc2626;
    --astrolabe-error-700: #b91c1c;
    --astrolabe-error-800: #991b1b;
    --astrolabe-error-900: #7f1d1d;

    --astrolabe-info-50: #eff6ff;
    --astrolabe-info-100: #dbeafe;
    --astrolabe-info-200: #bfdbfe;
    --astrolabe-info-300: #93c5fd;
    --astrolabe-info-400: #60a5fa;
    --astrolabe-info-500: #3b82f6;
    --astrolabe-info-600: #2563eb;
    --astrolabe-info-700: #1d4ed8;
    --astrolabe-info-800: #1e40af;
    --astrolabe-info-900: #1e3a8a;

    /* ========================================
       SPACING SYSTEM
       ======================================== */

    --space-astrolabe-px: 1px;
    --space-astrolabe-0: 0;
    --space-astrolabe-0-5: 0.125rem;  /* 2px */
    --space-astrolabe-1: 0.25rem;     /* 4px */
    --space-astrolabe-1-5: 0.375rem;  /* 6px */
    --space-astrolabe-2: 0.5rem;      /* 8px */
    --space-astrolabe-2-5: 0.625rem;  /* 10px */
    --space-astrolabe-3: 0.75rem;     /* 12px */
    --space-astrolabe-3-5: 0.875rem;  /* 14px */
    --space-astrolabe-4: 1rem;        /* 16px */
    --space-astrolabe-5: 1.25rem;     /* 20px */
    --space-astrolabe-6: 1.5rem;      /* 24px */
    --space-astrolabe-7: 1.75rem;     /* 28px */
    --space-astrolabe-8: 2rem;        /* 32px */
    --space-astrolabe-9: 2.25rem;     /* 36px */
    --space-astrolabe-10: 2.5rem;     /* 40px */
    --space-astrolabe-11: 2.75rem;    /* 44px */
    --space-astrolabe-12: 3rem;       /* 48px */
    --space-astrolabe-14: 3.5rem;     /* 56px */
    --space-astrolabe-16: 4rem;       /* 64px */
    --space-astrolabe-20: 5rem;       /* 80px */
    --space-astrolabe-24: 6rem;       /* 96px */
    --space-astrolabe-28: 7rem;       /* 112px */
    --space-astrolabe-32: 8rem;       /* 128px */
    --space-astrolabe-36: 9rem;       /* 144px */
    --space-astrolabe-40: 10rem;      /* 160px */
    --space-astrolabe-44: 11rem;      /* 176px */
    --space-astrolabe-48: 12rem;      /* 192px */
    --space-astrolabe-52: 13rem;      /* 208px */
    --space-astrolabe-56: 14rem;      /* 224px */
    --space-astrolabe-60: 15rem;      /* 240px */
    --space-astrolabe-64: 16rem;      /* 256px */
    --space-astrolabe-72: 18rem;      /* 288px */
    --space-astrolabe-80: 20rem;      /* 320px */
    --space-astrolabe-96: 24rem;      /* 384px */

    /* Semantic Spacing */
    --space-astrolabe-xs: var(--space-astrolabe-1);
    --space-astrolabe-sm: var(--space-astrolabe-2);
    --space-astrolabe-md: var(--space-astrolabe-4);
    --space-astrolabe-lg: var(--space-astrolabe-6);
    --space-astrolabe-xl: var(--space-astrolabe-8);
    --space-astrolabe-2xl: var(--space-astrolabe-12);
    --space-astrolabe-3xl: var(--space-astrolabe-16);

    /* ========================================
       TYPOGRAPHY SYSTEM
       ======================================== */

    /* Font Families */
    --font-astrolabe-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-astrolabe-serif: 'Georgia', 'Times New Roman', serif;
    --font-astrolabe-mono: 'SF Mono', Monaco, 'Inconsolata', 'Roboto Mono', monospace;

    /* Font Sizes */
    --text-astrolabe-xs: 0.75rem;     /* 12px */
    --text-astrolabe-sm: 0.875rem;    /* 14px */
    --text-astrolabe-base: 1rem;      /* 16px */
    --text-astrolabe-lg: 1.125rem;    /* 18px */
    --text-astrolabe-xl: 1.25rem;     /* 20px */
    --text-astrolabe-2xl: 1.5rem;     /* 24px */
    --text-astrolabe-3xl: 1.875rem;   /* 30px */
    --text-astrolabe-4xl: 2.25rem;    /* 36px */
    --text-astrolabe-5xl: 3rem;       /* 48px */
    --text-astrolabe-6xl: 3.75rem;    /* 60px */
    --text-astrolabe-7xl: 4.5rem;     /* 72px */
    --text-astrolabe-8xl: 6rem;       /* 96px */
    --text-astrolabe-9xl: 8rem;       /* 128px */

    /* Font Weights */
    --font-weight-astrolabe-thin: 100;
    --font-weight-astrolabe-extralight: 200;
    --font-weight-astrolabe-light: 300;
    --font-weight-astrolabe-normal: 400;
    --font-weight-astrolabe-medium: 500;
    --font-weight-astrolabe-semibold: 600;
    --font-weight-astrolabe-bold: 700;
    --font-weight-astrolabe-extrabold: 800;
    --font-weight-astrolabe-black: 900;

    /* Line Heights */
    --leading-astrolabe-none: 1;
    --leading-astrolabe-tight: 1.25;
    --leading-astrolabe-snug: 1.375;
    --leading-astrolabe-normal: 1.5;
    --leading-astrolabe-relaxed: 1.625;
    --leading-astrolabe-loose: 2;

    /* ========================================
       BORDER RADIUS SYSTEM
       ======================================== */

    --radius-astrolabe-none: 0;
    --radius-astrolabe-sm: 0.125rem;   /* 2px */
    --radius-astrolabe-md: 0.375rem;   /* 6px */
    --radius-astrolabe-lg: 0.5rem;     /* 8px */
    --radius-astrolabe-xl: 0.75rem;    /* 12px */
    --radius-astrolabe-2xl: 1rem;      /* 16px */
    --radius-astrolabe-3xl: 1.5rem;    /* 24px */
    --radius-astrolabe-full: 9999px;

    /* ========================================
       SHADOW SYSTEM
       ======================================== */

    --shadow-astrolabe-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-astrolabe-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-astrolabe-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-astrolabe-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-astrolabe-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-astrolabe-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-astrolabe-none: 0 0 #0000;

    /* Glow Shadows */
    --shadow-astrolabe-glow-sm: 0 0 6px rgba(59, 130, 246, 0.5);
    --shadow-astrolabe-glow-md: 0 0 12px rgba(59, 130, 246, 0.4);
    --shadow-astrolabe-glow-lg: 0 0 24px rgba(59, 130, 246, 0.3);

    /* ========================================
       BLUR SYSTEM
       ======================================== */

    --blur-astrolabe-none: 0;
    --blur-astrolabe-sm: 4px;
    --blur-astrolabe-md: 8px;
    --blur-astrolabe-lg: 16px;
    --blur-astrolabe-xl: 24px;
    --blur-astrolabe-2xl: 40px;
    --blur-astrolabe-3xl: 64px;

    /* ========================================
       ANIMATION & TRANSITIONS
       ======================================== */

    /* Duration */
    --duration-astrolabe-75: 75ms;
    --duration-astrolabe-100: 100ms;
    --duration-astrolabe-150: 150ms;
    --duration-astrolabe-200: 200ms;
    --duration-astrolabe-300: 300ms;
    --duration-astrolabe-500: 500ms;
    --duration-astrolabe-700: 700ms;
    --duration-astrolabe-1000: 1000ms;

    /* Timing Functions */
    --ease-astrolabe-linear: linear;
    --ease-astrolabe-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-astrolabe-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-astrolabe-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-astrolabe-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-astrolabe-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Common Transitions */
    --transition-astrolabe-all: all var(--duration-astrolabe-200) var(--ease-astrolabe-in-out);
    --transition-astrolabe-colors: color var(--duration-astrolabe-200) var(--ease-astrolabe-in-out), background-color var(--duration-astrolabe-200) var(--ease-astrolabe-in-out), border-color var(--duration-astrolabe-200) var(--ease-astrolabe-in-out);
    --transition-astrolabe-opacity: opacity var(--duration-astrolabe-200) var(--ease-astrolabe-in-out);
    --transition-astrolabe-transform: transform var(--duration-astrolabe-200) var(--ease-astrolabe-in-out);
    --transition-astrolabe-shadow: box-shadow var(--duration-astrolabe-200) var(--ease-astrolabe-in-out);

    /* ========================================
       Z-INDEX SYSTEM
       ======================================== */

    --z-astrolabe-auto: auto;
    --z-astrolabe-0: 0;
    --z-astrolabe-10: 10;
    --z-astrolabe-20: 20;
    --z-astrolabe-30: 30;
    --z-astrolabe-40: 40;
    --z-astrolabe-50: 50;

    /* Semantic Z-Index */
    --z-astrolabe-base: 0;
    --z-astrolabe-docked: 10;
    --z-astrolabe-dropdown: 1000;
    --z-astrolabe-sticky: 1020;
    --z-astrolabe-banner: 1030;
    --z-astrolabe-overlay: 1040;
    --z-astrolabe-modal: 1050;
    --z-astrolabe-popover: 1060;
    --z-astrolabe-skiplink: 1070;
    --z-astrolabe-toast: 1080;
    --z-astrolabe-tooltip: 1090;

    /* ========================================
       BREAKPOINTS
       ======================================== */

    --breakpoint-astrolabe-xs: 0px;
    --breakpoint-astrolabe-sm: 576px;
    --breakpoint-astrolabe-md: 768px;
    --breakpoint-astrolabe-lg: 992px;
    --breakpoint-astrolabe-xl: 1200px;
    --breakpoint-astrolabe-2xl: 1400px;

    /* ========================================
       VIEWPORT UNITS (Mobile Safe)
       ======================================== */

    --vh-astrolabe: 1vh;
    --vw-astrolabe: 1vw;
    --dvh-astrolabe: 1dvh;
    --dvw-astrolabe: 1dvw;

    /* ========================================
       THEME SEMANTIC TOKENS (Default: Sun Mode)
       ======================================== */

    /* Primary Brand Colors */
    --astrolabe-primary: var(--astrolabe-primary-600);
    --astrolabe-primary-hover: var(--astrolabe-primary-700);
    --astrolabe-primary-active: var(--astrolabe-primary-800);
    --astrolabe-primary-light: var(--astrolabe-primary-100);
    --astrolabe-primary-muted: var(--astrolabe-primary-50);

    /* Background Colors */
    --astrolabe-bg-app: #ffffff;
    --astrolabe-bg-canvas: var(--astrolabe-gray-50);
    --astrolabe-bg-card: #ffffff;
    --astrolabe-bg-elevated: #ffffff;
    --astrolabe-bg-overlay: rgba(255, 255, 255, 0.9);
    --astrolabe-bg-glass: rgba(255, 255, 255, 0.8);
    --astrolabe-bg-input: #ffffff;
    --astrolabe-bg-disabled: var(--astrolabe-gray-100);
    --astrolabe-bg-hover: var(--astrolabe-gray-50);
    --astrolabe-bg-active: var(--astrolabe-gray-100);

    /* Text Colors */
    --astrolabe-text-primary: var(--astrolabe-gray-900);
    --astrolabe-text-secondary: var(--astrolabe-gray-600);
    --astrolabe-text-muted: var(--astrolabe-gray-500);
    --astrolabe-text-disabled: var(--astrolabe-gray-400);
    --astrolabe-text-placeholder: var(--astrolabe-gray-400);
    --astrolabe-text-inverse: #ffffff;
    --astrolabe-text-link: var(--astrolabe-primary-600);
    --astrolabe-text-link-hover: var(--astrolabe-primary-700);

    /* Border Colors */
    --astrolabe-border-primary: var(--astrolabe-gray-200);
    --astrolabe-border-secondary: var(--astrolabe-gray-300);
    --astrolabe-border-muted: var(--astrolabe-gray-100);
    --astrolabe-border-strong: var(--astrolabe-gray-400);
    --astrolabe-border-inverse: rgba(255, 255, 255, 0.2);
    --astrolabe-border-success: var(--astrolabe-success-500);
    --astrolabe-border-warning: var(--astrolabe-warning-500);
    --astrolabe-border-error: var(--astrolabe-error-500);
    --astrolabe-border-info: var(--astrolabe-info-500);

    /* Focus States */
    --astrolabe-focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.2);
    --astrolabe-focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.2);
    --astrolabe-focus-ring-success: 0 0 0 3px rgba(16, 185, 129, 0.2);

    /* Interactive States */
    --astrolabe-interactive-hover: rgba(59, 130, 246, 0.1);
    --astrolabe-interactive-active: rgba(59, 130, 246, 0.2);
    --astrolabe-interactive-disabled: var(--astrolabe-gray-100);
}