/* styles/map.css */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f9f9f9;
  color: #333;
}
h2 {
  margin-top: 0;
  color: #222;
}
#map {
  width: 100%;
  height: 800px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.legend {
  margin-top: 20px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.legend h3 {
  margin-top: 0;
}
.legend-note {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

/* Градиентная шкала с кружками */
.gradient-scale {
  position: relative;
  height: 28px;
  background: linear-gradient(to right, #00E400, #FF0000);
  border-radius: 14px;
  margin: 8px 0 12px;
  overflow: visible;
}

.scale-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.min-label {
  left: -4px;
}

.max-label {
  right: -4px;
}