/* begin checkbox */
.checkbox {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  color: inherit;
  cursor: pointer;
}
.checkbox__text {
  display: inline-flex;
  color: white;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
}
.checkbox__text a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.checkbox__text a:hover {
  color: currentColor;
  text-decoration: none;
}
.checkbox__text::before {
  display: inline-flex;
  align-self: flex-start;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  border: 1px solid #fff;
  border-radius: 4px;
  transition: 0.4s background-color, 0.4s border-color;
  content: "";
}
.checkbox__input {
  position: absolute;
  z-index: -9999;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
}
.checkbox__input:checked ~ .checkbox__text::before {
  background-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='8' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.44522 0L4.31206 5.24899L1.37467 2.8924L0 4.4031L3.70816 7.37985L4.48688 8L5.17289 7.2955L11 1.34202L9.44522 0Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  border-color: #000;
}
.checkbox__input:focus ~ .checkbox__text::before {
  outline: 1px dotted red;
}
/* end checkbox */