/* Crear Hogar - Registro v1.1 | también incluido en CSS personalizado de Elementor */
.ch-registration {
  --ch-accent: #E60012;
  --ch-ink: #171717;
  --ch-muted: #606060;
  --ch-line: #E7E7E7;
  box-sizing: border-box;
  width: 100%;
  max-width: 650px;
  padding: 30px 32px 26px !important;
  background: #fff;
  color: var(--ch-ink);
  border-bottom: 6px solid var(--ch-accent);
  font-family: inherit;
}
.ch-registration *, .ch-registration *::before, .ch-registration *::after { box-sizing: border-box; }
.ch-registration > .e-con-inner { gap: 0 !important; }
/* Dentro del popup permite desplazarse si el alto disponible es pequeño. */
.elementor-popup-modal .ch-registration { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ch-registration .ch-register-heading .elementor-heading-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--ch-ink) !important;
  margin: 0 0 24px !important;
  text-align: center;
}
.ch-registration .ch-register-form { width: 100%; }
/* Grid controlado, independiente de los anchos de columna del tema. */
.ch-registration .ch-register-form .elementor-form-fields-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  column-gap: 10px !important;
  row-gap: 12px !important;
  align-items: start;
  margin: 0 !important;
}
.ch-registration .ch-register-form .elementor-field-group {
  grid-column: 1 / -1;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}
.ch-registration .ch-register-form :is(
  .elementor-field-group-email,
  .elementor-field-group-email_confirm,
  .elementor-field-group-first_name,
  .elementor-field-group-last_name,
  .elementor-field-group-password,
  .elementor-field-group-password_confirm
) { grid-column: auto; }
/* Los labels siguen disponibles para accesibilidad, pero se ven los placeholders. */
.ch-registration .ch-register-form .elementor-field-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ch-registration .ch-register-form .elementor-field-group .elementor-field:not([type=checkbox]) {
  width:100% !important;
  max-width:100% !important;
  height:43px !important;
  min-height:43px !important;
  border:1px solid #C9C9C9 !important;
  border-radius:2px !important;
  background:#fff !important;
  color:#222 !important;
  box-shadow:none !important;
  padding:9px 12px !important;
  font:inherit !important;
  font-size:13px !important;
  line-height:1.3 !important;
}
.ch-registration .ch-register-form .elementor-field::placeholder {
  color:#858585 !important;
  opacity:1 !important;
}
.ch-registration .ch-register-form .elementor-field-group .elementor-field:focus {
  outline:2px solid rgba(230,0,18,.15) !important;
  outline-offset:0;
  border-color:var(--ch-accent) !important;
}
.ch-registration .ch-register-form .elementor-field-type-html { font-size:12px; }
.ch-registration .ch-password-intro {
  margin:3px 0 10px;
  font-size:12px;
  line-height:1.5;
  color:#464646;
}
.ch-registration .ch-password-rules {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  gap:8px 15px !important;
}
.ch-registration .ch-password-rules li {
  display:flex !important;
  align-items:flex-start;
  gap:8px;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  font-size:11px;
  line-height:1.55;
  color:#696969;
}
.ch-registration .ch-password-rules li::before {
  content:"";
  display:block;
  width:7px;
  height:7px;
  flex:0 0 7px;
  margin-top:5px;
  border-radius:50%;
  background:#808080;
}
.ch-registration .ch-password-rules li::marker { content:""; }
.ch-registration .ch-password-rules li.is-valid { color:#237c4a; }
.ch-registration .ch-password-rules li.is-valid::before { background:#237c4a; }
.ch-registration .ch-register-form :is(.elementor-field-group-password,.elementor-field-group-password_confirm) .elementor-field:not([type=checkbox]) { padding-right:45px !important; }
.ch-registration .ch-password-visibility {
  position:absolute;
  z-index:2;
  right:5px;
  top:4px;
  height:35px;
  width:36px;
  border:0;
  border-radius:3px;
  background:transparent;
  color:#777;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.ch-registration .ch-password-visibility:hover { color:#202020; }
.ch-registration .ch-password-visibility:focus-visible { outline:2px solid var(--ch-accent); }
.ch-registration .ch-password-visibility svg { width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round; }
.ch-registration .elementor-field-type-acceptance { padding-top:2px !important; }
.ch-registration .elementor-field-type-acceptance .elementor-field-option { display:flex;align-items:flex-start;gap:9px; }
.ch-registration .elementor-field-type-acceptance input[type=checkbox] { width:16px !important;height:16px !important; margin:1px 0 0 !important;flex:0 0 16px;accent-color:var(--ch-accent); }
.ch-registration .elementor-field-type-acceptance label { font-size:11.5px;line-height:1.5;color:#484848;cursor:pointer; }
.ch-registration .ch-legal-copy { font-size:11.5px;line-height:1.5;margin:0;color:#565656; }
.ch-registration .ch-legal-copy a, .ch-registration .ch-signin-footer a { color:#2879a8 !important;text-decoration:none !important; }
.ch-registration .ch-legal-copy a:hover,.ch-registration .ch-signin-footer a:hover { text-decoration:underline !important; }
.ch-registration .ch-register-form .elementor-field-type-submit {
  grid-column:1/-1;
  width:100% !important;
  margin:2px 0 0 !important;
}
.ch-registration .ch-register-form .elementor-button {
  width:100% !important;
  min-height:44px !important;
  padding:12px 16px !important;
  border:0 !important;
  border-radius:3px !important;
  background:var(--ch-accent) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer;
}
.ch-registration .ch-register-form .elementor-button:hover { background:#bb0011 !important;color:#fff !important; }
.ch-registration .ch-register-form .elementor-message { grid-column:1/-1;font-size:12px;line-height:1.5;margin:4px 0 0; }
.ch-registration .ch-register-form .elementor-message.elementor-message-danger { color:#b90012; }
.ch-registration .ch-signin-footer {
  margin:20px 0 0;
  padding-top:15px;
  border-top:1px solid var(--ch-line);
  color:#3b3b3b;
  font-size:12px;
  line-height:1.5;
}
@media(max-width:767px){
  .ch-registration { padding:26px 20px 22px !important; }
  .ch-registration .ch-register-form .elementor-form-fields-wrapper { grid-template-columns:minmax(0,1fr) !important; }
  .ch-registration .ch-register-form :is(.elementor-field-group-email,.elementor-field-group-email_confirm,.elementor-field-group-first_name,.elementor-field-group-last_name,.elementor-field-group-password,.elementor-field-group-password_confirm) { grid-column:1/-1; }
  .ch-registration .ch-password-rules { gap:8px 12px !important; }
  .ch-registration .ch-password-rules li { font-size:10.5px; }
}
@media(max-width:380px){.ch-registration .ch-password-rules { grid-template-columns:1fr !important; }}
