/* ===================================================
   CHAMBAS — cuenta.css
   Página de entrar / crear cuenta. Usa los tokens de landing.css
   =================================================== */

body.auth {
  min-height: 100vh;
  background:
    radial-gradient(50% 60% at 100% 0%, #fbeec0, transparent 70%),
    radial-gradient(40% 50% at 0% 100%, #f2efe6, transparent 70%),
    var(--paper);
}
.auth__top { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.auth__main { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; padding: 32px 0 80px; min-height: calc(100vh - 76px); }
.auth__side h1 { font-size: clamp(38px, 5vw, 64px); }
.auth__points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; color: var(--dim); font-size: 17px; }
.auth__points li { padding-left: 30px; position: relative; }
.auth__points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--honey); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

.auth__card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 40px 90px -50px #28200a8c; }
.auth__seg { display: flex; margin-bottom: 22px; }
.auth__seg .seg__btn { flex: 1; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.role { text-align: left; padding: 14px; border-radius: 18px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font: inherit; color: var(--ink); }
.role strong { display: block; font: 500 16px var(--font-display); }
.role span { font-size: 13px; color: var(--dim); }
.role.is-on { background: var(--honey-2); border-color: var(--honey); }
.fld { display: grid; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--dim); font-weight: 500; }
.fld input { font: 400 16px var(--font-body); color: var(--ink); padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; }
.fld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px #f6c34355; }
.fld small { color: var(--faint); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.auth__err { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #f8e1df; color: #a8322e; font-size: 14px; }
.auth__submit { width: 100%; height: 50px; margin-top: 20px; font-size: 16px; }
.auth__submit:disabled { opacity: .6; cursor: wait; }
.auth__note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--dim); }
.auth__note a { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .auth__main { grid-template-columns: 1fr; gap: 32px; padding-top: 8px; }
  .auth__side { display: none; }
}

/* Aceptación de términos en el registro */
.terms { margin: 4px 0 14px; }
.terms__chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.terms__chk input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--ink); }
.terms__chk a, .terms__short a, .auth__legal a { color: var(--ink); }
.terms__short { margin: 8px 0 0 27px; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.terms__short strong { font-weight: 600; color: var(--dim); }
.auth__legal { text-align: center; font-size: 13px; color: var(--faint); margin: 8px 0 28px; }
