/* Mouse Trail CSS */

.trail {
  position: fixed;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffd700, #ff4500);
  pointer-events: none;
  z-index: 9999;

  transform: translate3d(-50%, -50%, 0);
  will-change: transform;

  filter: drop-shadow(0 0 4px rgba(255, 217, 0, 0.703))
    drop-shadow(0 0 6px rgba(255, 230, 0, 0.4));

  transition: transform 0.05s ease-out, opacity 0.2s ease-out;
  backface-visibility: hidden;
}

/* Loading animation styles */
.loading-animation {
  margin-top: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.loading-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.loading-dots .dot {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background-color: #05caf7;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.loading-text {
  margin-left: 10px;
  color: #05caf7;
  font-size: 14px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* Alert animations */
.alert {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
