/* LOTUS 4K — Auth pages refinements (2026-08-01)
 * Surcharges locales pour login / signup / forget / new_password.
 * S'appuie sur lotus-admin.css (variables déjà définies).
 */

/* Brand side : légère grille + cercle qui pulse */
.auth-page__brand {
  position: relative;
  overflow: hidden;
}
.auth-page__brand::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.20) 0%, transparent 40%);
  pointer-events: none;
}
.auth-page__brand .lotus-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.40);
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  position: relative; z-index: 1;
}

/* Form side : carte centrée */
.auth-card {
  position: relative;
  animation: lotus-fade-in 0.25s ease both;
}

/* Mode sombre : assombrir la brand pour cohérence avec sidebar dark */
[data-bs-theme="dark"] .auth-page__brand {
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 60%, #C9181F 100%);
}
[data-bs-theme="dark"] .auth-page__brand .lotus-mark {
  background: rgba(237, 28, 36, 0.20);
  border-color: rgba(237, 28, 36, 0.50);
}

/* Skip-link accessibilité */
.skip-link {
  position: absolute; left: -9999px;
  background: var(--lotus-primary); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--lotus-radius-sm);
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }
