:root {
    /* ==========================================================================
       BESPOKE EXECUTIVE PALETTE — نظام سما لإدارة المخازن
       مستوحى من ألوان المؤسسات العريقة: كحلي ملكي داكن، لمسات برونزية مطفأة،
       أخضر زيتي وقور، وقرمزي عنّابي متزن، مع خلفيات ورقية دافئة.
       ========================================================================== */

    /* Primary & Brand Inks */
    --color-primary: #0F2038;             /* كحلي ملكي داكن وعميق */
    --color-primary-hover: #162E50;
    --color-primary-light: #F0F4F9;
    --color-primary-border: #CBD7E6;

    /* Accent / Signature Metallic (ذهبي مطفأ / برونزي هادئ) */
    --color-accent: #B38728;
    --color-accent-hover: #9E731D;
    --color-accent-light: #FBF7EE;
    --color-accent-border: #E8D9B5;

    /* Dark Navigation & Chrome (Ink Slate) */
    --color-sidebar: #0A1424;
    --color-sidebar-hover: #142238;
    --color-sidebar-active: #1A2E4C;
    --color-sidebar-text: #8E9DB3;
    --color-sidebar-text-hover: #F8FAFC;
    --color-sidebar-border: #16253D;

    /* Status: Forest Green (الوارد / الرصيد الإيجابي / النشط) */
    --color-success: #1E4D3E;
    --color-success-hover: #163C30;
    --color-success-light: #EDF5F2;
    --color-success-border: #BDD8CE;
    --color-success-text: #143B2F;

    /* Status: Deep Amber (حد الطلب / تنبيه) */
    --color-warning: #996515;
    --color-warning-hover: #82540E;
    --color-warning-light: #FDF7EC;
    --color-warning-border: #ECCF9E;
    --color-warning-text: #704707;

    /* Status: Crimson Wine (المنصرف / المعطل / الخطر) */
    --color-danger: #8C2433;
    --color-danger-hover: #731A26;
    --color-danger-light: #FAF0F2;
    --color-danger-border: #E8BAC1;
    --color-danger-text: #6A1824;

    /* Information / Neutral Cool */
    --color-info: #1B4A6B;
    --color-info-light: #EDF4F9;
    --color-info-border: #B7D1E3;
    --color-info-text: #12334A;

    /* Surfaces & Paper Backgrounds */
    --color-bg: #F5F6F8;                  /* خلفية رمادية دافئة ومريحة وليست بياضاً ثلجياً */
    --color-card-bg: #FFFFFF;
    --color-card-subtle: #FAFAFC;
    --color-border: #E2E5EB;
    --color-border-subtle: #EEF0F4;

    /* Text Typography */
    --color-text-main: #111A24;           /* حبر داكن فاحم عالي الوضوح */
    --color-text-muted: #566474;          /* نص ثانوي رزين متزن */
    --color-text-subtle: #8996A5;         /* نصوص التلميحات والأكواد الهادئة */
    --color-text-inverse: #FFFFFF;

    /* ==========================================================================
       TYPOGRAPHY SYSTEM
       العناوين: Readex Pro (هندسي رزين ووقور)
       المتن والجداول: IBM Plex Sans Arabic (مقروئية عالية ودقة متناهية للأرقام)
       ========================================================================== */
    --font-display: 'Readex Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family: var(--font-body);

    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 0.95rem;   /* ~15.2px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.3rem;      /* 20.8px */
    --font-size-2xl: 1.6rem;     /* 25.6px */
    --font-size-3xl: 2rem;       /* 32px */

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;

    /* Radii — انحناءات منضبطة هندسية بلا مبالغة */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-full: 9999px;

    /* Elevation / Shadows — ظلال معمارية بالغة الخفة والهدوء بدون انحراف جانبي */
    --shadow-none: none;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Layout Geometry */
    --sidebar-width: 260px;
    --header-height: 64px;

    /* Transitions */
    --transition-fast: 140ms ease;
    --transition-base: 220ms ease;
}
