.employee-body { position: relative; overflow-x: hidden; padding-bottom: 0; }

/* Animated low-poly / gold-edged wave background */
.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--steel-900);
  background-image: url("../assets/img/login-bg.svg");
  background-size: cover;
  background-position: center;
}
.login-bg::before,
.login-bg::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(115deg, transparent 38%, rgba(212,175,106,.32) 48%, rgba(255,232,180,.55) 50%, rgba(212,175,106,.32) 52%, transparent 62%);
  background-size: 220% 220%;
  animation: loginWave 12s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
.login-bg::after {
  background: linear-gradient(70deg, transparent 42%, rgba(230,235,242,.28) 49%, rgba(255,255,255,.42) 50%, rgba(230,235,242,.28) 51%, transparent 58%);
  background-size: 260% 260%;
  animation-name: loginWaveAlt;
  animation-duration: 17s;
  animation-direction: reverse;
  mix-blend-mode: overlay;
}

@keyframes loginWave {
  0%   { background-position: 10% 20%; }
  50%  { background-position: 90% 80%; }
  100% { background-position: 10% 20%; }
}
@keyframes loginWaveAlt {
  0%   { background-position: 80% 10%; }
  50%  { background-position: 15% 85%; }
  100% { background-position: 80% 10%; }
}

@media (prefers-reduced-motion: reduce) {
  .login-bg::before, .login-bg::after { animation: none; }
}

/* Login layout */
.login-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
}
.login-card {
  max-width: 380px;
  width: 100%;
  text-align: center;
  padding: 40px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.login-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 2px solid var(--line); }
.login-card h1 { font-size: 1.4rem; margin: 0 0 4px; color: var(--text); }
.login-sub { color: var(--dim); font-size: 0.9rem; margin: 0 0 26px; }
.login-card form { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.login-card label.field-label { margin: 10px 2px 0; }
.login-card .btn2 { margin-top: 16px; width: 100%; }
.back-link { display: inline-block; margin-top: 22px; font-size: 0.85rem; color: var(--dim); text-decoration: none; }
.back-link:hover { color: var(--text); }
