.checkbox {
  display: block;
  height: 20px;
  width: 20px;

  & input[type=checkbox] {
    position: absolute;
    opacity: 0;

    appearance: none;
    -moz-appearance: none;

    &:checked + .checkbox__label {
      .checkbox__box {
        background-color: var(--info-color);
      }
    }
  }

  &__label {
    padding: 0;
  }

  &__box {
    display: block;
    position: relative;

    height: 100%;
    width: 100%;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
  }
}
