@tailwind base;
@tailwind components;
@tailwind utilities;

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-in-from-bottom-4 {
  from {
    transform: translateY(1rem);
    opacity: 0;
  }

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

@keyframes slide-in-from-right-4 {
  from {
    transform: translateX(1rem);
    opacity: 0;
  }

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

@keyframes zoom-in-95 {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-in {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.fade-in {
  animation-name: fade-in;
}

.slide-in-from-bottom-4 {
  animation-name: slide-in-from-bottom-4;
}

.slide-in-from-bottom-2 {
  animation-name: slide-in-from-bottom-4;
  animation-duration: 0.3s;
}

.slide-in-from-right-4 {
  animation-name: slide-in-from-right-4;
}

.zoom-in-95 {
  animation-name: zoom-in-95;
}

.duration-500 {
  animation-duration: 0.5s;
}

.duration-300 {
  animation-duration: 0.3s;
}

/* Ensure tooltips are not clipped by cards */
.card-tooltip-container {
  overflow: visible !important;
}