/* ==========================================================================
   THIAFlow Keyframe Animations & Micro-Interactions
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 88, 59, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(217, 88, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 88, 59, 0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.pulse-accent {
  animation: pulseGlow 2s infinite;
}

/* Skeleton Loading State Utility */
.skeleton {
  background: linear-gradient(90deg, #EBE5DF 25%, #F4EFEA 50%, #EBE5DF 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
