/* V19.5 registration polish: existing controls only, dark/light responsive. */
body.wh-template-clientregister #registration .wh-reg-field-hint {
  display: block;
  min-height: 1.3em;
  margin: 6px 0 0;
  color: var(--wh-text-muted);
  font-size: .76rem;
  line-height: 1.5;
}
body.wh-template-clientregister #registration .wh-reg-field-hint:empty {
  min-height: 0;
  margin: 0;
}
body.wh-template-clientregister #registration .wh-reg-field-hint[data-state="success"] {
  color: #30c29a;
}
body.wh-template-clientregister #registration .wh-reg-field-hint[data-state="error"] {
  color: #f08b99;
}
html[data-wh-theme="light"] body.wh-template-clientregister #registration .wh-reg-field-hint[data-state="success"] {
  color: #126e50;
}
html[data-wh-theme="light"] body.wh-template-clientregister #registration .wh-reg-field-hint[data-state="error"] {
  color: #a5263a;
}
body.wh-template-clientregister #registration input[aria-invalid="true"] {
  border-color: #e66b80 !important;
  box-shadow: 0 0 0 2px rgba(230,107,128,.12) !important;
}
body.wh-template-clientregister #registration input[aria-invalid="false"]:not(:placeholder-shown) {
  border-color: var(--wh-border-strong) !important;
}
body.wh-template-clientregister #registration .wh-reg-document .control > input[aria-invalid="true"] {
  border-color: #e66b80 !important;
}
body.wh-template-clientregister #registration .wh-reg-document-status[data-state="success"]::before,
body.wh-template-clientregister #registration .wh-reg-field-hint[data-state="success"]::before {
  content: "✓";
  margin-right: 5px;
  font-weight: 800;
}
body.wh-template-clientregister #registration .wh-register-submit {
  position: relative;
}
body.wh-template-clientregister #registration .wh-reg-submit-status {
  min-height: 1.3em;
  margin: 5px 0 0;
  color: var(--wh-text-muted);
  font-size: .78rem;
  line-height: 1.5;
}
body.wh-template-clientregister #registration .wh-reg-submit-status:empty {
  display: none;
}
body.wh-template-clientregister #registration .wh-reg-processing .wh-reg-submit-status {
  color: var(--wh-brand);
}
body.wh-template-clientregister #registration .wh-reg-processing input[type="submit"] {
  box-shadow: 0 0 0 3px rgba(146,88,251,.12) !important;
}
@media (max-width: 575.98px) {
  body.wh-template-clientregister #registration .wh-register-submit-copy { min-width: 0; }
  body.wh-template-clientregister #registration .wh-reg-field-hint { line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  body.wh-template-clientregister #registration input,
  body.wh-template-clientregister #registration .wh-register-submit {
    transition: none !important;
  }
}
