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

/* Scope Tailwind to only affect #root (React dashboard) */
#root {
  color: #FFFFFF;
  background-color: #0B0E14;
}

/* Custom scrollbar styles */
#root .custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

#root .custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#root .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

#root .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Base styles for dark theme */
@layer base {
  #root {
    background-color: #0B0E14;
    color: #FFFFFF;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#root .animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Dashboard specific animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#root .animate-slide-in-left {
  animation: slideInLeft 0.3s ease-out;
}

/* Smooth transitions for dashboard elements */
#root .transition-all {
  transition: all 0.3s ease;
}

/* Hover effects for interactive elements */
#root .hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#root .hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
