:root{
  --brand:#2563eb;        /* neutral blue */
  --brand-dark:#1e40af;
  --bg:#f3f4f6;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --border:#e5e7eb;
  --ring:#93c5fd;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  display:flex; align-items:center; justify-content:center;
  margin:0; padding:24px;
  color: var(--text);
}

.card{
  width:100%; max-width:420px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px 22px 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.brand{
  display:flex; align-items:center; gap:12px;
  padding:10px; margin:-10px -10px 16px;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(37,99,235,0.10), rgba(37,99,235,0.04));
  border:1px solid rgba(37,99,235,0.18);
}
.logo{
  width:42px; height:42px; border-radius:12px;
  display:grid; place-items:center;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(37,99,235,0.35);
  overflow:hidden;
}
.logo svg{ width:28px; height:28px; }

.brand-text h1{
  font-size:16px; margin:0; font-weight:700; letter-spacing:0.2px;
}
.tag{
  display:inline-block;
  font-size:11px; color:var(--muted);
}

.title{ margin:10px 0 14px; font-size:18px; }

label{ display:block; margin-top:10px; font-size:13px; color:var(--text); }
input{
  width:100%; margin-top:6px;
  padding:10px 12px; font-size:14px;
  border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--text);
  outline:none;
}
input:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.password-wrap{ position:relative; }
.password-wrap .hint{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  font-size:11px; color:var(--muted);
}

.grid{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }

.btn-primary{
  margin-top:16px; width:100%;
  padding:12px 14px; border:none; border-radius:10px;
  background:var(--brand); color:white; font-weight:600; cursor:pointer;
  transition: transform .02s ease, background .2s ease;
}
.btn-primary:hover{ background: var(--brand-dark); }
.btn-primary:active{ transform: translateY(1px); }

.note{ font-size:12px; color:var(--muted); margin-top:10px; }

.confirm{ text-align:center; }
.muted{ color:var(--muted); }
.link{ color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
