.liveness-analyzing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.85);
  /* Dark blue-gray */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
  /* Max integer value to force top */
  backdrop-filter: blur(4px);
  cursor: wait;
}

.liveness-analyzing-overlay .loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #0EA5E9;
  border-radius: 50%;
  animation: spin-overlay 1s linear infinite;
  z-index: 2147483648;
}

.liveness-analyzing-overlay .analyzing-text {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 20px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: pulse-overlay 1.5s ease-in-out infinite;
  z-index: 2147483648;
}

@keyframes spin-overlay {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-overlay {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}
