:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.14), transparent 35%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.65) 1px, transparent 1px);
  background-size: 32px 32px;
}

.glass-card {
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72));
  box-shadow: 0 16px 50px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(14px);
}

.header-shell {
  position: relative;
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.34);
}

.header-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent 22%, transparent 78%, rgba(56, 189, 248, 0.08));
}

.section-shell {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding: 4rem 1rem;
}

.map-shell {
  min-height: 34rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

#alto-tiete-map {
  min-height: 34rem;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #0f172a;
  color: #e2e8f0;
}

.leaflet-control-zoom a {
  background-color: #0f172a;
  color: #e2e8f0;
  border-bottom-color: #1e293b;
}

.company-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-map-marker__dot {
  display: block;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  border: 2px solid rgba(240, 249, 255, 0.95);
  background: linear-gradient(180deg, #22d3ee, #0891b2);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.18),
    0 10px 18px rgba(8, 145, 178, 0.35);
}

.metric-card {
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.6), rgba(15, 23, 42, 0.9));
}

.input-shell {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.8);
  padding: 0.85rem 1rem;
  color: #f8fafc;
  outline: none;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.input-shell:focus {
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.pill-filter[aria-pressed="true"] {
  border-color: rgba(34, 211, 238, 0.9);
  background: rgba(6, 182, 212, 0.18);
  color: #cffafe;
}
