/* Biometric Button Animations */
.biometric-button {
  transition: all 0.3s ease;
}

.biometric-button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.face-id-icon {
  transition: all 0.4s ease;
  transform-origin: center;
}

.biometric-button:hover .face-id-icon {
  animation: faceIdScan 2s ease-in-out;
}

@keyframes faceIdScan {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  25% {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.2);
  }
  50% {
    transform: scale(1.1) rotate(0deg);
    filter: brightness(1.4);
  }
  75% {
    transform: scale(1.05) rotate(-2deg);
    filter: brightness(1.2);
  }
}

/* Camera Video */
.biometric-video-container {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.biometric-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.biometric-face-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 40% 35% at center,
    transparent 100%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.biometric-capture-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  background-color: black;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.biometric-capture-btn:hover {
  background-color: #333;
}

.biometric-capture-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
