/* Registro de restaurantes nuevos (registro.html): una pregunta por pantalla. La página hace su propio scroll
   porque el cuerpo de la app es de pantalla fija. */
.reg {
  height: 100%; overflow-y: auto; display: grid; place-items: center; padding: 20px 16px;
  background:
    radial-gradient(900px 500px at 50% -10%, var(--accent-soft), transparent 70%),
    var(--bg);
}
.reg-card { width: min(460px, 100%); display: grid; gap: 22px; }
.reg-marca { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.01em; }
.reg-marca .logo-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }

.reg-barra { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.reg-barra i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width 320ms var(--ease-out); }

/* Cada pantalla entra deslizándose un poco: se siente que "avanzas". */
.reg-paso { animation: reg-entra 280ms var(--ease-out); }
@keyframes reg-entra { from { opacity: 0; transform: translateX(18px); } }
@media (prefers-reduced-motion: reduce) { .reg-paso { animation: none; } .reg-barra i { transition: none; } }

.reg-form { display: grid; gap: 16px; }
.reg-form h1, .reg-centro h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.reg-num { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.reg-input { min-height: 58px; font-size: 18px; padding: 12px 16px; }
.reg-ayuda { font-size: 14px; color: var(--muted); margin-top: -6px; }
.reg-acciones { display: flex; gap: 10px; margin-top: 4px; }
.reg-acciones .btn { flex: 1; }
.reg-acciones .btn.primary { flex: 2; }

.reg-centro { display: grid; gap: 16px; text-align: center; justify-items: center; }
.reg-centro .btn.block { width: 100%; }
.reg-lista { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; text-align: left; }
.reg-lista li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.reg-lista svg { color: var(--accent); flex: none; }
.reg-enlace { background: none; border: 0; padding: 8px; color: var(--accent); font: inherit; font-weight: 650; cursor: pointer; }

.reg-resumen { display: grid; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.reg-fila { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 16px; }
.reg-fila + .reg-fila { border-top: 1px solid var(--line); }
.reg-fila strong { text-align: right; overflow-wrap: anywhere; }

.reg-ok { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; animation: reg-pop 420ms var(--ease-out); }
@keyframes reg-pop { from { transform: scale(0.4); opacity: 0; } }
.reg-folio { font-family: var(--font-num); font-size: 42px; font-weight: 700; color: var(--accent); }
.reg-estado { margin-top: 6px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 8px; }
.reg-trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
