/* Shared auth logo medallion: quiet white halo on dark-luxe forms. */
.auth-card .brand,
.auth-card .register-brand {
  position: relative;
  isolation: isolate;
  display: grid !important;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  place-items: center;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, .10), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow:
    0 0 25px rgba(255, 255, 255, .08),
    0 14px 30px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.auth-card .brand::before,
.auth-card .register-brand::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035) 38%, transparent 70%);
  filter: blur(8px);
  opacity: .58;
  pointer-events: none;
  animation: authLogoHalo 5.6s ease-in-out infinite;
}

.auth-card .brand::after,
.auth-card .register-brand::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
  pointer-events: none;
}

.auth-card .brand img,
.auth-card .register-brand img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto !important;
  height: 42px !important;
  max-width: 54px !important;
  object-fit: contain;
  filter:
    drop-shadow(0 7px 14px rgba(0, 0, 0, .34))
    drop-shadow(0 0 5px rgba(255, 255, 255, .08)) !important;
}

@keyframes authLogoHalo {
  0%, 100% { opacity: .46; transform: scale(.96); }
  50% { opacity: .68; transform: scale(1.035); }
}

@media (max-width: 575.98px) {
  .auth-card .brand,
  .auth-card .register-brand {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .auth-card .brand img,
  .auth-card .register-brand img {
    height: 38px !important;
    max-width: 49px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card .brand::before,
  .auth-card .register-brand::before {
    animation: none !important;
  }
}
