.uip-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  input:checked + .uip-slider {
    background-color: var(--uip-color-primary);
  }

  input:focus + .uip-slider {
    box-shadow: 0 0 1px #2196f3;
  }
  input:checked + .uip-slider:before {
    content: "done";
    font-family: "Material Symbols Outlined";
    font-size: 14px;
    line-height: 1.5;
    text-indent: 3px;
    color: var(--uip-color-primary);
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
  }
  .uip-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--uip-color-primary-wash);
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 6px;
    &:before {
      position: absolute;
      content: "close";
      font-family: "Material Symbols Outlined";
      font-size: 14px;
      line-height: 1.5;
      text-indent: 3px;
      color: #999;
      height: 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      width: 20px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      border-radius: 4px;
    }
  }
}
