.auth-container {
  animation: cupol-fade-in 0.45s ease both;
}

.scan-line {
  animation: cupol-scan 8s linear infinite;
}

.cupol-submit-spinner {
  animation: cupol-spin 0.8s linear infinite;
}

.auth-field.is-visible,
.auth-feedback:not([hidden]) {
  animation: cupol-fade-in 0.3s ease both;
}

@keyframes cupol-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cupol-scan {
  0% {
    top: -10%;
  }

  100% {
    top: 110%;
  }
}

@keyframes cupol-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-container,
  .scan-line,
  .cupol-submit-spinner,
  .auth-field.is-visible,
  .auth-feedback:not([hidden]) {
    animation: none !important;
  }

  .form-control,
  .btn-primary.cupol-submit {
    transition: none !important;
  }
}
