.form-error {
  background-color: #ff0000 !important;
  border: solid 4px #000000;
}
input[type="checkbox"].form-error {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  height: 14px;
  width: 14px;
  margin-right: 5px;
  border-radius: .25rem;
}

input[type="checkbox"].form-error:checked {}

input[type="checkbox"].form-error:hover {
  filter: brightness(90%);
}

input[type="checkbox"].form-error:disabled {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}

input[type="checkbox"].form-error:after {
  content: '';
  position: relative;
  left: 25%;
  top: 0%;
  width: 40%;
  height: 80%;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

input[type="checkbox"].form-error:checked:after {
  display: block;
}

input[type="checkbox"].form-error:disabled:after {
  border-color: #7b7b7b;
}

input[type="radio"].form-error {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  height: 25px !important;
  width: 25px !important;
  margin-right: 6px !important;
  border-radius: 25px !important;
}

input[type="radio"].form-error:checked {
  border-radius: 25px;
}

input[type="radio"].form-error:hover {
  filter: brightness(90%);
}

input[type="radio"].form-error:disabled {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}

input[type="radio"].form-error:after {
  content: '';
  position: relative;
  float: left;
  left: 1%;
  top: 1%;
  width: 88%;
  height: 88%;
  border: solid #000;
  border-radius: 25px;
  border-width: 9px;
  display: none;
}

input[type="radio"].form-error:checked:after {
  display: block;
}

input[type="radio"].form-error:disabled:after {
  border-color: #7b7b7b;
}
