@import "tailwindcss";

@config "../../tailwind.config.js";

/* Global dark mode styles */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Ensure scrollbar has correct styles in dark mode */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.5);
}

/* Scrollbar styles in dark mode */
.dark ::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.5);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(75, 85, 99, 0.7);
}

/* Toast animations */
@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutToTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

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

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

/* Progress bar animations */
.progress-bar {
  transition: width 0.3s ease-in-out;
}

/* Toast container styles */
.toast-container {
  backdrop-filter: blur(8px);
}