.gr-splash-cursor-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  vertical-align: middle; /* Align with text if needed */
}

/* Hide the default checkbox */
.gr-splash-cursor-toggle-switch .gr-splash-cursor-user-toggle-trigger {
  opacity: 0;
  width: 0;
  height: 0;
}

.gr-splash-cursor-toggle-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px; /* Make it rounded */
}

.gr-splash-cursor-toggle-label:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%; /* Make the slider knob circular */
}

.gr-splash-cursor-user-toggle-trigger:checked + .gr-splash-cursor-toggle-label {
  background-color: #2196F3; /* Bootstrap primary blue, or any active color */
}

.gr-splash-cursor-user-toggle-trigger:focus + .gr-splash-cursor-toggle-label {
  box-shadow: 0 0 1px #2196F3;
}

.gr-splash-cursor-user-toggle-trigger:checked + .gr-splash-cursor-toggle-label:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
