/* Settings row */
.setting-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

/* Label text */
.setting-label {
  color: var(--my-text-color);
  font-size: 1rem;
}

/* ----- THE SWITCH ----- */
.switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 46px;
}

/* Hide the checkbox */
.switch input {
  height: 0;
  opacity: 0;
  width: 0;
}

/* Slider track */
.slider {
  background-color: #ccc;
  border-radius: 34px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color 0.25s ease;
}

/* Slider circle */
.slider:before {
  background-color: white;
  border-radius: 50%;
  bottom: 3px;
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  transition: transform 0.25s ease;
  width: 20px;
}

/* Checked state */
input:checked + .slider {
  background-color: var(--my-accent1);
}

input:checked + .slider:before {
  transform: translateX(20px);
}
