@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&family=Sora:wght@600;700&display=swap");
html:root {
  --background: 210 21% 95%;
  --foreground: 207 24% 16%;
  --card: 0 0% 100%;
  --card-foreground: 207 24% 16%;
  --popover: 0 0% 100%;
  --popover-foreground: 207 24% 16%;
  --primary: 18 66% 40%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 17% 91%;
  --secondary-foreground: 207 24% 16%;
  --muted: 210 17% 91%;
  --muted-foreground: 209 11% 38%;
  --accent: 22 58% 92%;
  --accent-foreground: 18 66% 40%;
  --destructive: 4 76% 40%;
  --destructive-foreground: 0 0% 100%;
  --border: 210 17% 91%;
  --input: 210 17% 91%;
  --ring: 18 66% 40%;
  --radius: 10px;
  --fmx-success: #1f7a4d;
  --fmx-warning: #8a5a00;
  --fmx-danger: #b42318;
  --fmx-success-soft: #e3f2ea;
  --fmx-warning-soft: #fcefd2;
  --fmx-danger-soft: #fde4e1;
}
html:root.dark {
  --background: 208 23% 14%;
  --foreground: 206 26% 95%;
  --card: 207 23% 18%;
  --card-foreground: 206 26% 95%;
  --popover: 207 23% 18%;
  --popover-foreground: 206 26% 95%;
  --primary: 19 65% 57%;
  --primary-foreground: 208 23% 14%;
  --secondary: 206 22% 22%;
  --secondary-foreground: 206 26% 95%;
  --muted: 206 22% 22%;
  --muted-foreground: 206 19% 68%;
  --accent: 20 26% 18%;
  --accent-foreground: 19 73% 64%;
  --destructive: 6 100% 78%;
  --destructive-foreground: 208 23% 14%;
  --border: 207 21% 25%;
  --input: 207 21% 25%;
  --ring: 19 65% 57%;
  --fmx-success: #6ee7a8;
  --fmx-warning: #f5c451;
  --fmx-danger: #ff9b8f;
  --fmx-success-soft: #12321f;
  --fmx-warning-soft: #3a2c0a;
  --fmx-danger-soft: #3d1512;
}
html body { font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
html h1, html h2, html h3 { font-family: "Sora", "IBM Plex Sans", system-ui, sans-serif; }
html .font-mono, html code { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
/* Gatus hard-codes Tailwind's palette for health: solid shades
   become our status colors, pale and deep ones their soft fills. */
html .bg-success, html .bg-green-400, html .bg-green-500, html .bg-green-600, html .bg-green-700 { background-color: var(--fmx-success); }
html .bg-red-400, html .bg-red-500, html .bg-red-600, html .bg-red-700 { background-color: var(--fmx-danger); }
html .bg-yellow-400, html .bg-yellow-500 { background-color: var(--fmx-warning); }
html .bg-green-50, html .bg-green-900 { background-color: var(--fmx-success-soft); }
html .bg-red-50, html .bg-red-100, html .bg-red-900, html .bg-red-950 { background-color: var(--fmx-danger-soft); }
html .bg-yellow-50, html .bg-yellow-900 { background-color: var(--fmx-warning-soft); }
html [class*="text-green-"] { color: var(--fmx-success); }
html [class*="text-red-"] { color: var(--fmx-danger); }
html [class*="text-yellow-"] { color: var(--fmx-warning); }
html .bg-red-400, html .bg-red-500, html .bg-red-600, html .bg-red-700 { color: hsl(var(--primary-foreground)); }
