/* Design tokens for the F2D Partner Portal.
   Single source of truth for color, spacing, type and elevation
   so every screen reads as one product, not a stitched set of pages.
   Light theme only, by design - no dark mode branch. */

:root {
    /* Brand - blue accent on a light, airy surface */
    --brand-blue-800: #1d4ed8;
    --brand-blue-700: #2054d6;
    --brand-blue-600: #2563eb;
    --brand-blue-500: #3b82f6;
    --brand-blue-100: #dbeafe;
    --brand-blue-50:  #eff4ff;
    --ink-900: #0f172a;

    /* Neutrals */
    --gray-950: #0d1117;
    --gray-900: #14181f;
    --gray-800: #1e242e;
    --gray-700: #2b3340;
    --gray-600: #414c5c;
    --gray-500: #5c6879;
    --gray-400: #8794a3;
    --gray-300: #b3bdc9;
    --gray-200: #d7dde4;
    --gray-150: #e6eaef;
    --gray-100: #eff2f5;
    --gray-50:  #f6f8fa;
    --white: #ffffff;

    /* Semantic */
    --color-success: #15803d;
    --color-success-bg: #dcfce7;
    --color-warning: #b45309;
    --color-warning-bg: #fef3c7;
    --color-danger: #b91c1c;
    --color-danger-bg: #fee2e2;
    --color-info: #1d4ed8;
    --color-info-bg: #dbeafe;

    --bg-app: #f4f6f9;
    --bg-surface: var(--white);
    --bg-surface-sunken: var(--gray-100);

    --text-primary: var(--ink-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --text-link: var(--brand-blue-600);

    --border-subtle: var(--gray-150);
    --border-default: var(--gray-200);
    --border-strong: var(--gray-300);

    --accent: #0d9488;
    --accent-strong: #0f766e;
    --brand: var(--brand-blue-600);
    --brand-strong: var(--brand-blue-700);

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 999px;

    /* Elevation - layered shadows for real depth, not a single flat blur */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.03), 0 8px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 4px 8px rgba(15, 23, 42, 0.04), 0 16px 36px rgba(15, 23, 42, 0.09);
    --shadow-xl: 0 8px 16px rgba(15, 23, 42, 0.05), 0 28px 60px rgba(15, 23, 42, 0.14);
    --shadow-inset: inset 0 0 0 1px rgba(15, 23, 42, 0.04);

    /* Type */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Consolas, monospace;

    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 14.5px;
    --text-md: 16px;
    --text-lg: 19px;
    --text-xl: 23px;
    --text-2xl: 28px;
    --text-3xl: 34px;

    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;

    --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);

    --topbar-height: 60px;

    color-scheme: light;
}
