body,
#sidebar {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 400;
}
button,
input,
select,
textarea {
  font: inherit;
}
#sidebar h2,
#sidebar h3 {
  font-weight: 600;
}
strong,
b {
  font-weight: 700;
}
a,
a:visited,
a:active {
  color: #fff;
  text-decoration: underline;
}
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: 310px;
  height: 100%;
  background: #222;
  color: #fff;
  padding: 20px 10px 10px 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}
a:hover {
  color: #eee;
}
#sidebar.open {
  transform: translateX(0);
}
#sidebar-toggle {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  background: #444;
  color: #fff;
  border: none;
  padding: 8px 0 8px 2px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  width: 32px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  transition: left 0.3s;
}
/* Removed rule that moves the toggle button when sidebar is open */
#sidebar h2 {
  margin-top: 0;
  font-size: 1.2em;
}
#sidebar h3 {
  font-size: 1em;
}
#sidebar p,
#sidebar li {
  font-size: 0.85em;
  line-height: 1.45;
}
#sidebar label {
  display: block;
  margin: 18px 0 6px;
  font-weight: 600;
}
#disk-list {
  box-sizing: border-box;
  width: 100%;
  min-height: 110px;
  background: #333;
  color: #fff;
  border: 1px solid #777;
  border-radius: 4px;
  padding: 4px;
}
.disk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}
.disk-actions button {
  padding: 8px 6px;
  border: 0;
  border-radius: 4px;
  background: #444;
  color: #fff;
  cursor: pointer;
}
#disk-select {
  grid-column: span 2;
  background: #245b87;
}
.disk-actions button:disabled {
  opacity: 0.48;
  cursor: default;
}
#audio-enable {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: #245b87;
  color: #fff;
  cursor: pointer;
}
#audio-enable:disabled {
  opacity: 0.65;
  cursor: default;
}
#disk-status {
  min-height: 2.8em;
  overflow-wrap: anywhere;
}
#disk-status[data-error="true"] {
  color: #ffb6a9;
}
#sidebar ul {
  padding-left: 18px;
}
