.wake-lock-container {
  float: right;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 2px;
}

.wake-lock-label {
  font-size: 14px;
  color: MintCream;
}

.wake-lock-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.wake-lock-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

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

.wake-lock-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: MintCream;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .wake-lock-slider {
  background-color: SkyBlue;
}

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

.wake-lock-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wake-lock-switch:disabled .wake-lock-slider {
  cursor: not-allowed;
}