/* Smooth scrolling for anchor links or internal navigation */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for a more app-like feel - Pink/Blue Theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #f9a8d4; /* pink-300 */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f472b6; /* pink-400 */
}

/* Toast animation */
@keyframes bounce-short {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.animate-bounce-short {
  animation: bounce-short 0.3s ease-in-out;
}

/* Fade in animation */
@keyframes fade-in-slide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.animate-in {
  animation: fade-in-slide 0.5s ease-out forwards;
}

/* Line clamp for description */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
