﻿:root {
    /* ===== الهوية (مؤقتة، تُستبدل عند وصول الشعار والألوان) ===== */
    --color-primary: #1f4e5f;
    --color-primary-dark: #163845;
    --color-on-primary: #ffffff;
    --color-accent: #e0a030;
    --color-on-accent: #1d2a30;
    /* ===== ألوان عامة ===== */
    --color-ink: #1d2a30;
    --color-ink-soft: #4a5a62;
    --color-paper: #fbf9f4;
    --color-surface: #ffffff;
    --color-line: #ddd8cc;
    --color-focus: #2b5fa8;
    --color-success-bg: #e6f4ea;
    --color-success-ink: #1e5b32;
    --color-error-bg: #fdecea;
    --color-error-ink: #8a1f17;
    /* ===== ألوان المواد (داخل المنصة التعليمية فقط) ===== */
    --subject-math: #2b5fa8;
    --subject-science: #2a7a50;
    --subject-arabic: #8a5a12;
    --subject-english: #6b46c1;
    --subject-islamic: #0f6d66;
    --subject-social: #b34a14;
    /* ===== الخطوط ===== */
    --font-body: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", system-ui, sans-serif;
    --font-heading: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", system-ui, sans-serif;
    --text-sm: 0.875rem;
    --text-base: 1.0625rem;
    --text-lg: 1.25rem;
    --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
    /* ===== المسافات ===== */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2.5rem;
    --space-7: 4rem;
    /* ===== أخرى ===== */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --container-max: 72rem;
    --header-height: 4.25rem;
    /* ألوان المواد القابلة للاختيار من لوحة التحكم (كلها مناسبة للنص الأبيض) */
    --subject-blue: #2b5fa8;
    --subject-green: #2a7a50;
    --subject-brown: #8a5a12;
    --subject-purple: #6b46c1;
    --subject-teal: #0f6d66;
    --subject-orange: #b34a14;
    --subject-red: #b3261e;
    --subject-pink: #a8325e;
    --subject-indigo: #3f3fa8;
    --subject-slate: #475569;
}