.main-login { min-height:100vh; margin:0; display:flex; align-items:center; justify-content:center; padding:40px 24px; background:var(--nts-canvas); }
.login-wrapper { display:grid; grid-template-columns:1.15fr 1fr; width:100%; max-width:1080px; min-height:650px; background:var(--nts-surface); border:1px solid var(--nts-border); border-radius:18px; overflow:hidden; box-shadow:0 24px 70px #102f5210; }
.login-brand { position:relative; display:flex; flex-direction:column; justify-content:center; padding:56px; color:#fff; background:#102f52; border-bottom:5px solid var(--nts-accent); }
.logo-container { width:210px; padding:18px 20px; background:#fff; border-radius:8px; margin-bottom:48px; }
.login-logo { display:block; width:100%; height:auto; }
.nts-eyebrow { color:#b8cce3; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; margin:0 0 16px; }
.login-brand h1 { color:#fff; font-size:42px; line-height:1.15; letter-spacing:-1.5px; font-weight:700; margin:0 0 20px; max-width:400px; }
.specialty { color:#c3d4e7; line-height:1.7; font-size:15px; max-width:360px; margin:0; }
.nts-login-steps { list-style:none; padding:0; margin:32px 0 0; display:flex; flex-wrap:wrap; gap:16px; font-size:12px; color:#d6e3f1; }
.nts-login-steps b { display:inline-flex; width:23px; height:23px; align-items:center; justify-content:center; border:1px solid #7490b0; border-radius:50%; margin-right:5px; font-size:10px; }
.login-card { align-self:center; padding:48px; }
.login-header { text-align:left !important; margin-bottom:30px !important; }
.login-title { color:var(--nts-text); font-size:28px; letter-spacing:-.7px; font-weight:700; margin-bottom:10px; }
.login-subtitle { color:var(--nts-muted); line-height:1.6; font-size:14px; }
.login-form .form-group { margin:0 0 20px; padding:0; }
.login-form .form-label { display:block; font-size:13px; margin-bottom:9px; }
.icon-left { margin-right:7px; color:var(--nts-muted); }
.login-form .form-control { min-height:50px; padding:12px 14px; font-size:15px; }
.login-form .input-group .form-control { border-right:0; }
.login-form #togglePassword { border:1px solid var(--nts-border); border-left:0; color:var(--nts-muted); background:var(--nts-surface); min-width:48px; }
.btn-login { min-height:50px; font-size:14px; }
.login-footer { border-top:1px solid var(--nts-border); padding-top:22px; margin-top:30px; color:var(--nts-muted); font-size:12px; line-height:1.8; }
.login-footer .copyright { margin-top:8px; }
.login-theme { position:absolute; right:24px; top:24px; }
.loading-overlay { position:fixed; inset:0; background:#102f52f5; z-index:9999; display:none; flex-direction:column; justify-content:center; align-items:center; gap:14px; color:#fff; }
.loading-overlay.active { display:flex; }
.loading-spinner { width:36px; height:36px; border:3px solid #ffffff40; border-top-color:#fff; border-radius:50%; animation:nts-spin .8s linear infinite; }
.loading-subtext { color:#bfd0e2; font-size:13px; }
@keyframes nts-spin { to { transform:rotate(360deg); } }
@media(max-width:767px) {
  .main-login { min-height:100dvh; padding:10px; align-items:center; }
  .login-wrapper { grid-template-columns:1fr; min-height:0; max-width:440px; max-height:calc(100dvh - 20px); border-radius:14px; overflow:auto; }
  .login-brand { min-height:82px; padding:14px 64px 14px 18px; justify-content:center; border-bottom-width:3px; }
  .logo-container { width:112px; padding:8px 10px; margin:0 0 7px; }
  .login-brand h1, .specialty, .nts-login-steps { display:none; }
  .nts-eyebrow { font-size:9px; letter-spacing:1.4px; margin:0; }
  .login-card { padding:20px 18px 16px; }
  .login-header { margin-bottom:18px !important; }
  .login-title { font-size:22px; margin-bottom:5px; }
  .login-subtitle { font-size:12px; line-height:1.45; margin:0; }
  .login-form .form-group { margin-bottom:14px; }
  .login-form .form-label { margin-bottom:6px; font-size:12px; }
  .login-form .form-control, .btn-login { min-height:46px; }
  .login-form .d-grid { margin-top:18px !important; }
  .login-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding-top:14px; line-height:1.35; }
  .login-footer .copyright { margin:0; text-align:right; }
  .login-theme { top:18px; right:16px; }
  .alert { margin-bottom:14px; padding:10px 38px 10px 12px; font-size:12px; }
}
@media(max-width:380px), (max-height:620px) {
  .main-login { align-items:flex-start; }
  .login-brand { min-height:68px; padding-block:10px; }
  .logo-container { width:96px; margin-bottom:4px; }
  .login-card { padding-block:16px 12px; }
  .login-subtitle, .login-footer .copyright { display:none; }
  .login-header { margin-bottom:14px !important; }
  .login-footer { justify-content:center; margin-top:14px; padding-top:10px; }
}
