@import "tailwindcss";

@custom-variant dark (&:is(.dark *));

:root {
  --background: 0 0% 0%;
  --foreground: 0 0% 100%;
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 60%;
  --border: 0 0% 14%;
  --ring: 0 0% 30%;
  --radius: 0.625rem;
}

@theme inline {
  --color-background: hsl(var(--background));
  --color-foreground: hsl(var(--foreground));
  --color-muted: hsl(var(--muted));
  --color-muted-foreground: hsl(var(--muted-foreground));
  --color-border: hsl(var(--border));
  --color-ring: hsl(var(--ring));
  --radius: var(--radius);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", ui-monospace, monospace;
}

* {
  border-color: hsl(var(--border));
}

:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

html,
body {
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.maplibregl-ctrl-attrib {
  display: none !important;
}

.maplibregl-ctrl-logo {
  display: none !important;
}

[data-map-theme="dark"] {
  --ui-fg: 255 255 255;
  --ui-bg: 0 0 0;
}

[data-map-theme="light"] {
  --ui-fg: 0 0 0;
  --ui-bg: 255 255 255;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
