/* Páginas de inicio de sesión y de crear cuenta: fondo blanco, barra con flecha y título, formulario centrado. */
:root { --negro: #000; --gris: #666; --linea: #cfcfcf; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #111; background: #fff; line-height: 1.45; }

.ac-barra { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 60px; padding: 0 12px; }
.ac-barra h1 { font: 700 1.05rem Poppins, sans-serif; text-align: center; color: #000; }
.ac-volver { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #000; text-decoration: none; }
.ac-volver:hover { background: #f2f2f2; }

.ac-cuerpo { width: 100%; max-width: 440px; margin: 0 auto; padding: 1.8rem 1.4rem calc(2rem + env(safe-area-inset-bottom)); }
.ac-intro { text-align: center; color: var(--gris); margin-bottom: 1.6rem; }

.ac-cuerpo label { display: block; margin: 1rem 0 .4rem; font-weight: 500; font-size: .95rem; color: #000; }
.ac-cuerpo input { width: 100%; height: 50px; padding: 0 .95rem; border: 1px solid var(--linea); border-radius: 12px; background: #fff; color: #000; font: inherit; font-size: 1rem; }
.ac-cuerpo input::placeholder { color: #9a9a9a; }
.ac-cuerpo input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0, 0, 0, .12); }
.ac-fila { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ac-clave { position: relative; }
.ac-clave input { padding-right: 3rem; }
.ac-ojo { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: #555; cursor: pointer; }
.ac-ojo:hover { background: #f2f2f2; }
.ac-ojo.es-visible { color: #000; }
.ac-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ac-captcha { margin-top: 1.2rem; padding: .9rem 1rem 1rem; border: 1px solid var(--linea); border-radius: 14px; background: #fafafa; text-align: center; }
.ac-captcha[hidden] { display: none; }
.ac-captcha__t { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 0 0 .75rem; color: #444; font-size: .88rem; font-weight: 500; }
.ac-captcha > div { display: flex; justify-content: center; }

.ac-error { min-height: 1.4em; margin: .9rem 0 .4rem; color: #000; font-weight: 600; font-size: .92rem; text-align: center; }
.ac-boton { display: block; width: 100%; height: 54px; border: 1px solid #000; border-radius: 14px; background: #000; color: #fff; font: 600 1.05rem Inter, system-ui, sans-serif; cursor: pointer; transition: background .15s ease, color .15s ease; }
.ac-boton:hover:not(:disabled), .ac-boton:focus-visible { background: #fff; color: #000; }
.ac-boton:disabled { opacity: .55; cursor: default; }
.ac-pie { margin-top: 1.4rem; text-align: center; color: var(--gris); font-size: .95rem; }
.ac-pie a { color: #000; font-weight: 700; text-decoration: none; }
.ac-pie a:hover { text-decoration: underline; }
.ac-paso[hidden] { display: none; }
#paso-inicio .ac-intro { margin-bottom: 1.6rem; }
.ac-o { margin: 1.1rem 0; text-align: center; color: var(--gris); }
/* Botón propio (estilo de la app) con el de Google, invisible, encima: así el toque lo recibe Google. */
.ac-google { position: relative; height: 54px; border-radius: 14px; overflow: hidden; }
.ac-google__visual { display: flex; align-items: center; justify-content: center; gap: .7rem; height: 100%; border: 1px solid var(--linea); border-radius: 14px; background: #fff; color: #111; font: 500 1rem Inter, system-ui, sans-serif; transition: background .15s ease, border-color .15s ease; }
.ac-google:hover .ac-google__visual { background: #f6f6f6; border-color: #999; }
.ac-google__real { position: absolute; left: 0; top: 0; width: 100%; opacity: .01; transform-origin: 0 0; transform: scaleY(1.4); }
#g-seccion .ac-error { margin-top: .6rem; }
[data-solo-clave][hidden] { display: none; }
.ac-google-aviso { margin: 0 0 .4rem; text-align: center; color: var(--gris); font-size: .95rem; }
/* Barra de progreso de los 3 pasos y casillas del código */
.ac-pasos { display: flex; justify-content: center; gap: 6px; margin: -.2rem 0 .2rem; }
.ac-pasos[hidden] { display: none; }
.ac-pasos i { width: 28px; height: 4px; border-radius: 2px; background: #e4e4e4; transition: background .2s ease; }
.ac-pasos i.on { background: #000; }
.ac-cod { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.ac-cuerpo .ac-cod input { height: 56px; padding: 0; text-align: center; font: 600 1.5rem Poppins, sans-serif; }
.ac-enlace { padding: 0; border: 0; background: none; color: #000; font: inherit; font-weight: 700; cursor: pointer; }
.ac-enlace:hover:not(:disabled) { text-decoration: underline; }
.ac-enlace:disabled { color: #999; font-weight: 500; cursor: default; }
.ac-pie--chico { margin-top: .5rem; font-size: .9rem; }
.ac-pie[hidden] { display: none; }
.ac-ayuda { margin: .4rem 0 0; color: var(--gris); font-size: .85rem; }
.ac-ayuda[hidden] { display: none; }
