/* Willber V19.3: scoped improvements to existing CPF/CNPJ custom field. */
body.wh-template-clientregister #registration .wh-reg-document {
  margin-top: 6px;
  padding: 17px;
  border: 1px solid var(--wh-border);
  border-radius: 16px;
  background: var(--wh-surface-2);
}
body.wh-template-clientregister #registration .wh-reg-document-title {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 7px; color: var(--wh-text); font-size: .91rem; font-weight: 800;
}
body.wh-template-clientregister #registration .wh-reg-document-intro {
  margin: 0 0 12px; color: var(--wh-text-muted); font-size: .8rem; line-height: 1.55;
}
body.wh-template-clientregister #registration .wh-reg-person-options {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
body.wh-template-clientregister #registration .wh-reg-person-options button {
  display: inline-flex; align-items: center; gap: 8px; flex: 1 1 150px; justify-content: center;
  border: 1px solid var(--wh-border-strong); border-radius: 10px;
  background: var(--wh-surface); color: var(--wh-text);
  min-height: 45px; padding: 8px 12px; font-weight: 750; cursor: pointer;
}
body.wh-template-clientregister #registration .wh-reg-person-options button.is-active,
body.wh-template-clientregister #registration .wh-reg-person-options button[aria-pressed="true"] {
  border-color: rgba(146,88,251,.65); background: var(--wh-brand-soft); color: var(--wh-text);
  box-shadow: inset 0 0 0 1px rgba(146,88,251,.17);
}
body.wh-template-clientregister #registration .wh-reg-document .form-group { margin-bottom: 0; }
body.wh-template-clientregister #registration .wh-reg-document .control > input {
  display: block; width: 100%; min-height: 46px; border-radius: 12px;
  background: var(--wh-surface) !important; color: var(--wh-text) !important;
  border: 1px solid var(--wh-border-strong) !important; padding: 10px 13px;
}
body.wh-template-clientregister #registration .wh-reg-document-label {
  display: block; margin-bottom: 7px; color: var(--wh-text); font-size: .82rem; font-weight: 700;
}
body.wh-template-clientregister #registration .wh-reg-document-status {
  margin: 9px 0 0; min-height: 1.4em; color: var(--wh-text-muted); font-size: .76rem; line-height: 1.5;
}
body.wh-template-clientregister #registration .wh-reg-document-status[data-state="error"] { color: #dc697c; }
body.wh-template-clientregister #registration .wh-reg-document-status[data-state="success"] { color: #2bbb8c; }
html[data-wh-theme="light"] body.wh-template-clientregister #registration .wh-reg-document-status[data-state="error"] { color: #a3273b; }
html[data-wh-theme="light"] body.wh-template-clientregister #registration .wh-reg-document-status[data-state="success"] { color: #14694c; }
