body {
  margin: 0;
  padding: 10px 0;
  font-family: Arial, sans-serif;
  background-color: white;
}

#container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.content-wrapper {
  display: flex;
  margin-top: 80px;
  align-items: flex-end;
  padding-left: 110px;
}

.map-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

path {
  stroke: #fff;
  stroke-width: 0.5;
}

path:hover {
  stroke: #333;
  stroke-width: 1.5;
  cursor: pointer;
}

#controls {
  text-align: center;
  margin: 20px 0;
}

#slider {
  width: 400px;
  cursor: pointer;
}

#year {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  margin: 10px 0;
}

.tooltip {
  position: absolute;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 14px;
}

.legend {
  flex: 0 0 250px;
  margin-bottom: 220px;
}

.legend-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 30px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.legend-range {
  font-size: 14px;
  color: #333;
}
