.vertical-slider-container {
  height: 140px; /* Define the height of the slider area */
  width: 20px;
  display: flex;
  justify-content: center;
  padding: 1px 0;
  cursor: pointer; /* Makes the container clickable */
}

.horizontal-slider-container {
  height: 20px; /* Define the height of the slider area */
  width: 140px;
  display: flex;
  align-items: center;
  padding: 0 1px;
  cursor: pointer; /* Makes the container clickable */
}

.slider-track {
  width: 8px;
  height: 100%;
  background-color: #ddd;
  position: relative;
  border-radius: 4px;
}

.slider-fill {
  position: absolute;
  bottom: 0; /* Fill starts from the bottom */
  width: 100%;
  background-color: #8e9090;
  /* Height is controlled by JavaScript/React */
}

.slider-fill.horizontal {
  bottom: auto;
  left: 0; /* Fill starts from the left */
  height: 100%;
  width: auto; /* Width controlled by JavaScript/React */
}

.slider-thumb {
  position: absolute;
  bottom: 0; /* Thumb starts at the bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background-color: #8e9090;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease; /* Optional: smooth movement */
}

.slider-thumb.horizontal {
  bottom: 50%;
  left: 0; /* Thumb starts at the left */
  transform: translateY(-50%);
}

.slider-thumb.dragging {
    cursor: grabbing;
}

#slider-value {
  margin-top: 2px;

  text-align: center;
}
