/* Main container styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
}

.us-map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#us-map {
  width: 100%;
  height: auto;
  display: block;
}

#us-map path {
  stroke: #ffffff;
  stroke-width: 0.5;
  transition: fill 0.3s ease;
}

#us-map path:hover {
  cursor: pointer;
  stroke-width: 1;
  stroke: #333;
}

.date-display {
  position: absolute;
  right: 27%;
  bottom: 10%;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px 15px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Controls */
.options {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

button {
  padding: 8px 16px;
  background-color: #3E7075;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #305b5f;
}

.color-picker, .speed-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

label {
  font-weight: 500;
}

input[type=color] {
  border: none;
  border-radius: 4px;
  height: 30px;
  width: 50px;
  cursor: pointer;
}

input[type=range] {
  width: 120px;
}

@media (max-width: 768px) {
  .date-display {
    font-size: 1.5rem;
    right: 20%;
  }

  .options {
    flex-direction: column;
    gap: 15px;
  }
}