:root{
  --bg:#0f172a; --card:#141f38; --muted:#9ca3af; --text:#e5e7eb;
  --pri:#2563eb; --error:#fecaca; --ok:#bbf7d0;
  --radius:16px; --pad:14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto;
}

.auth-app{
  max-width:450px;
  margin:0 auto;
  padding:16px 12px;
}
.auth-card{
  background:var(--card);
  border-radius:var(--radius);
  padding:var(--pad);
}
.auth-title{
  font-size:1.3rem;
  font-weight:700;
  margin-bottom:12px;
}
.auth-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}
.auth-field label{
  color:#cbd5e1;
}
.auth-field input{
  width:100%;
  background:#0b1220;
  color:var(--text);
  border:1px solid #2b3546;
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  min-height:44px;
}
.auth-btn{
  width:100%;
  padding:12px 14px;
  border:none;
  border-radius:12px;
  background:var(--pri);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.auth-links{
  margin-top:10px;
  font-size:.9rem;
  text-align:center;
}
.auth-links a{
  color:#9fb3ff;
  text-decoration:none;
}
.auth-msg{
  margin-bottom:8px;
  font-size:.9rem;
}
.auth-msg.error{
  color:var(--error);
}
.auth-msg.ok{
  color:var(--ok);
}
