/* Custom Scrollbars */
.custom-scroll::-webkit-scrollbar {
  width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 233, 0.4);
  border-radius: 8px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 165, 233, 0.8);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Radar Sweep Animation */
.radar-sweep {
  background: conic-gradient(from 0deg, rgba(6, 182, 212, 0.4) 0deg, rgba(6, 182, 212, 0) 90deg, transparent 360deg);
  animation: radar-spin 2.5s linear infinite;
  border-radius: 50%;
}

@keyframes radar-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Modal Pop Animation */
@keyframes modal-pop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal-pop {
  animation: modal-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Active Filter Tab */
.filter-tab.active {
  background-color: #0891b2 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(8, 145, 178, 0.5);
}

/* Button & Canvas Touch optimizations */
canvas {
  touch-action: none;
}

button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}