/*
 * TOLA GO Design Tokens — canonical web design-system variables.
 * Tokens map 1:1 to the Figma "TG" semantic variables (file TQqUSzx9d4HaEVQ1RUtPUv).
 * Brand primary: #FE5901. Arabic-first, Cairo typeface, light theme.
 * Dark theme tokens: NOT_CONFIGURED.
 */

:root {
    --tg-font-family: 'Cairo', 'Segoe UI', Tahoma, system-ui, -apple-system, sans-serif;

    /* Type scale */
    --tg-type-display-size: 40px;
    --tg-type-display-lh: 56px;
    --tg-type-h1-size: 32px;
    --tg-type-h1-lh: 44px;
    --tg-type-h2-size: 26px;
    --tg-type-h2-lh: 36px;
    --tg-type-h3-size: 22px;
    --tg-type-h3-lh: 32px;
    --tg-type-body-lg-size: 17px;
    --tg-type-body-lg-lh: 28px;
    --tg-type-body-size: 15px;
    --tg-type-body-lh: 24px;
    --tg-type-body-sm-size: 13px;
    --tg-type-body-sm-lh: 20px;
    --tg-type-label-size: 13px;
    --tg-type-label-lh: 20px;
    --tg-type-caption-size: 12px;
    --tg-type-caption-lh: 18px;
    --tg-type-button-size: 16px;
    --tg-type-button-lh: 24px;
    --tg-type-button-lg-size: 18px;
    --tg-type-button-lg-lh: 24px;
    --tg-type-numeric-lg-size: 28px;
    --tg-type-numeric-lg-lh: 36px;
    --tg-type-numeric-xl-size: 34px;
    --tg-type-numeric-xl-lh: 44px;

    /* Spacing */
    --tg-space-0: 0;
    --tg-space-2: 2px;
    --tg-space-4: 4px;
    --tg-space-8: 8px;
    --tg-space-10: 10px;
    --tg-space-12: 12px;
    --tg-space-16: 16px;
    --tg-space-20: 20px;
    --tg-space-24: 24px;
    --tg-space-32: 32px;
    --tg-space-40: 40px;
    --tg-space-48: 48px;
    --tg-space-64: 64px;
    --tg-space-80: 80px;

    /* Radius */
    --tg-radius-sm: 8px;
    --tg-radius-md: 12px;
    --tg-radius-lg: 16px;
    --tg-radius-xl: 20px;
    --tg-radius-full: 999px;

    /* Colors — brand */
    --tg-color-primary-default: #fe5901;
    --tg-color-primary-hover: #e54e00;
    --tg-color-primary-text: #c24100;
    --tg-color-primary-on: #ffffff;
    --tg-color-primary-on-container: #9a3505;
    --tg-color-primary-soft: #fff4ed;
    --tg-color-primary-subtle: #ffe6d6;
    --tg-color-primary-glow: rgba(254, 89, 1, 0.16);
    --tg-color-primary-border: #fe5901;

    /* Colors — text / icon */
    --tg-color-text-primary: #15191c;
    --tg-color-text-secondary: #565e68;
    --tg-color-text-muted: #67707a;
    --tg-color-text-on-brand-ink: #ffffff;
    --tg-color-icon-default: #272c32;
    --tg-color-icon-muted: #67707a;

    /* Colors — surfaces & borders */
    --tg-color-bg-canvas: #f5f6f7;
    --tg-color-bg-surface: #ffffff;
    --tg-color-bg-surface-sunken: #eceef0;
    --tg-color-bg-field: #f5f6f7;
    --tg-color-bg-brand-ink: #15191c;
    --tg-color-border-default: #dde0e4;
    --tg-color-border-subtle: #eceef0;
    --tg-color-border-focus: #fe5901;

    /* Colors — feedback */
    --tg-color-success-fg: #0b7a3b;
    --tg-color-success-bg: #e8f7ee;
    --tg-color-info-fg: #1b5fcc;
    --tg-color-info-bg: #eaf2ff;
    --tg-color-warning-fg: #8a5a00;
    --tg-color-warning-bg: #fff6db;
    --tg-color-error-fg: #c21f24;
    --tg-color-error-bg: #fdecec;
    --tg-color-danger-default: #e5383b;

    --tg-shadow-card: 0 1px 2px rgba(21, 25, 28, 0.04);
    --tg-shadow-modal: 0 24px 64px rgba(21, 25, 28, 0.18);
}
