.login-body {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
}
.login-wrap { width: 100%; max-width: 420px; padding: 20px; }
.login-card {
  background: #fff; border-radius: 18px; padding: 36px 30px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.login-logo {
  width: 56px; height: 56px; border-radius: 14px; background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.login-logo svg { width: 28px; height: 28px; }
.login-head h1 { font-size: 22px; text-align: center; letter-spacing: 1px; }
.login-head p { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 26px; }

.login-field { margin-bottom: 15px; display: flex; flex-direction: column; gap: 6px; }
.login-field label { font-size: 13px; color: var(--muted); }
.login-field input { padding: 10px 12px; }

.pwd-box { position: relative; }
.pwd-box input { padding-right: 44px; }
.pwd-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
  border: none; background: transparent; color: var(--muted); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.pwd-toggle:hover { background: #f1f5f9; }
.pwd-toggle .ico { width: 17px; height: 17px; }
.pwd-toggle.active { color: var(--primary); }

.login-err {
  background: var(--danger-bg); color: var(--danger); font-size: 13px;
  padding: 9px 12px; border-radius: 8px; margin-bottom: 14px;
}
#btn-login { padding: 11px; font-size: 16px; letter-spacing: 6px; }

.login-foot {
  display: flex; align-items: center; justify-content: space-between; margin-top: 20px;
}
.lv-badge { font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 20px; padding: 3px 10px; }
.link { font-size: 13px; }

@media (max-width: 420px) {
  .login-card { padding: 30px 22px 20px; }
}