/* ═══════════════════════════════════════════════════════════════════
   El alta en una sola pantalla (registro.html, 19-oct). Seba eligió la
   maqueta «B · El panel»: a la izquierda, azul noche con el panel de
   verdad, dos cosas que hace el bot y las preguntas que frenan; a la
   derecha, el alta. Todo va bajo body.ez-registro: ingresar, olvidé la
   clave y las demás páginas de cuenta siguen con piel-cuenta.css.
   Se carga DESPUÉS de ezra.css, tema.css, piel-cuenta.css y seguro.css.
   ═══════════════════════════════════════════════════════════════════ */
.ez-registro {
  --rg-noche: #13113a;
  --rg-tinta: #1c1b19;
  --rg-tinta-2: #57564f;
  --rg-tinta-3: #8b8a83;
  --rg-borde: #e7e5e0;
  --rg-borde-2: #dad7d0;
  --rg-violeta: #5b4ce6;
  --rg-blanco-2: rgba(255, 255, 255, .72);
  --rg-blanco-3: rgba(255, 255, 255, .5);
  --rg-linea: rgba(255, 255, 255, .12);
}
.ez-registro .ez-dividido-grilla { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }

/* Sin espacio extra entre palabras (Seba, 19-oct: "el tipo de letra está
   medio raro"): tema.css le suma .06em a todo el body desde el 22-sep, para
   Plus Jakarta, que las pegaba; con otra letra las separa de más. Los
   rótulos, livianos como en la maqueta. */
body.ez-registro { word-spacing: normal; text-rendering: optimizeLegibility; }

/* La letra del sistema (Seba la eligió el 19-oct entre seis, lado a lado):
   San Francisco en Mac y iPhone, Segoe en Windows, Roboto en Android. Se
   pisan las dos variables de piel-cuenta.css (cuerpo y títulos) y la
   ventana de "Ver por qué", que en seguro.css trae Host Grotesk fija. */
