input[type="checkbox"] {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

input[type="checkbox"] {
  &:checked+.custom-checkbox {
    border-color: #231F20;

    &::before {
      opacity: 1;
    }

    &::after {
      opacity: 0 !important;
    }
  }
}

.custom-checkbox {
  background-color: transparent;
  border: 2px solid #231F20;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease-in-out;
  width: 30px;
  min-width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 4px;
  cursor: pointer;

  &::before {
    @include flexbox-centered;
    position: absolute;
    content: url("data:image/svg+xml,%3csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 4.5L5.5 9L13.5 1' stroke='white' stroke-width='2'/%3e%3c/svg%3e");
    opacity: 0;
    background-color: #231F20;
    width: 100%;
    height: 100%;
    padding-top: 1.5px;
  }
}

.wpcf7-list-item {
  line-height: normal;

  label {
    display: flex;
    align-items: center;
  }
}

.wpcf7-acceptance {
  display: flex;
  align-items: center;
  margin: 10px 0 16px 0;

  a {
    color: #323232;
    text-decoration: underline;
  }

  .wpcf7-list-item {
    margin: 0;
    line-height: 20px;
  }

  // Telas até SM
  @include media($xs-max) {
    .font20 {
      font-size: 16px;
    }
  }
}