:root {
  --yellow-950: #ffe9b8;
  --white: #000000;
  --dark: #ffffff;
  --black: #ffffff;

  --zinc-50: #444444;
  --zinc-100: #555555;
  --zinc-200: #666666;
  --zinc-300: #737373;
  --zinc-400: #808080;
  --zinc-500: #888888;
  --zinc-600: #a3a3a3;
  --zinc-700: #cccccc;
  --zinc-800: #e2e2e2;
  --zinc-900: #eeeeee;
  --zinc-950: #ffffff;

  /* red */
  --red-50: #450a0a;
  --red-100: #7f1d1d;
  --red-200: #991b1b;
  --red-300: #b91c1c;
  --red-400: #dc2626;
  --red-500: #ef4444;
  --red-600: #f87171;
  --red-700: #fca5a5;
  --red-800: #fecaca;
  --red-900: #fee2e2;
  --red-950: #fef2f2;
  /* orange */
  --orange-50: #431407;
  --orange-100: #7c2d12;
  --orange-200: #9a3412;
  --orange-300: #c2410c;
  --orange-400: #ea580c;
  --orange-500: #f97316;
  --orange-600: #fb923c;
  --orange-700: #fdba74;
  --orange-800: #fed7aa;
  --orange-900: #ffedd5;
  --orange-950: #fff7ed;
  /* yellow */
  --yellow-50: #422006;
  --yellow-100: #713f12;
  --yellow-200: #854d0e;
  --yellow-300: #a16207;
  --yellow-400: #ca8a04;
  --yellow-500: #eab308;
  --yellow-600: #facc15;
  --yellow-700: #fde047;
  --yellow-800: #fef08a;
  --yellow-900: #fef9c3;
  --yellow-950: #fefce8;
  /* lime */
  --lime-50: #1a2e05;
  --lime-100: #365314;
  --lime-200: #3f6212;
  --lime-300: #4d7c0f;
  --lime-400: #65a30d;
  --lime-500: #84cc16;
  --lime-600: #a3e635;
  --lime-700: #bef264;
  --lime-800: #d9f99d;
  --lime-900: #ecfccb;
  --lime-950: #f7fee7;
  /* green */
  --green-50: #052e16;
  --green-100: #14532d;
  --green-200: #166534;
  --green-300: #15803d;
  --green-400: #16a34a;
  --green-500: #22c55e;
  --green-600: #4ade80;
  --green-700: #86efac;
  --green-800: #bbf7d0;
  --green-900: #dcfce7;
  --green-950: #f0fdf4;
  /* emerald */
  --emerald-50: #022c22;
  --emerald-100: #064e3b;
  --emerald-200: #065f46;
  --emerald-300: #047857;
  --emerald-400: #059669;
  --emerald-500: #10b981;
  --emerald-600: #34d399;
  --emerald-700: #6ee7b7;
  --emerald-800: #a7f3d0;
  --emerald-900: #d1fae5;
  --emerald-950: #ecfdf5;
  /* teal */
  --teal-50: #042f2e;
  --teal-100: #134e4a;
  --teal-200: #115e59;
  --teal-300: #0f766e;
  --teal-400: #0d9488;
  --teal-500: #14b8a6;
  --teal-600: #2dd4bf;
  --teal-700: #5eead4;
  --teal-800: #99f6e4;
  --teal-900: #ccfbf1;
  --teal-950: #f0fdfa;
  /* cyan */
  --cyan-50: #083344;
  --cyan-100: #164e63;
  --cyan-200: #155e75;
  --cyan-300: #0e7490;
  --cyan-400: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-600: #22d3ee;
  --cyan-700: #67e8f9;
  --cyan-800: #a5f3fc;
  --cyan-900: #cffafe;
  --cyan-950: #ecfeff;
  /* sky */
  --sky-50: #082f49;
  --sky-100: #0c4a6e;
  --sky-200: #075985;
  --sky-300: #0369a1;
  --sky-400: #0284c7;
  --sky-500: #0ea5e9;
  --sky-600: #38bdf8;
  --sky-700: #7dd3fc;
  --sky-800: #bae6fd;
  --sky-900: #e0f2fe;
  --sky-950: #f0f9ff;
  /* blue */
  --blue-50: #172554;
  --blue-100: #1e3a8a;
  --blue-200: #1e40af;
  --blue-300: #1d4ed8;
  --blue-400: #2563eb;
  --blue-500: #3b82f6;
  --blue-600: #60a5fa;
  --blue-700: #93c5fd;
  --blue-800: #bfdbfe;
  --blue-900: #dbeafe;
  --blue-950: #eff6ff;
  /* indigo */
  --indigo-50: #1e1b4b;
  --indigo-100: #312e81;
  --indigo-200: #3730a3;
  --indigo-300: #4338ca;
  --indigo-400: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-600: #818cf8;
  --indigo-700: #a5b4fc;
  --indigo-800: #c7d2fe;
  --indigo-900: #e0e7ff;
  --indigo-950: #eef2ff;
  /* violet */
  --violet-50: #2e1065;
  --violet-100: #4c1d95;
  --violet-200: #5b21b6;
  --violet-300: #6d28d9;
  --violet-400: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-600: #a78bfa;
  --violet-700: #c4b5fd;
  --violet-800: #ddd6fe;
  --violet-900: #ede9fe;
  --violet-950: #f5f3ff;
  /* purple */
  --purple-50: #3b0764;
  --purple-100: #581c87;
  --purple-200: #6b21a8;
  --purple-300: #7e22ce;
  --purple-400: #9333ea;
  --purple-500: #a855f7;
  --purple-600: #c084fc;
  --purple-700: #d8b4fe;
  --purple-800: #e9d5ff;
  --purple-900: #f3e8ff;
  --purple-950: #faf5ff;
  /* fuchsia */
  --fuchsia-50: #4a044e;
  --fuchsia-100: #701a75;
  --fuchsia-200: #86198f;
  --fuchsia-300: #a21caf;
  --fuchsia-400: #c026d3;
  --fuchsia-500: #d946ef;
  --fuchsia-600: #e879f9;
  --fuchsia-700: #f0abfc;
  --fuchsia-800: #f5d0fe;
  --fuchsia-900: #fae8ff;
  --fuchsia-950: #fdf4ff;
  /* pink */
  --pink-50: #500724;
  --pink-100: #831843;
  --pink-200: #9d174d;
  --pink-300: #be185d;
  --pink-400: #db2777;
  --pink-500: #ec4899;
  --pink-600: #f472b6;
  --pink-700: #f9a8d4;
  --pink-800: #fbcfe8;
  --pink-900: #fce7f3;
  --pink-950: #fdf2f8;
  /* rose */
  --rose-50: #4c0519;
  --rose-100: #881337;
  --rose-200: #9f1239;
  --rose-300: #be123c;
  --rose-400: #e11d48;
  --rose-500: #f43f5e;
  --rose-600: #fb7185;
  --rose-700: #fda4af;
  --rose-800: #fecdd3;
  --rose-900: #ffe4e6;
  --rose-950: #fff1f2;
  /* slate */
  --slate-50: #020617;
  --slate-100: #0f172a;
  --slate-200: #1e293b;
  --slate-300: #334155;
  --slate-400: #475569;
  --slate-500: #64748b;
  --slate-600: #94a3b8;
  --slate-700: #cbd5e1;
  --slate-800: #e2e8f0;
  --slate-900: #f1f5f9;
  --slate-950: #f8fafc;

}

