:root{
  --bg:#0b0f14;
  --panel:rgba(255,255,255,.03);
  --text:#e9edf2;
  --muted:#a7b0bd;
  --border:rgba(255,255,255,.12);
  --danger:rgba(255,90,107,.18);
}

*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  display:grid;
  place-items:center;
  font-family:system-ui,Segoe UI,Arial;
  background:radial-gradient(1000px 700px at 20% 0%, rgba(255,255,255,.06), transparent 55%), var(--bg);
  color:var(--text);
}

.card{
  width:min(420px, 92vw);
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:20px;
  padding:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.logo{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.07);
  border:1px solid var(--border);
  font-size:20px;
}

h1{
  margin:0;
  font-size:18px;
  font-weight:900;
}

.sub{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
}

.alert{
  border:1px solid rgba(255,90,107,.35);
  background:var(--danger);
  padding:10px 12px;
  border-radius:14px;
  margin:12px 0;
  color:var(--text);
  font-size:13px;
}

label{
  display:block;
  margin:12px 0 6px;
  color:var(--muted);
  font-size:13px;
}

input{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}

input:focus{
  border-color:rgba(155,208,255,.45);
}

button{
  width:100%;
  margin-top:14px;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.10);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}

button:hover{
  background:rgba(255,255,255,.14);
}

.footer{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  color:var(--muted);
}

.footer a{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.25);
}

.small{
  font-size:12px;
  color:var(--muted);
}
