/* Custom styles & micro-animations for Telegram Bot Inspector */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(36, 129, 204, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(36, 129, 204, 0.45);
  }
}

.telegram-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Glassmorphism effects */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dark .glass-card {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom transitions */
.transition-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast styling */
#toast {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#toast.hidden-toast {
  transform: translateY(100%) scale(0.9);
  opacity: 0;
  pointer-events: none;
}

#toast.visible-toast {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Custom sleek scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.7);
}
