:root { --rojo: #c41e32; --celeste: #e8f4fb; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--celeste);
  color: #111;
  font-family: "Times New Roman", Times, serif;
}
body { display: flex; flex-direction: column; min-height: 100vh; }
.caja {
  width: min(420px, 92%);
  margin: auto;
  background: #fff;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(30, 90, 168, 0.12);
  text-align: center;
}
.caja img { height: 86px; }
h1 { margin: 0.4rem 0 0.3rem; color: var(--rojo); font-size: 1.4rem; }
h2 { margin: 1.1rem 0 0.25rem; font-size: 1.05rem; }
.sub, .hint { color: #345; font-size: 0.92rem; line-height: 1.45; }
form { display: flex; flex-direction: column; gap: 0.55rem; text-align: left; }
label { font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.2rem; }
label[hidden] { display: none; }
input, button, .btn-sec {
  font: inherit;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #9bb8c9;
}
button, .btn-sec {
  background: var(--rojo);
  color: #fff;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.peligro { background: #7a1020; margin-top: 0.4rem; }
.error { background: #fde8ea; color: #7a1020; padding: 0.5rem; border-radius: 8px; }
.ok { background: #e7f7ee; color: #14532d; padding: 0.5rem; border-radius: 8px; }
.link { background: none; color: #1e5aa8; border: 0; cursor: pointer; font: inherit; }
footer {
  background: var(--rojo);
  color: #fff;
  text-align: center;
  padding: 0.7rem;
  margin-top: auto;
}
.aviso { text-align: left; }
.aviso h1 { text-align: center; }
.aviso img { display: block; margin: 0 auto; }

body{font-family:system-ui,sans-serif;background:#f3f6fa;color:#19283b}.caja{padding:32px;width:min(440px,92%);border:1px solid #dce3eb;box-shadow:0 12px 40px #19283b12}.caja h1{font-size:25px}.caja form{gap:14px;margin:22px 0 12px}.caja input,.caja button{padding:12px}:focus-visible{outline:3px solid #2875bc;outline-offset:2px}body>p a{display:inline-block;padding:12px 18px;background:white;border:1px solid #dce3eb;border-radius:8px;color:#8c2438;font-weight:650;text-decoration:none}footer{background:#8c2438;font-size:13px}