/**
 * WordPress-only additions for ~/www/sehlp/register.php markup (no LearnDash shortcode).
 * All layout/fields use register-figma.css — #reg2-form, .reg2__field, etc.
 */

.sehlp-register-page .registration-errors {
  margin-bottom: 1rem;
  max-width: 230px;
}

.sehlp-register-page .registration-errors .error-box {
  padding: 0.75rem 1rem;
  border: 1px solid #c00;
  border-radius: 5px;
  background: #fff5f5;
  font-size: var(--reg2-label);
}

.sehlp-register-page .reg2__field input.field-error {
  border-color: #c00 !important;
  box-shadow: 0 0 0 1px rgba(204, 0, 0, 0.25);
}

.sehlp-register-page .field-error-message {
  display: block;
  margin-top: 6px;
  font-size: var(--reg2-label, 12px);
  line-height: 1.35;
  color: #b00000;
}

/* Log in link: inherit Figma account line */
.sehlp-register-page .reg2__account a {
  color: inherit;
  text-decoration: none;
}

.sehlp-register-page .reg2__account a:hover {
  text-decoration: underline;
}

/* Enroll / complete payment: CTA is a link, not a button */
.sehlp-register-page a.reg2__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.sehlp-register-page .reg2__body--payment-error {
  color: #b00000;
  font-weight: 500;
}
