/**
 * Kutby Design Tokens — Arabic / RTL / Tajawal
 */

@import "./fonts.css";

:root {
  /* Colors */
  --kutby-color-primary: #0f766e;
  --kutby-color-secondary: #134e4a;
  --kutby-color-accent: #f59e0b;
  --kutby-color-bg: #ffffff;
  --kutby-color-surface: #f8fafc;
  --kutby-color-card: #ffffff;
  --kutby-color-border: #e2e8f0;
  --kutby-color-text: #0f172a;
  --kutby-color-muted: #64748b;
  --kutby-color-success: #16a34a;
  --kutby-color-warning: #d97706;
  --kutby-color-danger: #dc2626;
  --kutby-color-link: #0f766e;
  --kutby-color-hover: #0d9488;

  /* Typography — Tajawal only */
  --kutby-font-family: "Tajawal", Tahoma, sans-serif;
  --kutby-font-size-body: 1rem;
  --kutby-font-size-sm: 0.875rem;
  --kutby-font-size-lg: 1.125rem;
  --kutby-font-size-xl: 1.25rem;
  --kutby-font-size-2xl: 1.5rem;
  --kutby-font-size-3xl: 1.875rem;
  --kutby-font-weight-normal: 400;
  --kutby-font-weight-medium: 500;
  --kutby-font-weight-semibold: 500;
  --kutby-font-weight-bold: 700;
  --kutby-line-height: 1.7;
  --kutby-line-height-tight: 1.35;
  --kutby-letter-spacing: 0;

  /* Spacing */
  --kutby-space-1: 0.25rem;
  --kutby-space-2: 0.5rem;
  --kutby-space-3: 0.75rem;
  --kutby-space-4: 1rem;
  --kutby-space-5: 1.5rem;
  --kutby-space-6: 2rem;
  --kutby-space-8: 3rem;
  --kutby-space-10: 4rem;

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

  /* Border */
  --kutby-border-width: 1px;

  /* Container */
  --kutby-container-width: 1200px;
  --kutby-site-width: 1400px;

  /* Shadow */
  --kutby-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --kutby-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --kutby-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);

  /* Transitions */
  --kutby-transition: 150ms ease;
  --kutby-transition-slow: 250ms ease;

  /* Opacity */
  --kutby-opacity-disabled: 0.5;
  --kutby-opacity-muted: 0.7;

  /* Z-index */
  --kutby-z-dropdown: 100;
  --kutby-z-sticky: 200;
  --kutby-z-modal: 1000;
  --kutby-z-toast: 1100;

  /* Overlay / inverse */
  --kutby-overlay: rgba(15, 23, 42, 0.45);
  --kutby-color-on-inverse: #ffffff;

  /* Notice surfaces */
  --kutby-notice-success-bg: #ecfdf5;
  --kutby-notice-success-fg: #065f46;
  --kutby-notice-success-bd: #a7f3d0;
  --kutby-notice-error-bg: #fef2f2;
  --kutby-notice-error-fg: #991b1b;
  --kutby-notice-error-bd: #fecaca;
  --kutby-notice-warning-bg: #fffbeb;
  --kutby-notice-warning-fg: #92400e;
  --kutby-notice-warning-bd: #fde68a;
  --kutby-notice-info-bg: #eff6ff;
  --kutby-notice-info-fg: #1e40af;
  --kutby-notice-info-bd: #bfdbfe;

  /* Focus */
  --kutby-focus-ring: 0 0 0 3px rgba(20, 184, 166, 0.35);

  /* Breakpoints (reference) */
  --kutby-bp-sm: 480px;
  --kutby-bp-md: 768px;
  --kutby-bp-lg: 1024px;
  --kutby-bp-xl: 1280px;
}