body.ez-registro {
  --ez-letra: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ez-titulos: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.ez-registro .sg-ventana { font-family: var(--ez-letra); }
.ez-registro .ez-campo > label { font-size: 14px; font-weight: 550; }

/* ── La columna de la izquierda ───────────────────────────────────── */
.ez-registro .ez-vitrina {
  gap: 0; padding: 30px clamp(28px, 3.4vw, 52px) 30px; border-right: 0; color: #fff;
  background: radial-gradient(120% 80% at 0% 0%, #2a2470 0%, var(--rg-noche) 55%) var(--rg-noche);
}
.ez-registro .ez-vitrina::before { display: none; }
.ez-registro .ez-vitrina .ez-marca { color: #fff; font-size: 19px; }
.ez-registro .ez-vitrina .ez-marca small { color: var(--rg-blanco-3); font-size: 19px; }
.ez-registro .ez-vitrina .ez-marca svg { width: 30px; height: 24px; }
.ez-registro .ez-vitrina .ez-marca:focus-visible { box-shadow: 0 0 0 3px #fff; }
.ez-registro .ez-vitrina-titulo {
  margin-top: clamp(20px, 4vh, 34px); max-width: 16ch; color: #fff; font-weight: 500;
  font-size: clamp(34px, 3.5vw, 50px); letter-spacing: -.035em; line-height: 1.02;
}
.ez-registro .ez-vitrina-bajada { margin-top: 14px; max-width: 44ch; color: var(--rg-blanco-2); font-size: 17px; line-height: 1.45; }
.ez-registro .ez-vitrina-resto { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* El panel y el celular ocupan el alto que sobra: en una pantalla baja se
   achican (hasta 170 px) para que entren las preguntas y el pie; en una
   alta crecen (hasta 520 px) en vez de dejar un hueco. */
.ez-registro .ez-escena {
  flex: 1 1 360px; position: relative; height: auto; min-height: 170px; max-height: 520px; margin: clamp(18px, 3.5vh, 28px) 0 0;
  border-radius: 0; overflow: visible; background: none;
}
.ez-registro .ez-escena::before { display: none; }
.ez-registro .ez-escena-barra { display: none; }
.ez-registro .ez-escena-compu {
  top: 0; left: 0; width: 88%; height: calc(100% - 30px); border-radius: 14px; background: #fff;
  border: 1px solid var(--rg-linea); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.ez-registro .ez-escena-compu img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ez-registro .ez-escena-cel {
  top: 40px; right: 0; width: 31%; max-width: 230px; height: calc(100% - 40px); padding: 0; border-radius: 30px; overflow: hidden;
  border: 6px solid #0c0b22; background: #0c0b22; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.ez-registro .ez-escena-cel img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 0; }
.ez-registro .ez-escena-dato {
  position: absolute; z-index: 2; max-width: 210px; margin: 0; padding: 10px 13px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--rg-tinta); font-size: 13px; line-height: 1.35;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55);
}
.ez-registro .ez-escena-dato[hidden] { display: none; }
.ez-registro .ez-escena-dato b { display: block; font-size: 14px; font-weight: 650; }
.ez-registro .ez-escena-dato span { color: var(--rg-tinta-2); }
.ez-registro .ez-dato-abajo { left: -10px; bottom: 6px; }
.ez-registro .ez-dato-arriba { right: 26%; top: -14px; }

.ez-registro .ez-preguntas {
  margin: clamp(18px, 3.5vh, 30px) 0 0; padding-top: 18px; border-top: 1px solid var(--rg-linea);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.ez-registro .ez-preguntas dt { font-size: 15px; font-weight: 600; }
.ez-registro .ez-preguntas dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.42; color: var(--rg-blanco-2); }
.ez-registro .ez-vitrina-firma { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--rg-blanco-3); }

/* Columna angosta (compu chica): las preguntas, una por renglón y con la
   respuesta al lado, en vez de tres columnas finitas; los recuadros, más
   chicos para no tapar el panel. */
@media (min-width: 961px) and (max-width: 1240px) {
  .ez-registro .ez-preguntas { grid-template-columns: 1fr; gap: 8px; padding-top: 14px; }
  .ez-registro .ez-preguntas div { font-size: 13.5px; line-height: 1.42; }
  .ez-registro .ez-preguntas dt { display: inline; font-size: 13.5px; }
  .ez-registro .ez-preguntas dd { display: inline; margin: 0 0 0 4px; }
  .ez-registro .ez-escena-dato { max-width: 170px; padding: 8px 10px; font-size: 12px; }
  .ez-registro .ez-escena-dato b { font-size: 12.5px; }
}
/* Pantalla baja: menos aire arriba. */
@media (min-width: 961px) and (max-height: 760px) {
  .ez-registro .ez-vitrina { padding-top: 22px; padding-bottom: 20px; }
  .ez-registro .ez-vitrina-titulo { font-size: clamp(30px, 3vw, 42px); }
  .ez-registro .ez-vitrina-bajada { font-size: 15.5px; }
}

/* ── El alta ──────────────────────────────────────────────────────── */
.ez-registro .ez-dividido-centro { max-width: 488px; }
.ez-registro .ez-alta { width: 100%; }
.ez-registro .ez-alta h1 { font-size: 30px; font-weight: 550; letter-spacing: -.03em; line-height: 1.1; }
.ez-registro .ez-alta-bajada { margin-top: 6px; font-size: 15px; color: var(--rg-tinta-2); }
.ez-registro .ez-form { gap: 16px; margin-top: 22px; }

/* Cobrar · Vender, como dos pestañas. */
.ez-registro .ez-productos {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 4px; border: 0; border-radius: 13px; background: #ebe9e4;
}
.ez-registro .ez-productos label { position: relative; cursor: pointer; }
.ez-registro .ez-productos input { position: absolute; opacity: 0; pointer-events: none; }
.ez-registro .ez-productos span {
  display: block; padding: 10px 8px; border-radius: 10px; text-align: center;
  font-size: 14.5px; font-weight: 550; color: var(--rg-tinta-2); transition: background-color .15s, color .15s;
}
.ez-registro .ez-productos input:checked + span {
  background: #fff; color: var(--rg-tinta); box-shadow: 0 1px 2px rgba(28, 27, 25, .08), 0 4px 10px -6px rgba(28, 27, 25, .25);
}
.ez-registro .ez-productos input:focus-visible + span { outline: 2px solid var(--rg-violeta); outline-offset: 2px; }

.ez-registro .ez-o { margin: 0; }

/* El botón de Google, propio (19-oct; Seba: "un botón más lindo", eligió
   el blanco): mismo alto, esquina y letra que los campos, con la G de
   colores. El de Google venía en su iframe, más bajo y de esquina recta. */
.ez-registro .ez-google-propio {
  width: 100%; min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 16px; border: 1px solid var(--rg-borde-2); border-radius: 10px; background: #fff;
  font: 600 15.5px/1.2 var(--ez-letra); color: var(--rg-tinta); cursor: pointer;
  box-shadow: 0 1px 2px rgba(28, 27, 25, .06); transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.ez-registro .ez-google-propio svg { flex: none; width: 20px; height: 20px; }
.ez-registro .ez-google-propio:hover { background: #f8f7f4; border-color: #c9c5bc; box-shadow: 0 2px 6px -2px rgba(28, 27, 25, .14); }
.ez-registro .ez-google-propio:active { background: #f1efea; }
.ez-registro .ez-google-propio:focus-visible { outline: 2px solid var(--rg-violeta); outline-offset: 2px; }
.ez-registro .ez-google-propio[disabled] { cursor: progress; opacity: .7; }
.ez-registro .ez-direccion { margin: 2px 0 0; font-size: 13px; color: var(--rg-tinta-3); }
.ez-registro .ez-direccion b { font-weight: 550; color: var(--rg-tinta-2); word-break: break-all; }
.ez-registro .ez-direccion .ez-boton-texto { margin-left: 4px; padding: 0; font-size: 13px; }
.ez-registro .ez-direccion[hidden], .ez-registro #ez-slug-campo[hidden] { display: none; }

.ez-registro .ez-alta-boton { width: 100%; justify-content: center; margin-top: 4px; }
.ez-registro .ez-alta-letra { margin: -4px 0 0; font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--rg-tinta-3); }
.ez-registro .ez-alta-letra a { color: inherit; }

.ez-registro .ez-asesor {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--rg-borde); border-radius: 14px; background: #fff; font-size: 14px;
}
.ez-registro .ez-asesor svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #e8f8ee; fill: #1a9e52; }
.ez-registro .ez-asesor span { color: var(--rg-tinta-2); line-height: 1.35; }
.ez-registro .ez-asesor a { margin-left: auto; flex: none; font-weight: 600; color: var(--rg-violeta); text-decoration: none; }
.ez-registro .ez-asesor a:hover { text-decoration: underline; }
.ez-registro .ez-alta-planes { margin-top: 14px; font-size: 12.5px; text-align: center; color: var(--rg-tinta-3); }

/* ── Celular y tablet: título, alta y, abajo, el resto ────────────── */
@media (max-width: 960px) {
  .ez-registro .ez-dividido-grilla { display: flex; flex-direction: column; }
  .ez-registro .ez-vitrina { display: contents; }
  .ez-registro .ez-vitrina-cabeza {
    order: 1; padding: 18px 20px 24px; color: #fff;
    background: radial-gradient(120% 120% at 0% 0%, #2a2470 0%, var(--rg-noche) 60%) var(--rg-noche);
  }
  .ez-registro .ez-vitrina-titulo { margin-top: 20px; font-size: 34px; }
  .ez-registro .ez-vitrina-bajada { display: block; font-size: 15.5px; }
  .ez-registro .ez-dividido-cuerpo { order: 2; }
  .ez-registro .ez-vitrina-resto { order: 3; padding: 28px 20px 32px; color: #fff; background: var(--rg-noche); }
  .ez-registro .ez-escena { display: block; flex: none; margin-top: 0; height: 250px; min-height: 0; }
  .ez-registro .ez-escena-compu { width: 86%; height: 220px; }
  .ez-registro .ez-escena-cel { top: 24px; height: 226px; border-radius: 22px; }
  .ez-registro .ez-escena-dato { display: none; }
  .ez-registro .ez-preguntas { grid-template-columns: 1fr; }
  .ez-registro .ez-alta h1 { font-size: 26px; }
  /* Con la letra del sistema, "Cobrar transferencias" se partía en dos renglones. */
  .ez-registro .ez-productos span { padding: 10px 4px; font-size: 13.5px; white-space: nowrap; }
}
