/*
 * mwaltcha – ALTCHA form element
 * Themes with floated grid columns (e.g. Bootstrap 3 / float-based ".row" without
 * clearfix) let the following block overlap the floated fields. The ALTCHA widget
 * is "position: relative" and would then be painted ON TOP of the previous fields,
 * swallowing every click. Clearing the floats puts the element below them.
 */
.form-element-altcha {
  clear: both;
}
.form-element-altcha altcha-widget {
  display: block;
}

/* mwaltcha – message when the submission limit is reached */
.mwaltcha-limit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border: 2px solid #b3261e;
  border-left-width: 6px;
  border-radius: 6px;
  background: #fdecea;
  color: #7a1a14;
  font-weight: 600;
  line-height: 1.5;
  scroll-margin-top: 120px; /* room for sticky headers when jumping to #form-id */
}
.mwaltcha-limit::before {
  content: "!";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #b3261e;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}
