// TODO: Rewrite according to guidelines
.plugin_card :global {

  .switch__label {
    position: relative;
    display: inline-block;
    width: 50px;
  }
  .switch__content {
    position: relative;
    display: block;
    height: 31px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 30px;
  }
  .switch__content:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    content: '';
    background-color: #fff;
    border: 1.5px solid #E5E5EA;
    border-radius: 30px;
  }
  .switch__content:after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    content: '';
    background-color: transparent;
    border-radius: 30px;
    transition: all .5s;
  }
  .switch__input {
    display: none;
  }

  .switch__circle {
    position: absolute;
    top: 2px;
    left: 2px;
    display: block;
    width: 27px;
    height: 27px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 6px #999;
    transition: all .5s;
  }
  .switch__input:checked ~ .switch__circle {
    left: 21px;
  }

  .switch__input:checked ~ .switch__content:after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0078D7;
  }
}
