/* tokens.css - Design system CSS custom properties
 *
 * All tokens prefixed --hc- to avoid --bs- namespace collision.
 * Import this file BEFORE base.css and components.css.
 */

:root {
    /* ── Colors: Cool-gray neutrals ─────────────────────────── */
    --hc-gray-50:  #f9fafb;
    --hc-gray-100: #f3f4f6;
    --hc-gray-200: #e5e7eb;
    --hc-gray-300: #d1d5db;
    --hc-gray-400: #9ca3af;
    --hc-gray-500: #6b7280;
    --hc-gray-600: #4b5563;
    --hc-gray-700: #374151;
    --hc-gray-800: #1f2937;
    --hc-gray-900: #111827;

    --hc-white:    #ffffff;

    /* ── Colors: Primary accent (blue) ──────────────────────── */
    --hc-primary-50:  #eff6ff;
    --hc-primary-100: #dbeafe;
    --hc-primary-500: #3b82f6;
    --hc-primary-600: #2563eb;
    --hc-primary-700: #1d4ed8;

    /* ── Colors: Secondary ──────────────────────────────────── */
    --hc-secondary-500: #6b7280;
    --hc-secondary-600: #4b5563;

    /* ── Colors: Semantic — Success (green) ─────────────────── */
    --hc-success-50:  #f0fdf4;
    --hc-success-100: #dcfce7;
    --hc-success-500: #22c55e;
    --hc-success-600: #16a34a;
    --hc-success-700: #15803d;

    /* ── Colors: Semantic — Warning (amber) ─────────────────── */
    --hc-warning-50:  #fffbeb;
    --hc-warning-100: #fef3c7;
    --hc-warning-500: #f59e0b;
    --hc-warning-600: #d97706;
    --hc-warning-700: #b45309;

    /* ── Colors: Semantic — Error (red) ─────────────────────── */
    --hc-error-50:  #fef2f2;
    --hc-error-100: #fee2e2;
    --hc-error-500: #ef4444;
    --hc-error-600: #dc2626;
    --hc-error-700: #b91c1c;

    /* ── Colors: Semantic — Info (blue) ─────────────────────── */
    --hc-info-50:  #eff6ff;
    --hc-info-100: #dbeafe;
    --hc-info-500: #3b82f6;
    --hc-info-600: #2563eb;
    --hc-info-700: #1d4ed8;

    /* ── Colors: Domain — Status (waiting/called/in-progress) ─ */
    --hc-status-waiting-bg:      #e0f2fe;
    --hc-status-waiting-text:    #0369a1;
    --hc-status-called-bg:       #dcfce7;
    --hc-status-called-text:     #15803d;
    --hc-status-in-progress-bg:  #fff7ed;
    --hc-status-in-progress-text:#c2410c;

    /* ── Colors: Domain — Alert banners ─────────────────────── */
    --hc-alert-warning-bg:       #fff3e0;
    --hc-alert-warning-border:   #fb923c;
    --hc-alert-caution-bg:       #fef9c3;
    --hc-alert-caution-border:   #facc15;
    --hc-alert-info-bg:          var(--hc-info-50);
    --hc-alert-info-border:      var(--hc-info-500);

    /* ── Colors: Domain — Flash messages ────────────────────── */
    --hc-flash-success-bg:       var(--hc-success-50);
    --hc-flash-success-text:     var(--hc-success-700);
    --hc-flash-success-border:   var(--hc-success-100);
    --hc-flash-error-bg:         var(--hc-error-50);
    --hc-flash-error-text:       var(--hc-error-700);
    --hc-flash-error-border:     var(--hc-error-100);
    --hc-flash-info-bg:          var(--hc-info-50);
    --hc-flash-info-text:        var(--hc-info-700);
    --hc-flash-info-border:      var(--hc-info-100);

    /* ── Colors: Domain — Verification box ──────────────────── */
    --hc-verification-bg:        var(--hc-success-50);
    --hc-verification-text:      var(--hc-success-700);
    --hc-verification-heading:   var(--hc-success-600);

    /* ── Typography ─────────────────────────────────────────── */
    --hc-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;

    /* Font sizes */
    --hc-text-xs:   0.75rem;   /* 12px */
    --hc-text-sm:   0.875rem;  /* 14px */
    --hc-text-base: 1rem;      /* 16px */
    --hc-text-lg:   1.125rem;  /* 18px */
    --hc-text-xl:   1.25rem;   /* 20px */
    --hc-text-2xl:  1.5rem;    /* 24px */
    --hc-text-3xl:  1.875rem;  /* 30px */

    /* Font weights */
    --hc-font-normal:   400;
    --hc-font-medium:   500;
    --hc-font-semibold: 600;
    --hc-font-bold:     700;

    /* Line heights */
    --hc-leading-tight:   1.25;
    --hc-leading-normal:  1.5;
    --hc-leading-relaxed: 1.625;

    /* Letter spacing */
    --hc-tracking-tight:  -0.025em;
    --hc-tracking-normal:  0;
    --hc-tracking-wide:    0.05em;

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

    /* ── Shadows ─────────────────────────────────────────────── */
    --hc-shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.05);
    --hc-shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --hc-shadow-md:  0 4px 6px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --hc-shadow-lg:  0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    --hc-shadow-focus: 0 0 0 3px rgba(59, 130, 246, 0.25);

    /* ── Border radius ──────────────────────────────────────── */
    --hc-radius-sm:   4px;
    --hc-radius-md:   6px;
    --hc-radius-lg:   8px;
    --hc-radius-xl:  12px;
    --hc-radius-full: 9999px;

    /* ── Transitions ────────────────────────────────────────── */
    --hc-transition-fast: 150ms ease;
    --hc-transition-base: 200ms ease;
    --hc-transition-slow: 300ms ease;

    /* ── Layout widths ──────────────────────────────────────── */
    --hc-container-max:      1200px;
    --hc-auth-card-width:     500px;
    --hc-auth-card-narrow:    400px;
    --hc-check-in-card-width: 600px;
    --hc-data-table-narrow:   600px;
    --hc-landing-features:    600px;
}
