/* Custom index.css containing utility classes and animations not covered by tailwind play cdn */

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 101, 155, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 101, 155, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 101, 155, 0);
  }
}

.animate-pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes wave-bounce {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.animate-wave-bar {
  transform-origin: center;
  animation: wave-bounce 1.2s ease-in-out infinite;
}

/* Custom Webkit Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #FFF8F0;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #FF659B;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #E04D82;
}

/* Smooth Fade and Slide Transitions */
.view-transition-enter {
  opacity: 0;
  transform: translateY(10px);
}

.view-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.view-transition-exit {
  opacity: 1;
}

.view-transition-exit-active {
  opacity: 0;
  transition: opacity 300ms ease-in;
}
