.tod-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tod-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.tod-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.tod-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray);
  transition: 0.4s;
  border-radius: 20px;
}

.tod-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.tod-toggle input:checked + .tod-toggle-slider {
  background-color: var(--color-darkest);
}

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

.tod-toggle-label {
  font-size: 12px;
  color: var(--color-darkest);
}
