body {
  margin: 0;
  font-family: sans-serif;
  background-color: #eaf8ff;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  display: flex;
}

.controls {
  width: 25%;
  padding: 20px;
  background-color: #a6c8ff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  text-align: center;
}

input[type="number"],
select,
button {
  padding: 5px;
  border-radius: 5px;
  border: none;
}

button {
  background-color: #0b1b3f;
  color: white;
  cursor: pointer;
  font-size: 16px;
  padding: 10px;
}

.bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100vh;
  width: 75%;
  padding: 10px;
  box-sizing: border-box;
  transition: background-color 0.3s;
}

.bar {
  margin: 2px;
  background-color: #102541;
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: white;
  font-size: 12px;
  border-radius: 4px;
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dark Mode */
body.dark {
  background-color: #1e1e2f;
  color: white;
}

body.dark .controls {
  background-color: #2c2c3e;
}

body.dark .bar {
  background-color: #c2e7ff;
  color: #000;
}
