/* Estado visual autoritativo do primeiro paint da verificação de sessão. */
html.auth-pending,
html.auth-pending body {
  width: 100%;
  min-height: 100%;
  overflow: hidden !important;
}

html.auth-pending body.login-body {
  animation: none !important;
}

html.auth-pending .login-page {
  display: none !important;
}

.auth-session-loader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 106, 0, 0.055) 0, rgba(255, 106, 0, 0.025) 18%, rgba(250, 249, 247, 0) 42%),
    #faf9f7;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 160ms ease,
    visibility 0s linear 0s;
}

html.auth-ready .auth-session-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    visibility 0s linear 160ms;
}

.auth-session-loader__content {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  filter: drop-shadow(0 10px 24px rgba(255, 106, 0, 0.08));
}

.auth-session-loader__ring {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.auth-session-loader__track,
.auth-session-loader__progress {
  fill: none;
  stroke-width: 1.7;
}

.auth-session-loader__track {
  stroke: rgba(255, 106, 0, 0.12);
}

.auth-session-loader__progress {
  stroke: #ff5a2f;
  stroke-linecap: round;
  stroke-dasharray: 22 78;
  transform-origin: center;
  animation: pedefi-auth-loader-spin 1s linear infinite;
}

.auth-session-loader__symbol {
  display: block;
  width: 126px;
  height: auto;
  max-width: none;
  pointer-events: none;
  transform: translateX(-7px);
}

@keyframes pedefi-auth-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .auth-session-loader__content {
    width: 100px;
    height: 100px;
  }

  .auth-session-loader__symbol {
    width: 114px;
    transform: translateX(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-session-loader,
  .auth-session-loader__progress {
    transition: none !important;
    animation: none !important;
  }

  .auth-session-loader__progress {
    stroke-dasharray: 16 84;
  }
}
