/* Maps view (workspace)
   The Maps tab: a full-bleed world map with a density heatmap and zoom
   controls. The map itself is rendered by a mapping library at runtime; this
   block shows the panel, zoom controls and a heatmap-style backdrop. Reuses the
   workspace chrome (.dp-ws-*). */

.dp-map {
  position: relative;
  height: 30rem;
  overflow: hidden;
  background: var(--dp-blue-200);
}

/* A heatmap-style backdrop approximating domain density */
.dp-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 42%, rgba(239, 68, 68, 0.75) 0, rgba(239, 68, 68, 0) 12%),
    radial-gradient(circle at 30% 38%, rgba(250, 204, 21, 0.6) 0, rgba(250, 204, 21, 0) 9%),
    radial-gradient(circle at 52% 40%, rgba(239, 68, 68, 0.8) 0, rgba(239, 68, 68, 0) 16%),
    radial-gradient(circle at 58% 36%, rgba(45, 75, 255, 0.5) 0, rgba(45, 75, 255, 0) 10%),
    radial-gradient(circle at 70% 44%, rgba(239, 68, 68, 0.7) 0, rgba(239, 68, 68, 0) 13%),
    radial-gradient(circle at 47% 62%, rgba(239, 68, 68, 0.65) 0, rgba(239, 68, 68, 0) 9%),
    radial-gradient(circle at 82% 66%, rgba(250, 204, 21, 0.55) 0, rgba(250, 204, 21, 0) 8%),
    radial-gradient(circle at 40% 30%, rgba(34, 211, 238, 0.4) 0, rgba(34, 211, 238, 0) 8%);
  filter: blur(2px);
}

.dp-map-zoom {
  position: absolute;
  top: var(--dp-space-4);
  right: var(--dp-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--dp-space-2);
  z-index: 1;
}

.dp-map-zoom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius-full);
  background: var(--dp-surface);
  color: var(--dp-navy);
  cursor: pointer;
}

.dp-map-zoom svg { width: 1.1rem; height: 1.1rem; }

.dp-map-note {
  position: absolute;
  left: var(--dp-space-4);
  bottom: var(--dp-space-4);
  z-index: 1;
  font-size: var(--dp-text-xs);
  color: var(--dp-text-muted);
  background: rgba(255, 255, 255, 0.8);
  padding: 2px var(--dp-space-2);
  border-radius: var(--dp-radius-xs);
}
