:root{
  --bg0:#070a12;
  --bg1:#0b1220;
  --card:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.14);
  --text:#e8f0ff;
  --muted:rgba(232,240,255,.72);
  --accent:#22c55e;
  --danger:#fb7185;
  --shadow:0 18px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:radial-gradient(900px 600px at 15% 15%, rgba(34,197,94,.18), transparent 60%),
             radial-gradient(900px 600px at 85% 35%, rgba(56,189,248,.16), transparent 55%),
             linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.bg{position:fixed;inset:0;pointer-events:none}
.grain{
  position:absolute;inset:-20%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity:.25;
  transform:rotate(6deg);
}
.shapes .shape{position:absolute;display:block;border-radius:999px;filter:blur(0px);opacity:.9}
.s1{width:560px;height:560px;left:-140px;top:-170px;background:radial-gradient(circle at 30% 30%, rgba(34,197,94,.35), rgba(34,197,94,.06) 60%, transparent 70%)}
.s2{width:520px;height:520px;right:-170px;top:60px;background:radial-gradient(circle at 35% 35%, rgba(56,189,248,.30), rgba(56,189,248,.06) 60%, transparent 70%)}
.s3{width:640px;height:640px;left:25%;bottom:-240px;background:radial-gradient(circle at 35% 35%, rgba(251,113,133,.22), rgba(251,113,133,.05) 60%, transparent 70%)}

.wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.card{
  width:min(460px, 100%);
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(10px);
}

.card-hd{padding:22px 22px 16px;border-bottom:1px solid rgba(255,255,255,.10)}
.brand{display:flex;gap:14px;align-items:center}
.logo{
  width:44px;height:44px;border-radius:12px;
  background:linear-gradient(135deg, rgba(34,197,94,.9), rgba(56,189,248,.7));
  display:flex;align-items:center;justify-content:center;
  font-weight:900;letter-spacing:.5px;
  color:#051018;
}
.brand-title{font-weight:800;font-size:16px}
.brand-sub{margin-top:2px;color:var(--muted);font-size:12px}

.card-bd{padding:18px 22px 22px}

.alert{
  border:1px solid rgba(251,113,133,.35);
  background:rgba(251,113,133,.10);
  color:#ffd3da;
  border-radius:12px;
  padding:10px 12px;
  margin-bottom:14px;
  font-size:13px;
}

.form{display:flex;flex-direction:column;gap:12px}
.field{display:flex;flex-direction:column;gap:7px}
.label{font-size:12px;color:var(--muted)}
input{
  appearance:none;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(3,8,18,.55);
  color:var(--text);
  padding:12px 12px;
  font-size:14px;
  outline:none;
}
input:focus{
  border-color:rgba(56,189,248,.6);
  box-shadow:0 0 0 4px rgba(56,189,248,.14);
}
.btn{
  margin-top:4px;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  font-weight:800;
  color:#071316;
  background:linear-gradient(135deg, rgba(34,197,94,1), rgba(56,189,248,1));
  cursor:pointer;
}
.btn:hover{filter:brightness(1.02)}
.hint{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color:#c7f9d3;
}

.foot{
  position:fixed;
  left:0;right:0;bottom:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:rgba(232,240,255,.65);
  font-size:12px;
  pointer-events:none;
}
.dot{width:4px;height:4px;border-radius:999px;background:rgba(232,240,255,.45)}

