#login-view { display: flex; min-height: 100vh; background: var(--bg); }
#login-view.d-none { display: none; }
#login-left {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #242424;
  color: #fff;
}
#login-left::before, #login-left::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
#login-left::before { width: 620px; height: 620px; right: -250px; top: -180px; box-shadow: 0 0 0 42px rgba(255,255,255,.03), 0 0 0 84px rgba(255,255,255,.02); }
#login-left::after { width: 330px; height: 330px; left: -140px; bottom: -120px; border-color: rgba(255,255,255,.16); }
.login-left-content { position: relative; z-index: 1; max-width: 400px; padding: 2rem; }
.login-left-content::before { content: 'CONTROL / DATA / OPERATIONS'; display: block; margin-bottom: 28px; color: #91a4d9; font: 10px/1.4 monospace; letter-spacing: .18em; }
.login-brand-icon { display: grid; width: 64px; height: 64px; margin-bottom: 24px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 1.65rem; }
.login-brand-name { margin-bottom: 10px; font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -.08em; line-height: .9; }
.login-brand-desc { max-width: 280px; margin: 0; color: #d4d4d4; font-size: .95rem; line-height: 1.65; }
#login-right { display: flex; width: 500px; min-width: 500px; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; background: var(--surface); }
:root[data-theme="dark"] #login-left { background: #0d0d0d; }
:root[data-theme="dark"] #login-right { background: var(--bg); }
.login-card { width: 100%; max-width: 360px; }
.login-form-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 18px; place-items: center; border-radius: 14px; background: var(--primary-light); color: var(--primary); font-size: 1.2rem; }
.login-form-title { margin-bottom: 7px; color: var(--text); font-size: 1.35rem; font-weight: 750; }
.login-form-sub { margin-bottom: 28px; color: var(--text-muted); font-size: .84rem; }
.login-card .form-label { font-weight: 600; }
.login-card .input-group-text { border-radius: 9px 0 0 9px; }
.login-card .input-group .form-control { border-radius: 0 9px 9px 0; }
.btn-login { padding: .75rem; }
.login-footer { margin-top: 2.5rem; text-align: center; }
@media (max-width: 991.98px) { #login-left { display: none; } #login-right { width: 100%; min-width: 100%; } }
