.auth-loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
}

.auth-loading.is-visible {
  display: flex;
}

.auth-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #0B2E59;
  font-size: 15px;
  font-weight: 600;
}

.auth-loading-seal {
  width: 82px;
  height: 82px;
  object-fit: contain;
  animation: auth-seal-pulse 1.2s ease-in-out infinite;
}

@keyframes auth-seal-pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.82; }
  50% { transform: scale(1); opacity: 1; }
}

.leap-frog {
  --uib-size: 40px;
  --uib-speed: 2s;
  --uib-color: rgb(37, 37, 149);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--uib-size);
  height: var(--uib-size);
}

.leap-frog__dot {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
}

.leap-frog__dot::before {
  content: '';
  display: block;
  width: calc(var(--uib-size) * 0.22);
  height: calc(var(--uib-size) * 0.22);
  border-radius: 50%;
  background-color: var(--uib-color);
  will-change: transform;
}

.leap-frog__dot:nth-child(1) { animation: leapFrog var(--uib-speed) ease infinite; }
.leap-frog__dot:nth-child(2) {
  transform: translateX(calc(var(--uib-size) * 0.4));
  animation: leapFrog var(--uib-speed) ease calc(var(--uib-speed) / -1.5) infinite;
}
.leap-frog__dot:nth-child(3) {
  transform: translateX(calc(var(--uib-size) * 0.8)) rotate(0deg);
  animation: leapFrog var(--uib-speed) ease calc(var(--uib-speed) / -3) infinite;
}

@keyframes leapFrog {
  0% { transform: translateX(0) rotate(0deg); }
  33.333% { transform: translateX(0) rotate(180deg); }
  66.666% { transform: translateX(calc(var(--uib-size) * -0.4)) rotate(180deg); }
  99.999% { transform: translateX(calc(var(--uib-size) * -0.8)) rotate(180deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

body.auth-loading-active {
  overflow: hidden;
}