/* General Page Styles */
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #f4e1c1;
  color: #3d1d00;
}

/* Stats Bar */
#stats-container {
  height: 7vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4d9;
  border-bottom: 2px solid #bb3e03;
}

#stats {
  font-size: 1em;
  font-weight: bold;
  color: #3d1d00;
}

/* Slider Container */
#slider-container {
  height: 8vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: #faf9f4;
  border-bottom: 2px solid #bb3e03;
  font-size: 1em;
  padding: 0 10px;
}

#yearSlider {
  width: 60%;
}

#yearLabel {
  margin-left: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #962d00;
}

#startYear {
  margin-right: 10px;
  font-size: 1em;
  font-weight: bold;
  width: 50px;
  text-align: right;
  color: #3d1d00;
}

/* Buttons */
#playRouteBtn,
#randomConcertBtn {
  margin-left: 10px;
  padding: 8px 16px;
  font-size: 1em;
  cursor: pointer;
  background-color: #bb3e03;
  border: none;
  border-radius: 6px;
  color: #fff4d9;
  font-weight: bold;
  transition: background-color 0.2s;
}

#playRouteBtn:hover,
#randomConcertBtn:hover {
  background-color: #962d00;
}

/* Map Container */
#map {
  height: 85vh;
  width: 100%;
  z-index: 0;
  border-top: 2px solid #bb3e03;
}

/* Setlist Panel */
#setlist-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #fff4d9;
  border-left: 2px solid #bb3e03;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: 1em;
  overflow-y: auto;
  display: none;
}

#setlist-panel.open {
  transform: translateX(0%);
  display: block;
}

#close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #bb3e03;
  border: none;
  border-radius: 4px;
  font-size: 1.2em;
  cursor: pointer;
  color: #fff4d9;
  padding: 4px 8px;
}

#close-panel:hover {
  background-color: #962d00;
}

#setlist-content {
  padding: 15px;
  font-size: 1em;
  line-height: 1.5;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  left: -9999px;
}

/* Responsive Design */
@media (max-width: 600px) {
  #playRouteBtn,
  #randomConcertBtn {
    padding: 10px 16px;
    font-size: 1em;
  }

  #close-panel {
    font-size: 1.4em;
    padding: 4px 8px;
  }

  #yearSlider {
    width: 70%;
  }

  #yearLabel,
  #startYear {
    font-size: 1em;
  }

  #slider-container {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  #startYear {
    text-align: center;
    margin: 5px 0;
  }

  #map {
    height: 75vh;
  }

  #setlist-panel {
    width: 90%;
  }
}
