.chatbot-toggle {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
  &--slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #979dc6;
    transition: 0.4s;
    border-radius: 4px;
    &:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 3px;
      bottom: 3px;
      background-color: #fff;
      transition: 0.3s;
      border-radius: 3px;
      box-shadow: 0 4px 8px 0 rgba(84, 95, 111, 0.16), 0 0 2px 0 rgba(37, 45, 91, 0.04);
    }
  }
  &--input {
    opacity: 0;
    width: 0;
    height: 0;
    &:checked {
      & + .chatbot-toggle--slider {
        background-color: #0075e3;
        &:before {
          transform: translateX(18px);
        }
      }
    }
  }
}
