.checkbox-input {
  display: none;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  font-size: 14px;

  &::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    flex-grow: 0;
    background-color: transparent;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: 50%;
    border: 2px solid var(--primary);
    border-radius: 3px;
  }

  &.active::before {
    background-color: var(--primary);
    background-image: url(/chats/done.svg) !important;
    border-radius: 3px;
  }

  &.active > .checkbox-content {
    display: inline-block;
  }
}
