/* Base styles */
body {
    scroll-behavior: smooth;
}

/* Radar animation */
@keyframes radar-sweep {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.radar-container {
    position: relative;
    background: radial-gradient(circle, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0) 70%);
}

#radarCanvas {
    background: radial-gradient(circle, rgba(30,41,59,0.8) 0%, rgba(15,23,42,1) 100%);
}

/* Connection dot animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Threat level badges */
.threat-low {
    background-color: rgba(16, 185, 129, 0.1);
    color: rgb(16, 185, 129);
}

.threat-medium {
    background-color: rgba(234, 179, 8, 0.1);
    color: rgb(234, 179, 8);
}

.threat-high {
    background-color: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .radar-container {
        height: 60vh;
    }
}