.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
    vertical-align: middle;
    margin-right: 12px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #eee;
    transition: .4s;
    border-radius: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.switch input:checked + .slider {
    background-color: var(--color-slider-bg-checked);
}
.switch input:checked + .slider:before {
    transform: translateX(24px);
    background-color: #f39c12;
}

.volume-container {
    width: 220px;
    font-family: Arial, sans-serif;
  }

  .volume-value {
    margin-top: 6px;
    font-size: 14px;
  }

  input[type="range"] {
    width: 100%;
  }