input[type="range"] {
  height: 4px;
  -webkit-appearance: none;
  width: 250px;
}
input[type="range"]:focus {
  outline: 0;
}
input[type="range"]:not(.pitchSlider)::-webkit-slider-runnable-track {
  width: 10px;
  height: 11px;
  cursor: pointer;
  animation: 0.2s;
  box-shadow: 1px 1px 1px #000;
  background: #90c100;
  border-radius: 1px;
  border: 0 solid #010101;
}
input[type="range"]:not(.pitchSlider)::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000031;
  border: 1px solid #00001e;
  height: 26px;
  width: 26px;
  border-radius: 15px;
  background: #00f;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
}
input[type="range"]:not(.pitchSlider):focus::-webkit-slider-runnable-track {
  background: #90c100;
}
input[type="range"]:not(.pitchSlider)::-moz-range-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  animation: 0.2s;
  box-shadow: 1px 1px 1px #000;
  background: #90c100;
  border-radius: 1px;
  border: 0 solid #010101;
}
input[type="range"]:not(.pitchSlider)::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000031;
  border: 1px solid #00001e;
  height: 26px;
  width: 26px;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
}
input[type="range"]::-ms-track {
  width: 100%;
  height: 11px;
  cursor: pointer;
  animation: 0.2s;
  background: 0 0;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: #90c100;
  border: 0 solid #010101;
  border-radius: 2px;
  box-shadow: 1px 1px 1px #000;
}
input[type="range"]::-ms-fill-upper {
  background: #90c100;
  border: 0 solid #010101;
  border-radius: 2px;
  box-shadow: 1px 1px 1px #000;
}
input[type="range"]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 1px 1px 1px #000031;
  border: 1px solid #00001e;
  height: 26px;
  width: 26px;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #90c100;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #90c100;
}
#ClearButton {
  right: 100px;
  top: 132px;
  background-color: white;
  border: 2px solid red;
  border-radius: 15px;
  width: 200px;
  height: 40px;
  z-index: 100;
  visibility: hidden;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.clearPop {
  position: absolute;
  cursor: pointer;
}

/* Keyboard navigation focus state for toolbar buttons */
.toolbar-btn-focused {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

/* Dark mode focus - brighten the background */
body.dark .toolbar-btn-focused,
.dark-theme .toolbar-btn-focused {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Keyboard navigation focus state for dropdown menu items */
.dropdown-item-focused {
  background-color: rgba(0, 150, 136, 0.2) !important;
}

/* Keyboard navigation focus state for modal dialog buttons */
.modal-btn-focused {
  outline: 3px solid #009688 !important;
  outline-offset: 2px;
  box-shadow: 0 0 8px rgba(0, 150, 136, 0.5) !important;
}

html, body { overscroll-behavior-x: none; }