:root{
  --bg:#070b14;
  --card:#0b1220;
  --stroke:#1f2b45;
  --text:#eaf0ff;
  --muted:#b7c2e6;
  --accent:#5cffb3;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background: radial-gradient(900px 600px at 20% 10%, #1b2f6b44, transparent 55%), var(--bg);
  color:var(--text);
}
.wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.card{
  width:min(520px,100%);
  border:1px solid var(--stroke);
  background:var(--card);
  padding:22px;
  border-radius:16px;
}
.brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  height:64px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(42,108,255,.22), rgba(92,255,179,.20));
  box-shadow:0 16px 36px rgba(90,120,255,.30);
  color:var(--accent);
  font-size:21px;
  font-weight:900;
  letter-spacing:.4px;
  margin-bottom:12px;
  text-decoration:none;
}
h1{
  margin:0 0 8px 0;
  font-size:28px;
}
.sub{
  margin:0 0 16px 0;
  color:var(--muted);
  line-height:1.5;
}
.form{
  display:grid;
  gap:10px;
}
label{
  font-weight:700;
  color:var(--muted);
}
input{
  width:100%;
  border:1px solid #2b3c5e;
  background:#101c33;
  color:var(--text);
  border-radius:10px;
  padding:12px 12px;
  outline:none;
}
input:focus{
  border-color:var(--accent);
}
button{
  margin-top:6px;
  border:1px solid #2b3c5e;
  border-radius:10px;
  padding:12px;
  cursor:pointer;
  font-weight:700;
  color:#081022;
  background:var(--accent);
}
.msg{
  min-height:20px;
  margin:12px 0 0 0;
  color:var(--muted);
}
.msg.error{color:#ff8fa3}
.msg.success{color:var(--accent)}
.hint{
  margin:14px 0 0 0;
}
a{color:var(--accent)}
.hidden{display:none}
