.input-switch {
  @apply relative inline-block w-[6.22rem] h-[2.362rem];
}

.input-switch input {
  @apply opacity-0 w-0 h-0;
}

.slider {
  @apply absolute cursor-pointer top-0 left-0 right-0 bottom-0 bg-[#642537] transition duration-200 rounded-[12px] border-2 border-[#aa2d42];
}

.input-switch .slider::before {
  @apply absolute cursor-pointer transition duration-200 content-[''] h-[1.8rem] w-[3.571rem] left-[1.5px] bottom-[1px] bg-[#e7515c] rounded-[10px];
}

.input-switch input:checked + .slider {
  @apply bg-[#0a7b7e] border-2 border-[#119699];
}

.input-switch input:checked + .slider::before {
  @apply bg-[#28e0a7];
}

.input-switch input:checked + .slider:before {
  @apply transform translate-x-8;
}
