* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: white;
}

body {
  background-color: #000;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
}

.calibration-panel,
.dashboard-panel {
  background-color: #333;
  padding: 20px;
  border-radius: 8px;
  min-width: 300px;
  max-width: 400px;
}

.calibration-panel h2,
.dashboard-panel h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
}

.calibration-panel h2 {
  margin-bottom: 60px;
}

.calibration-explanations {
  margin-top: 30px;
}

.calibration-explanations ul {
  padding-left: 20px;
  margin: 0;
}

.calibration-explanations li {
  margin-bottom: 10px;
}

.color-slider {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0;
  width: 100%;
}

.color-slider label {
  margin-bottom: 5px;
  width: 100%;
}

.color-slider .slider-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.color-slider input[type="range"] {
  flex: 1;
  margin: 0 10px 0 0;
}

.color-slider .button-container {
  display: flex;
  justify-content: space-between;
}

.color-slider button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  margin-left: 5px;
  padding: 5px 0px;
  cursor: pointer;
  font-size: 1em;
  width: 30px;
}

.color-slider button:hover {
  background-color: #0056b3;
}

#game {
  background-color: #888;
}

.game-area {
  background-color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 10px;
}

.dashboard-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.current-score,
.best-scores {
  padding: 15px;
  border-radius: 6px;
  width: 100%;
}

.current-score {
  text-align: center;
}

.current-score span {
  font-size: 3em;
}

.best-scores {
  margin-top: auto;
}

.best-scores li {
  font-size: 1.3em;
  margin: 8px 0;
}

.best-scores ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.best-scores li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #555;
}

.best-scores li:last-child {
  border-bottom: none;
}

.best-scores li span {
  margin-left: 10px;
}
