@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.excuse-card {
  animation: fadeIn 0.5s ease-out;
}

.excuse-text {
  animation: fadeIn 0.6s ease-out;
}

.rating-section {
  animation: fadeIn 0.8s ease-out;
}

.generate-btn:hover {
  animation: bounce 0.5s ease-in-out;
}

.generate-btn.generating {
  animation: pulse 1s ease-in-out infinite;
}

.toast-notification {
  animation: fadeIn 0.3s ease-out;
}

/* Custom scrollbar for favorites */
.space-y-3 {
  max-height: 400px;
  overflow-y: auto;
}

.space-y-3::-webkit-scrollbar {
  width: 8px;
}

.space-y-3::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.space-y-3::-webkit-scrollbar-thumb {
  background: #9333ea;
  border-radius: 10px;
}

.space-y-3::-webkit-scrollbar-thumb:hover {
  background: #7e22ce;
}