/**
 * turista-heatmap.css – kakac_trasa modul
 * Heatmapa navštívených miest na stránke účastníka.
 */

.turista-heatmap {
  width: 100%;
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  background: #eceae4;
}

/* ── Interaktívna legenda (chipy) ─────────────────────────── */
.turista-heatmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.turista-heatmap__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border: 1px solid #dcd8d0;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  line-height: 1.4;
  color: #6b675f;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease, border-color .15s ease,
              color .15s ease, box-shadow .15s ease;
}

.turista-heatmap__legend-item strong {
  color: #1a1a18;
  font-weight: 700;
}

.turista-heatmap__legend-item:hover,
.turista-heatmap__legend-item.is-active {
  background: #fdecea;
  border-color: #c62828;
  color: #1a1a18;
  box-shadow: 0 1px 6px rgba(198, 40, 40, 0.18);
}

.turista-heatmap__legend-item:hover strong,
.turista-heatmap__legend-item.is-active strong {
  color: #c62828;
}

/* Rozsvietený bod na mape – jemný "glow" cez SVG filter drop-shadow */
.turista-heatmap__marker {
  transition: all .15s ease;
}

@media (max-width: 768px) {
  .turista-heatmap { height: 320px; }
}
