:root{
  --bg:#f3f5f7;
  --card-bg:#ffffff;
  --navy:#0f2340;
  --accent:#3b82f6;
  --muted:#6b7280;
  --shadow: 0 8px 26px rgba(16,24,40,0.12);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
html,body{height:100%;}
body{
  margin:0;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.5), transparent 10%),
    radial-gradient(circle at 90% 90%, rgba(255,255,255,0.6), transparent 10%);
}

.pattern{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
}

.card{
  width:460px;
  background:var(--card-bg);
  border-radius:8px;
  box-shadow:var(--shadow);
  overflow:hidden;
  z-index:2;
  border:1px solid rgba(15,35,64,0.06);
}

.card .top{
  background:var(--navy);
  color:white;
  padding:34px 40px 28px;
  text-align:center;
}

.logo{
  width:72px;
  height:72px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.logo svg{
  width:44px;
  height:44px;
}

h1{
  font-size:20px;
  margin:0 0 6px;
  font-weight:700;
}

p.lead{
  font-size:13px;
  margin:0;
  color:rgba(255,255,255,0.75);
  line-height:1.4;
}

.body{
  padding:26px 32px 34px;
}

label{
  display:block;
  font-size:13px;
  color:#0f1724;
  font-weight:600;
  margin-bottom:8px;
}

.input{
  width:100%;
  padding:12px 14px;
  border-radius:6px;
  border:1px solid #e6e9ef;
  background:#fafbfc;
  box-sizing:border-box;
  font-size:14px;
  color:#111827;
  margin-bottom:18px;
}

.btn{
  display:block;
  width:100%;
  padding:12px 16px;
  border-radius:6px;
  border:none;
  background:var(--accent);
  color:white;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(59,130,246,0.18);
}

.muted-center{
  text-align:center;
  color:var(--muted);
  margin-top:18px;
  font-size:14px;
}

.alert{
  padding:10px 12px;
  border-radius:6px;
  margin-bottom:14px;
  font-size:14px;
}

.alert-info{
  background:#eef2ff;
  color:#1f2937;
  border:1px solid rgba(59,130,246,0.12);
}

.alert-danger{
  background:#fff1f2;
  color:#7f1d1d;
  border:1px solid rgba(220,38,38,0.08);
}

@media (max-width:520px){
  .card{width:92%;}
}
