.mycred-toggle-switch {
  display: flex;
  align-items: center;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px; /* Decreased width */
  height: 20px; /* Decreased height */
  margin-right: 10px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px; 
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; 
  width: 16px; 
  left: 2px; 
  bottom: 2px; 
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #5f2ced;
}
input:checked + .slider:before {
  transform: translateX(18px); /* Adjusted for smaller width */
}
