/* Paleta Rottweiler */
:root{
  --negro:#0f0f10;         /* fondo dominante */
  --negro-suave:#1a1b1d;   /* tarjetas/bordes oscuros */
  --rust:#a85d2b;          /* acento “tan/rust” */
  --rust-osc:#8c4c22;
  --gris:#cfcfd2;
  --blanco:#ffffff;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Inter',system-ui,Arial,sans-serif;
  color:var(--blanco);
  background:
    radial-gradient(1200px 800px at 80% -20%, rgba(168,93,43,0.25), transparent 50%),
    radial-gradient(1000px 600px at -10% 110%, rgba(168,93,43,0.18), transparent 55%),
    var(--negro);
}

.wrap{
  min-height:100%;
  display:grid;
  place-items:center;
  padding:28px;
}

.card{
  width:100%;
  max-width:820px;
  background:linear-gradient(180deg, var(--negro-suave), #141416);
  border:1px solid #232428;
  border-radius:18px;
  box-shadow:0 12px 40px rgba(0,0,0,.45);
  padding:34px 32px 28px;
}

.brand{
  text-align:center;
  margin-bottom:18px;
}
.logo{
  width:56px;height:56px;line-height:56px;
  margin:0 auto 8px auto;
  border-radius:14px;
  background:linear-gradient(135deg, var(--rust), var(--rust-osc));
  box-shadow:0 6px 18px rgba(168,93,43,.35), inset 0 0 8px rgba(255,255,255,.08);
  font-size:26px;
}
h1{
  margin:6px 0 2px;
  font-weight:800;
  letter-spacing:.5px;
}
.subtitle{
  margin:0;color:#b6b8be;font-size:.95rem
}

.msg{
  background:rgba(168,93,43,.12);
  border:1px solid rgba(168,93,43,.45);
  color:#ffd8bd;
  padding:10px 12px;
  border-radius:10px;
  text-align:center;
  margin:10px auto 16px;
}

.form{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0 auto;
  width:min(520px, 100%);
}

.form h2{
  margin:8px 0 6px;
  font-weight:700;
  color:#e9eaee;
}

label{font-size:.9rem;color:#cfd1d6}

input{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #2a2b30;
  background:#0f1012;
  color:#e9eaee;
  outline:none;
  transition:border .15s ease, box-shadow .15s ease;
}
input:focus{
  border-color:var(--rust);
  box-shadow:0 0 0 3px rgba(168,93,43,.25);
}

button{
  margin-top:6px;
  padding:12px 16px;
  border-radius:10px;
  border:0;
  color:white;
  background:linear-gradient(135deg, var(--rust), var(--rust-osc));
  cursor:pointer;
  font-weight:700;
  letter-spacing:.3px;
  transition:transform .08s ease, filter .2s ease;
}
button:hover{ filter:brightness(1.05) }
button:active{ transform:translateY(1px) }

.footnote{
  margin:8px 2px 0;
  color:#9da0a6;
  font-size:.88rem;
  text-align:center;
}
