/* ============================================
   Glown Beauty Admin — Design Tokens
   ============================================ */

:root {
    /* ─── Primary Colors ─── */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-300: #c4b5fd;
    --primary-400: #a78bfa;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;

    /* ─── Accent (Pink) ─── */
    --accent-50: #fdf2f8;
    --accent-100: #fce7f3;
    --accent-200: #fbcfe8;
    --accent-300: #f9a8d4;
    --accent-400: #f472b6;
    --accent-500: #ec4899;
    --accent-600: #db2777;
    --accent-700: #be185d;
    --accent-800: #9d174d;
    --accent-900: #831843;

    /* ─── Neutrals ─── */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    /* ─── Semantic Colors ─── */
    --success-light: #d1fae5;
    --success: #10b981;
    --success-dark: #059669;
    --warning-light: #fef3c7;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --danger-light: #fee2e2;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --info-light: #dbeafe;
    --info: #3b82f6;
    --info-dark: #2563eb;

    /* ─── Background System ─── */
    --bg-body: #0a0a1a;
    --bg-sidebar: rgba(15, 15, 35, 0.95);
    --bg-header: rgba(15, 15, 35, 0.8);
    --bg-card: rgba(30, 30, 60, 0.6);
    --bg-card-hover: rgba(40, 40, 70, 0.7);
    --bg-input: rgba(20, 20, 45, 0.8);
    --bg-modal: rgba(20, 20, 50, 0.95);
    --bg-dropdown: rgba(25, 25, 55, 0.98);
    --bg-table-row: rgba(25, 25, 55, 0.3);
    --bg-table-row-hover: rgba(124, 58, 237, 0.1);
    --bg-tooltip: rgba(15, 15, 35, 0.95);

    /* ─── Glass Effect ─── */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: blur(20px);

    /* ─── Text Colors ─── */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0f172a;
    --text-link: #a78bfa;
    --text-link-hover: #c4b5fd;

    /* ─── Border ─── */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.12);
    --border-color-focus: var(--primary-500);
    --border-radius-sm: 6px;
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;

    /* ─── Spacing ─── */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* ─── Typography ─── */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar: 'Cairo', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.8125rem;
    --font-size-base: 0.9375rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* ─── Shadows ─── */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(236, 72, 153, 0.3);

    /* ─── Gradients ─── */
    --gradient-primary: linear-gradient(135deg, var(--primary-600), var(--accent-500));
    --gradient-primary-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
    --gradient-dark: linear-gradient(180deg, #0f0f23 0%, #1a1a3e 100%);
    --gradient-card: linear-gradient(135deg, rgba(30, 30, 60, 0.8), rgba(20, 20, 50, 0.6));
    --gradient-sidebar: linear-gradient(180deg, rgba(15, 15, 35, 0.98), rgba(10, 10, 25, 0.98));

    /* ─── Transitions ─── */
    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ─── Z-Index ─── */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-sidebar: 300;
    --z-header: 400;
    --z-modal-backdrop: 500;
    --z-modal: 600;
    --z-tooltip: 700;
    --z-toast: 800;

    /* ─── Layout ─── */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 72px;
    --header-height: 70px;
    --content-max-width: 1400px;
}
