:root{
  --auth-card-width:460px;
}
.auth-body{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:32px 18px;
  background:
    radial-gradient(circle at 15% 10%,rgba(91,91,214,.12),transparent 34%),
    radial-gradient(circle at 85% 85%,rgba(129,140,248,.12),transparent 30%),
    #f4f6fb;
}
.auth-shell{
  width:min(100%,var(--auth-card-width));
}
.auth-card{
  width:100%;
  background:#fff;
  border:1px solid #e3e7ef;
  border-radius:22px;
  padding:30px;
  box-shadow:0 22px 70px rgba(28,39,70,.11);
  overflow:visible;
}
.auth-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:28px;
}
.auth-brand .brand-mark{
  width:42px;
  height:42px;
  border-radius:13px;
}
.auth-brand strong{
  font-size:20px;
  letter-spacing:-.02em;
}
.auth-heading{
  margin-bottom:24px;
}
.auth-heading h1{
  margin:0 0 6px;
  font-size:34px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.auth-heading p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.auth-card .stack-form{
  gap:16px;
}
.auth-card .field{
  margin:0;
  gap:7px;
}
.auth-card .field label{
  font-size:13px;
  font-weight:650;
}
.auth-card .form-control{
  min-height:48px;
  border-radius:11px;
  padding:11px 13px;
  font-size:15px;
}
.auth-card .form-control::placeholder{
  color:#9aa3b3;
}
.auth-card .alert{
  margin:0 0 18px;
}
.auth-password-wrap{
  position:relative;
}
.auth-password-wrap .form-control{
  padding-right:48px;
}
.password-toggle{
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:0;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
}
.password-toggle:hover{
  color:var(--primary);
  background:var(--primary-soft);
}
.password-toggle svg{
  width:17px;
  height:17px;
}
.auth-card .button.full{
  min-height:48px;
  margin-top:4px;
  border-radius:11px;
  font-size:15px;
}
.auth-help{
  margin:20px 0 0;
  padding-top:18px;
  border-top:1px solid var(--line);
  text-align:center;
  color:var(--muted);
  font-size:12px;
}
.auth-help strong{
  color:var(--text);
  font-weight:600;
}
.auth-security{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin:14px 0 0;
  color:#7b8495;
  font-size:11px;
}
.auth-security svg{
  width:14px;
  height:14px;
}
@media(max-width:520px){
  .auth-body{padding:18px 12px;align-items:start}
  .auth-card{padding:24px 20px;border-radius:18px;margin-top:18px}
  .auth-heading h1{font-size:29px}
}
