/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.8);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
  }
}

.glow-active {
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Product Card Hover effects */
.product-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.2);
}

/* Webhook Log Item Hover */
.webhook-item {
  transition: all 0.2s ease;
}
.webhook-item.active {
  background-color: rgba(30, 41, 59, 0.9);
  border-color: rgba(99, 102, 241, 0.5);
}

/* JSON Viewer formatting styles */
.json-key {
  color: #93c5fd; /* light blue */
}
.json-string {
  color: #86efac; /* soft green */
}
.json-number {
  color: #fde047; /* yellow */
}
.json-boolean {
  color: #f472b6; /* pink */
}
.json-null {
  color: #94a3b8; /* slate */
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
