input[type=text].error,
input[type=email].error,
input[type=tel].error,
input[type=checkbox].error + span::before,
select.error,
textarea.error{
  border-color: #D6262B;
}

.validation{
  display: none;
  color: #D6262B;
  font-size: 1.4rem;
  margin-top: 0.5em;
}

.error + .validation,
div:has(.error) + .validation{ display: block; }