.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4a4a5e;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #00ffff;
}

input:focus + .slider {
  box-shadow: 0 0 1px #00ffff;
}

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

.popupButtons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.cancelButton {
  padding: 8px 16px;
  background-color: #4a4a5e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirmButton {
  padding: 8px 16px;
  background-color: #00ffff;
  color: #2a2a3c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirmButton:disabled {
  background-color: #4a4a5e;
  cursor: not-allowed;
}
