/* Errors appear after validation, with both a border and a readable message. */
.tf-field-invalid,
.tf-field-invalid:focus,
.search-select.tf-field-invalid > .search-select-input {
  border: 2px solid #c62828 !important;
  outline-color: #c62828 !important;
  background-color: #fff7f7 !important;
  box-shadow: 0 0 0 1px #c6282820 !important;
}
label.tf-choice-invalid {
  border: 2px solid #c62828 !important;
  border-radius: 6px;
  padding: 5px 8px;
  background: #fff7f7 !important;
}
.tf-field-error {
  display: block;
  margin: 5px 0 8px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.tf-validation-summary {
  margin: 10px 0 16px;
  padding: 12px 16px;
  border: 2px solid #c62828;
  border-radius: 8px;
  background: #fff7f7;
  color: #9c1c1c;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tf-validation-summary[hidden] { display: none; }
@media print {
  .tf-field-error, .tf-validation-summary { display: none !important; }
}
