/* ===========================================
   Unidy SDK Demo — Design Tokens
   Edit values here to re-theme the whole demo.
   =========================================== */
:root {
  /* Brand Colors */
  --color-primary: #016536; /* Unidy Blue */
  --color-primary-dark: #154734;
  --color-primary-light: #4d9970;
  --color-primary-soft: rgba(1, 101, 54, 0.08);

  /* Accent (CTAs and important actions) */
  --color-accent: #016536;
  --color-accent-hover: #154734;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-black: #000000;
  --color-dark: #1a1a1a;
  --color-dark-lighter: #2d2d2d;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #e0e0e0;
  --color-border-dark: #cccccc;
  --color-background: #ffffff;
  --color-background-light: #f5f5f5;
  --color-background-muted: #eeeeee;

  /* Semantic */
  --color-danger: #dc2626;
  --color-danger-hover: #b91c1c;
  --color-success-bg: #dcfce7;
  --color-success-border: #86efac;
  --color-success-text: #166534;
  --color-error-bg: #fef2f2;
  --color-error-border: #fecaca;
  --color-error-text: #991b1b;
  --color-warning-bg: #fef3c7;
  --color-warning-border: #fcd34d;
  --color-warning-text: #92400e;

  /* Code panel ("Show integration" blocks) */
  --color-code-bg: #101828;

  /* Typography */
  --font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-family-heading: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-family-mono: ui-monospace, "Fira Code", Monaco, "Courier New", monospace;

  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 1rem;
  --header-height: 64px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 1.5rem;
    --header-height: 72px;
  }
}
