/* ============================================================
   Registro de cliente externo: componentes propios de sus pantallas.
   El marco común (cabecera, fondo, botón principal, secciones numeradas) está en registro-marco.css;
   las tarjetas y el indicador de pasos, en login.css (los mismos del registro de notarías).
   ============================================================ */

/* Tarjetas de tipo de registro (pantalla inicial); el botón siempre queda alineado abajo */
.tipo-card { display: flex; flex-direction: column; border: 1px solid #d6dbe3; border-radius: .85rem; box-shadow: 0 1px 3px rgba(15, 23, 42, .05); height: 100%; background: #fff; overflow: hidden; }
.tipo-card img, .tipo-card .tipo-img-ph { width: 100%; height: 150px; object-fit: cover; }
.tipo-card .tipo-cuerpo { display: flex; flex-direction: column; flex: 1; padding: 1rem; text-align: center; }
.tipo-card .tipo-texto { flex: 1; font-size: .8rem; color: #374151; }
/* Imagen provisional de la tarjeta de notarías cuando no existe wwwroot/img/registro/notaria.png */
.tipo-card .tipo-img-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
                          background: linear-gradient(135deg, #1f2d3d, #3b4b5e); color: #fff; }
.tipo-card .tipo-img-ph i { font-size: 3rem; }
.tipo-card .tipo-img-ph small { opacity: .7; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }

/* Datos que vienen de SUNAT / RENIEC (solo lectura) */
.dato-fijo { background: #f6f8fa; }

/* Código de verificación */
.codigo-grupo { display: flex; gap: .5rem; justify-content: center; }
.codigo-grupo input { width: 2.7rem; height: 3.1rem; text-align: center; font-size: 1.4rem; font-weight: 700; }

/* Fortaleza de la contraseña */
.fuerza { height: 5px; border-radius: 3px; background: #e9ecef; overflow: hidden; }
.fuerza > div { height: 100%; width: 0; transition: width .2s, background .2s; }
.reglas li { font-size: .78rem; color: #6c757d; list-style: none; }
.reglas li.ok { color: #198754; }
.reglas li i { margin-right: .3rem; }

/* Spinner a pantalla completa mientras se envía el código o se consultan SUNAT / RENIEC */
.reg-spinner { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center;
               flex-direction: column; gap: .9rem; background: rgba(255, 255, 255, .8); color: #343a40; font-weight: 600; }
.reg-spinner.activo { display: flex; }
.reg-spinner .spinner-border { width: 3rem; height: 3rem; color: #C8102E; }

/* Confirmación */
.bienvenida-ico { font-size: 4rem; color: #198754; }
