/* register.css */
:root{
  --bg:#f1f7ff;
  --card:#ffffff;
  --border: rgba(30,80,160,.18);
  --text:#0b1f33;
  --muted:#4b6a86;
  --accent:#2f80ff;
  --accent2:#22d3ee;
  --ok:#16a34a;
  --bad:#ef4444;
  --shadow: 0 18px 45px rgba(13,45,90,.14);
  --r:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(47,128,255,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(34,211,238,.16), transparent 60%),
    linear-gradient(180deg, #eef6ff, #f9fcff);
}
.wrap{min-height:100%; display:grid; place-items:center; padding:26px 16px}
.card{
  width:min(560px,100%);
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding:22px;
}
.head h1{margin:0; font-size:22px}
.head p{margin:6px 0 0; color:var(--muted); font-size:13px}

.alert{
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13px;
}
.alert.ok{border:1px solid rgba(22,163,74,.22); background: rgba(22,163,74,.10); color:#0f3d22}
.alert.bad{border:1px solid rgba(239,68,68,.25); background: rgba(239,68,68,.10); color:#5b1111}

.form{display:grid; gap:12px; margin-top:10px}
label span{display:block; font-size:12px; color:var(--muted); font-weight:900; margin-bottom:6px}
input{
  height:44px;
  border-radius: 12px;
  border:1px solid rgba(47,128,255,.20);
  background: rgba(47,128,255,.06);
  padding:0 12px;
  outline:none;
}
input:focus{
  border-color: rgba(47,128,255,.55);
  box-shadow: 0 0 0 4px rgba(47,128,255,.12);
}
.btn{
  margin-top: 6px;
  height:46px;
  border-radius: 14px;
  border:none;
  cursor:pointer;
  font-weight: 950;
  letter-spacing: .2px;
  color:white;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 26px rgba(47,128,255,.18);
}
.btn:hover{filter:brightness(1.03)}
.btn:active{transform:translateY(1px)}
.foot{margin-top:14px; text-align:center}
.foot a{color:#0b2a55; font-weight:900; text-decoration:none}
.foot a:hover{text-decoration:underline}
