/* Custom animations for sync progress */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.2;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2s ease-in-out infinite;
}

.live-pulsing-bg {
  position: relative;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.01);
  transition: all 0.3s ease;
}

.live-pulsing-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: linear-gradient(45deg,
    rgba(30, 64, 255, 0.01),
    rgba(41, 121, 255, 0.01),
    rgba(0, 183, 255, 0.01),
    rgba(41, 121, 255, 0.01),
    rgba(30, 64, 255, 0.01)
  );
  background-size: 400% 400%;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Dark mode adjustments */
:root[class~="dark"] .live-pulsing-bg::before {
  background: linear-gradient(45deg,
    rgba(120, 120, 255, 0.08),
    rgba(100, 150, 255, 0.12),
    rgba(120, 200, 255, 0.08),
    rgba(100, 150, 255, 0.12),
    rgba(120, 120, 255, 0.08)
  );
}
