/* ============================================
   AK FITNESS — LOGIN PAGE
   ============================================ */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #0a0a0f 0%, #0f0a1a 35%, #0a1018 65%, #0a0a0f 100%);
}
.login-card {
  width: 100%; max-width: 420px; padding: 44px 36px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  text-align: center;
}
.login-card.shake { animation: shake 0.5s ease; }
.login-logo-img { height: 100px; width: auto; object-fit: contain; margin: 0 auto 24px; }
.login-title {
  font-family: var(--font-heading); font-weight: 700; color: var(--text-primary);
  text-transform: uppercase; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 6px;
}
.login-subtitle { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 32px; }
.login-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.login-btn {
  width: 100%; height: 48px; margin-top: 4px;
  font-size: 0.95rem; letter-spacing: 1.5px;
}
.login-btn.loading { pointer-events: none; opacity: 0.7; }
.login-error {
  color: var(--danger); font-size: 0.82rem; text-align: center;
  min-height: 20px; margin-top: 4px;
}
.login-forgot {
  text-align: center; margin-top: 8px;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}
.login-forgot.visible { opacity: 1; max-height: 40px; }
.login-forgot a { color: var(--text-muted); font-size: 0.8rem; }
.login-forgot a:hover { color: var(--accent-green); }
.login-apply {
  text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 0.82rem;
}
.login-apply a { color: var(--accent-green); font-weight: 600; }
.login-apply a:hover { text-decoration: underline; }
.access-code-info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 8px 3px 8px 3px;
  background: var(--bg-tertiary); color: var(--text-muted);
  font-size: 0.65rem; font-weight: 700; cursor: help;
  margin-left: 6px; position: relative;
}
.access-code-info:hover .tooltip-content { opacity: 1; }
