/* ─── Map Panel ─── */
#map { width: 100%; height: calc(100% - 64px); }
.map-search {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1000;
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 0 14px; height: 38px;
  box-shadow: var(--shadow-card);
}
.map-search svg { width: 14px; height: 14px; stroke: var(--secondary); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.map-search input {
  border: none; background: none; outline: none;
  font-size: 13px; font-family: var(--font); color: var(--near-black); width: 100%;
}
.map-popup {
  position: absolute; z-index: 1000;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 18px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
  transform: translate(-50%, -100%);
  margin-top: -14px;
  pointer-events: none;
}
.map-popup::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%; transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--white);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}
.popup-loc { font-size: 12px; font-weight: 700; color: var(--near-black); }
.popup-reach { font-size: 11px; color: #791ADB; font-weight: 700; margin-top: 2px; letter-spacing: .3px; }

.radius-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.radius-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.radius-label { font-size: 11px; font-weight: 700; color: var(--secondary); letter-spacing: .5px; }
.radius-val { font-size: 11px; font-weight: 700; color: var(--rausch); }
.drag-hint { font-size: 10px; color: var(--disabled); text-align: center; margin-top: 4px; }

/* ─── Range Slider ─── */
input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px;
  border-radius: 2px;
  background: var(--border);
  outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--near-black);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--near-black);
  transition: box-shadow .15s;
}
input[type=range]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 1px var(--near-black), var(--shadow-hover);
}
