:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --primary:#1565d8;
  --primary-dark:#0f4ea8;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Noto Sans SC",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:linear-gradient(160deg,#f5f9ff 0%,#eef2ff 45%,#fbfdff 100%);
  color:var(--text);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
  gap:24px;
  min-height:100vh;
}

.auth-card{
  width:min(420px, 100%);
  background:var(--card);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(15,78,168,0.18);
  padding:36px 34px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.auth-card header{
  text-align:center;
}
.auth-card header h1{
  margin:4px 0 8px;
  font-size:28px;
  font-weight:800;
  color:var(--primary);
}
.auth-card header p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.label-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
label{font-weight:700;font-size:14px}
input{
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:14px;
}
input:focus{
  border-color:var(--primary);
  outline:none;
  box-shadow:0 0 0 3px rgba(21,101,216,0.16);
}

button{
  padding:12px 16px;
  border:0;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
button:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 36px rgba(15,78,168,0.22);
}
button:disabled{
  opacity:.6;
  cursor:not-allowed;
  box-shadow:none;
}

.alt-link{
  text-align:center;
  font-size:14px;
  color:var(--muted);
}
.alt-link a{color:var(--primary);text-decoration:none;font-weight:700}
.alt-link a:hover{text-decoration:underline}

.status{font-size:14px;text-align:center}
.status.error{color:#dc2626}
.status.success{color:#15803d}

.legal-links{
  font-size:13px;
  color:var(--muted);
  text-align:center;
}
.legal-links a{
  color:var(--primary);
  text-decoration:none;
  margin:0 8px;
}
.legal-links a:hover{text-decoration:underline}
