/* Login: constellation canvas (aurora.js), drifting aurora, floating glass card,
   spinning logo halo, gradient title, staggered field entrance. */
.login-wrap { position: relative; overflow: hidden; isolation: isolate; background: var(--au-bg); }
.au-login-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.login-wrap::before { z-index: 0; }
.login-aurora { display: none; }
.login-card {
  position: relative; z-index: 1;
  background: var(--au-glass-strong) !important; border: 0 !important;
  backdrop-filter: var(--au-blur); -webkit-backdrop-filter: var(--au-blur);
  box-shadow: var(--au-shadow), 0 50px 140px -30px rgb(0 0 0 / .8), 0 0 120px -40px rgb(var(--au-v-rgb) / .6) !important;
  border-radius: 28px !important;
  animation: auPop .9s var(--au-ease) both, auFloat 7s ease-in-out 1s infinite;
}
.login-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--au-angle), var(--au-violet), var(--au-cyan), var(--au-pink), var(--au-violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: auEdge 7s linear infinite; opacity: .9;
}
.login-card > * { animation: auIn .8s var(--au-ease) both; }
.login-card > *:nth-child(2) { animation-delay: .08s; } .login-card > *:nth-child(3) { animation-delay: .14s; }
.login-card > *:nth-child(4) { animation-delay: .2s; } .login-card > *:nth-child(5) { animation-delay: .26s; }
.login-card > *:nth-child(6) { animation-delay: .32s; } .login-card > *:nth-child(7) { animation-delay: .38s; }
.login-card > *:nth-child(8) { animation-delay: .44s; } .login-card > *:nth-child(9) { animation-delay: .5s; }
.login-card .brand-lg { font-weight: 900; letter-spacing: -.02em; }
.login-card .logo-cube { position: relative; }
.login-card .logo-cube::after {
  content: ''; position: absolute; inset: -7px; border-radius: 14px; border: 1.5px dashed rgb(var(--au-v-rgb) / .6); animation: auSpin 9s linear infinite;
}
.login-card h2 {
  background: linear-gradient(110deg, #fff 15%, #c9bcff 40%, #8ff0ff 65%, #fff 90%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: auFlowText 8s ease-in-out infinite;
  font-weight: 900;
}
.login-card .btn.primary { width: 100%; min-height: 48px; font-size: 15px; }
.login-badge { background: rgb(61 220 151 / .08) !important; }
html[data-theme="light"] .login-wrap { background: #f2f1fb; }
html[data-theme="light"] .login-card h2 { background-image: linear-gradient(110deg, #1b1340 15%, #6a4dff 40%, #0aa5c4 65%, #1b1340 90%); }
