.mfo_checkbox_fieldset {
  margin-bottom: 10px;
}

.mfo_checkbox_fieldset .error_message {
  color: #EC402E;
  font-weight: 500;
  font-size: 14px;
}

.mfo_checkbox_wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  align-items: center;
  padding-left: 29px;
  color: rgba(23, 23, 26, 0.8);
  margin-bottom: 4px;
}

.mfo_checkbox_wrapper.disabled {
  pointer-events: none;
}

.mfo_checkbox_wrapper.disabled:hover .checkmark {
  opacity: 1;
}

.mfo_checkbox_wrapper span {
  line-height: 21px;
}

.mfo_checkbox_wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.mfo_checkbox_wrapper .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  background: #FFFFFF;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.15), inset 0px 0px 2px rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

/* .mfo_checkbox_wrapper:hover input ~ .checkmark {
  background-color: var( --colorOrange);
  opacity: 0.5;
} */

.mfo_checkbox_wrapper input:checked ~ .checkmark {
  background: linear-gradient(180deg, #FFBA0D 0%, #FF6700 100%);
  border: 0.5px solid #FFBA0D;
}

.mfo_checkbox_wrapper:hover input:checked ~ .checkmark {
  opacity: 1;
}

.mfo_checkbox_wrapper .checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.mfo_checkbox_wrapper input:checked ~ .checkmark::after {
  display: block;
}
.mfo_checkbox_wrapper input:checked ~ .checkmark::after {
  content: "";
}

.mfo_checkbox_wrapper .checkmark::after {
  left: 5.6px;
  top: 0.7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  box-shadow: var(--boxshadow);
}

.mfo_checkbox_wrapper input:disabled ~ .checkmark {
  background: #F4F4F4 !important;
  cursor: default;
}
.mfo_checkbox_wrapper input:disabled ~ .checkmark:hover{
  background: #F4F4F4 !important;
  opacity: 1 !important;
  cursor: default;
}
@media (max-width: 767px) {
  .mfo_checkbox_fieldset .error_message {
    font-size: 12px;
  }

  .mfo_checkbox_wrapper {
    font-size: 12px;
    padding-left: 27px;
  }

  .mfo_checkbox_wrapper span {
    line-height: 17px;
  }

  .mfo_checkbox_wrapper .checkmark {
    width: 18px;
    height: 18px;
  }

  .mfo_checkbox_wrapper .checkmark::after {
    left: 5px;
    top: 1.5px;
    width: 4px;
    height: 8px;
    border-radius: 1px;
  }
}
