/* Phase 10: visited districts map page */

.map-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.map-stats__figure {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  color: var(--color-korat-orange-dark);
}

.map-stats__label {
  font-size: 13.5px;
  color: var(--color-charcoal-soft);
}

.map-progress {
  flex: 1;
  min-width: 200px;
  height: 10px;
  background: var(--color-light-gray);
  border-radius: 999px;
  overflow: hidden;
}

.map-progress__fill {
  height: 100%;
  background: var(--color-korat-orange);
  border-radius: 999px;
}

.map-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--color-charcoal-soft);
}

.map-legend__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.map-legend__dot--visited {
  background: var(--color-korat-orange);
}

.map-legend__dot--unvisited {
  background: #9c9488;
}

#district-map {
  width: 100%;
  height: 560px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 13.5px;
}

.leaflet-popup-content a {
  color: var(--color-korat-orange);
  font-weight: 600;
}

.map-note {
  font-size: 12px;
  color: var(--color-charcoal-soft);
  margin-top: 10px;
  text-align: center;
}