.dark {
  --yellow-950: #4e493e;
  --white: #ffffff;
  --dark: #000000;
  --black: #000000;

  --zinc-950: #111;
  --zinc-900: #222;
  --zinc-800: #333;
  --zinc-700: #444;
  --zinc-600: #555;
  --zinc-500: #666;
  --zinc-400: #777;
  --zinc-300: #888;
  --zinc-200: #999;
  --zinc-100: #aaa;
  --zinc-50: #bbb;

  /* red */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;
  --red-950: #450a0a;
  /* orange */
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;
  --orange-950: #431407;
  /* yellow */
  --yellow-50: #fefce8;
  --yellow-100: #fef9c3;
  --yellow-200: #fef08a;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --yellow-600: #ca8a04;
  --yellow-700: #a16207;
  --yellow-800: #854d0e;
  --yellow-900: #713f12;
  --yellow-950: #422006;
  /* lime */
  --lime-50: #f7fee7;
  --lime-100: #ecfccb;
  --lime-200: #d9f99d;
  --lime-300: #bef264;
  --lime-400: #a3e635;
  --lime-500: #84cc16;
  --lime-600: #65a30d;
  --lime-700: #4d7c0f;
  --lime-800: #3f6212;
  --lime-900: #365314;
  --lime-950: #1a2e05;
  /* green */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;
  /* emerald */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  /* teal */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;
  /* cyan */
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-800: #155e75;
  --cyan-900: #164e63;
  --cyan-950: #083344;
  /* sky */
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  --sky-950: #082f49;
  /* blue */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #172554;
  /* indigo */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  --indigo-950: #1e1b4b;
  /* violet */
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-800: #5b21b6;
  --violet-900: #4c1d95;
  --violet-950: #2e1065;
  /* purple */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  --purple-950: #3b0764;
  /* fuchsia */
  --fuchsia-50: #fdf4ff;
  --fuchsia-100: #fae8ff;
  --fuchsia-200: #f5d0fe;
  --fuchsia-300: #f0abfc;
  --fuchsia-400: #e879f9;
  --fuchsia-500: #d946ef;
  --fuchsia-600: #c026d3;
  --fuchsia-700: #a21caf;
  --fuchsia-800: #86198f;
  --fuchsia-900: #701a75;
  --fuchsia-950: #4a044e;
  /* pink */
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-800: #9d174d;
  --pink-900: #831843;
  --pink-950: #500724;
  /* rose */
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --rose-800: #9f1239;
  --rose-900: #881337;
  --rose-950: #4c0519;
  /* slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
}

html.app-theme-dark {
  color-scheme: dark;
}
html.app-theme-light {
  color-scheme: light;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.875rem;
}

html.app-theme-light body {
  background-color: #f8fafc;
  color: #0f172a;
}

.featurebase-messenger-launcher-frame {
  zoom: 0.7;
}
#cf-turnstile {
  scale: 0.77;
}
/* Global Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-corner {
  background: #000000;
}
html.app-theme-light ::-webkit-scrollbar-track,
html.app-theme-light ::-webkit-scrollbar-corner {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}
html.app-theme-light ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}
html.app-theme-light ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}
[_echarts_instance_] {
  min-height: 50dvh;
}

button.bg-green-400 {
    color: var(--zinc-950);
}

/* React Data Grid theme overrides */
html.app-theme-dark .rdg {
  border: none;
  background-color: #000;
  color: #e5e7eb;
  --rdg-header-background-color: #1a1a1a;
  --rdg-header-draggable-background-color: #1a1a1a;
  --rdg-selection-color: #00d86f;
  --rdg-font-size: 13px;
  --rdg-row-height: 35px;
  --rdg-color: #e5e7eb;
  --rdg-border-color: #333;
  --rdg-background-color: #000;
}
html.app-theme-dark .rdg-cell {
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  background-color: #000;
  padding: 0;
}
html.app-theme-light .rdg {
  border: none;
  background-color: #fff;
  color: #0f172a;
  --rdg-header-background-color: #f8fafc;
  --rdg-header-draggable-background-color: #f8fafc;
  --rdg-selection-color: #16a34a;
  --rdg-font-size: 13px;
  --rdg-row-height: 35px;
  --rdg-color: #0f172a;
  --rdg-border-color: #e2e8f0;
  --rdg-background-color: #fff;
}
html.app-theme-light .rdg-dark {
  --rdg-header-background-color: #f8fafc;
  --rdg-header-draggable-background-color: #f8fafc;
  --rdg-selection-color: #16a34a;
  --rdg-color: #0f172a;
  --rdg-border-color: #e2e8f0;
  --rdg-background-color: #fff;
}
html.app-theme-light .rdg-cell {
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background-color: #fff;
  padding: 0;
}

/* Keep WebDataRocks usable in light mode without touching widget source imports. */
html.app-theme-light .wdr-ui,
html.app-theme-light .webdatarocks,
html.app-theme-light #wdr-container {
  filter: invert(1) hue-rotate(180deg);
}
.rdg-cell > *,
.rdg-cell:not(:has(> *)) {
  padding: 4px;
}
.mapboxgl-canvas {
  width: 100% !important;
  height: 100% !important;
}
html.app-theme-dark .rdg-header-row {
  background-color: #1a1a1a;
  font-weight: 600;
  color: #9ca3af;
}
html.app-theme-light .rdg-header-row {
  background-color: #f8fafc;
  font-weight: 600;
  color: #475569;
}
/* Enhanced Selection Style for Excel-like feel */
.rdg-cell-selected {
  border: 2px solid #00d86f !important;
  background-color: rgba(0, 216, 111, 0.1);
}
.rdg-cell-copied {
  background-color: rgba(0, 216, 111, 0.2);
}
button,
input,
optgroup,
select,
textarea,
a {
  font-size: 90% !important;
}
.lucide {
  width: 12px;
  height: 12px;
}
@keyframes calculating-bar {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(150%);
  }
  100% {
    transform: translateX(150%);
  }
}
