/* QPal authentication centering correction and progress-indicator removal. */
.user-auth-overlay {
  display: flex !important;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  justify-content: safe center !important;
  gap: clamp(16px, 2.2vh, 22px) !important;
  box-sizing: border-box !important;
}

.qpal-auth-value,
.user-auth-overlay > .user-auth-dialog {
  flex: 0 0 auto;
  margin: 0 !important;
}

.qpal-auth-value {
  transform: translateY(-6px);
}

/* Prevent any visual flash before the matching DOM node is removed. */
.user-auth-progress {
  display: none !important;
}

@media (max-height: 680px) {
  .user-auth-overlay {
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .qpal-auth-value {
    transform: none;
  }
}
