/* Success icon bounce animation */
@keyframes successBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.animate-successBounce {
  animation: successBounce 0.6s ease-in-out;
}

/* Checkmark draw animation */
@keyframes checkmark {
  0% {
    stroke-dasharray: 0, 100;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    stroke-dasharray: 100, 100;
    opacity: 1;
  }
}

.animate-checkmark {
  animation: checkmark 0.5s ease-in-out forwards;
  animation-delay: 0.2s;
  stroke-dasharray: 0, 100;
}

/* Pulse effect for success icon background */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0);
  }
}

[data-success-icon] > div {
  animation: pulse-glow 2s ease-in-out infinite;
  animation-delay: 0.6s;
}
