:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --primary:#2563eb;
  --primary2:#1d4ed8;
  --shadow: 0 10px 30px rgba(2,6,23,0.08);
  --radius:16px;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 500px at 20% 10%, #dbeafe, transparent 60%),
              radial-gradient(1000px 500px at 80% 20%, #fee2e2, transparent 55%),
              var(--bg);
  color:var(--text);
}
.auth-wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.card{
  width:100%;
  max-width:460px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-header{
  padding:22px 22px 14px;
  border-bottom:1px solid var(--border);
  display:flex;
  gap:14px;
  align-items:center;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{
  width:56px;
  height:56px;
  object-fit:contain;
}
.brand h1{
  margin:0;
  font-size:18px;
  line-height:1.2;
}
.brand p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13px;
}
.card-body{ padding:18px 22px 22px; }

.field{ margin-bottom:14px; }
label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}
.input{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  outline:none;
  font-size:14px;
  background:#fff;
}
.input:focus{
  border-color:#93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.helper{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin:8px 0 14px;
}
.checkbox{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:13px;
  color:var(--muted);
}
.checkbox input{ width:16px; height:16px; }
a{ color:var(--primary); text-decoration:none; font-size:13px; }
a:hover{ text-decoration:underline; }

.btn{
  width:100%;
  padding:12px 14px;
  border:none;
  border-radius:12px;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color:#fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
}
.note{
  margin-top:12px;
  font-size:13px;
  color:var(--muted);
  text-align:center;
}
.password-wrap{ position:relative; }
.toggle-pass{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  padding:6px 10px;
  font-size:12px;
  cursor:pointer;
  color:var(--muted);
}
.hint{
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
  line-height:1.4;
}
