/* Custom styles for Memecoin Management System Dashboard */

/* Set scrollbar styles for better integration with dark theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1A1C28;
}

::-webkit-scrollbar-thumb {
  background: #5B5FEF44;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5B5FEF;
}

/* Apply smooth transitions */
button, a {
  transition: all 0.2s ease;
}

/* Special card hover effects */
.bg-cardBg {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-cardBg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Gradient animations for backgrounds */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-bg {
  background: linear-gradient(-45deg, #5B5FEF, #A259FF, #33D778);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}

/* Glowing effect for important buttons */
.glow-effect {
  box-shadow: 0 0 8px rgba(91, 95, 239, 0.6);
}

.glow-effect:hover {
  box-shadow: 0 0 12px rgba(91, 95, 239, 0.8);
}

/* Custom font styles */
h1, h2, h3 {
  font-family: 'Outfit', 'Inter', sans-serif;
}

/* Helper for text fade out effect */
.text-fade {
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Shine animation for cards on hover */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.0) 100%
  );
}

.shine:hover::after {
  opacity: 1;
  left: 130%;
  transition: left 0.7s ease, opacity 0.6s ease;
}