/* Buildora design tokens.
   Sizes, weights, colors, and spacing used by <x-ds.*> components.
   Existing names keep their current values so current screens do not shift. */

:root {
    --font-sans: "Bahij_TheSansArabic", Tahoma, Arial, sans-serif;

    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-pink: #f1f5f9;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;

    --text: #1f2937;
    --text-2: #334155;
    --slate: #475569;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --mauve: #8d7d91;
    --white: #fff;
    --on-dark-muted: rgba(226, 232, 240, .7);

    /* Identity: logo gold + silver (no teal/green chrome). */
    --primary: #a68249;
    --primary-2: #b8955c;
    --primary-3: #c4a35e;
    --primary-soft: #f6f1e6;
    --success: #28a169;
    --success-soft: #e8f7ef;
    --warning: #ce8d22;
    --warning-soft: #fff3de;
    --danger: #d94f72;
    --danger-soft: #fdeaf0;
    --info: #2d78ba;
    --purple: #7654a8;
    --blue: #60758a;
    --blue-soft: #eef2f6;

    --gold: #a68249;
    --gold-deep: #8f6e3a;
    --gold-soft: #f6f1e6;
    --silver: #a6a8ab;
    --teal-deep: #8f6e3a;
    --teal-soft: #f6f1e6;

    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .055);
    --shadow-md: 0 14px 36px rgba(15, 23, 42, .075);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
    --radius-sm: 15px;
    --radius-md: 20px;
    --radius-lg: 24px;

    --fs-xs: 10px;
    --fs-sm: 11px;
    --fs-md: 12px;
    --fs-base: 13px;
    --fs-lg: 14px;
    --fs-xl: 16px;
    --fs-2xl: 18px;
    --fs-3xl: 20px;
    --fs-4xl: 24px;
    --fs-5xl: 28px;
    --fs-display: clamp(24px, 2.5vw, 32px);
    --fs-hero: clamp(32px, 4vw, 48px);

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --lh-tight: 1.2;
    --lh-title: 1.35;
    --lh-body: 1.5;

    --space-0: 0;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;

    --brand: #a68249;
    --brand-soft: #f6f1e6;
    /* RGB triplet of --brand for rgba() tints (gold by default; the Fawj shell overrides it). */
    --brand-rgb: 166, 130, 73;
    --ink: #161616;
    --gray-25: #fcfcfd;
    --gray-50: #f9fafb;
    --gray-100: #f2f4f7;
    --gray-200: #eaecf0;
    --gray-300: #d2d6db;
    --gray-400: #98a2b3;
    --gray-500: #667085;
    --gray-600: #475467;
    --gray-700: #344054;
    --gray-900: #101828;

    --radius-control: 6px;
    --radius-card: 8px;
    --shadow-card: 0 1px 2px rgba(16, 24, 40, .05);

    /* Product radius: controls 6 · cards/surfaces 8 · pills 999 · menus 0 · avatars 50%.
       --radius-sm/md/lg remain legacy compat only. */

    /* Form controls (inputs, selects, triggers) — dashboard default.
       Focus stays gray (never --primary). */
    --field-select-height: 40px;
    --field-select-radius: var(--radius-control);
    --field-select-font-size: var(--fs-lg);
    --field-select-border: var(--gray-300);
    --field-select-border-hover: var(--gray-400);
    --field-select-border-focus: var(--gray-400);
    --field-select-ring: rgba(100, 116, 139, 0.12);
    --field-select-panel-radius: var(--radius-control);

    font-family: var(--font-sans);
}

html,
body,
button,
input,
textarea,
select {
    font-family: var(--font-sans);
}
