/* GPS Jamming Ultra-Detailed Interface - Glassmorphism CSS */

/* Glassmorphism panels */
.glassmorphism {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
}

/* Glass buttons */
.glass-button {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Glow buttons */
.btn-glow-success {
    animation: glow-success 2s ease-in-out infinite alternate;
}

.btn-glow-danger {
    animation: glow-danger 2s ease-in-out infinite alternate;
}

@keyframes glow-success {
    from {
        box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
    to {
        box-shadow: 0 0 20px #00ff88, 0 0 30px #00ff88, 0 0 40px #00ff88;
    }
}

@keyframes glow-danger {
    from {
        box-shadow: 0 0 10px #ff0044, 0 0 20px #ff0044, 0 0 30px #ff0044;
    }
    to {
        box-shadow: 0 0 20px #ff0044, 0 0 30px #ff0044, 0 0 40px #ff0044;
    }
}

/* Custom slider */
.custom-slider {
    margin: 20px 0;
}

.custom-slider .rc-slider-track {
    background: linear-gradient(90deg, #00d4ff, #ff3366) !important;
}

.custom-slider .rc-slider-handle {
    border: 2px solid #00ff88 !important;
    background: rgba(0, 255, 136, 0.8) !important;
    box-shadow: 0 0 10px #00ff88 !important;
}

/* Map overlay controls */
.map-controls-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    z-index: 1000;
}

/* Risk category buttons */
.risk-category-btn {
    min-width: 150px;
    margin: 10px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.risk-category-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px currentColor;
}

/* Hexagon overlay styles */
.hexagon-overlay {
    pointer-events: none;
    opacity: 0.8;
}

/* Aircraft markers */
.aircraft-marker-normal {
    fill: cyan;
    stroke: rgba(0, 212, 255, 0.5);
    stroke-width: 1;
}

.aircraft-marker-affected {
    fill: red;
    stroke: rgba(255, 0, 0, 0.8);
    stroke-width: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        r: 4;
        opacity: 1;
    }
    50% {
        r: 8;
        opacity: 0.5;
    }
    100% {
        r: 4;
        opacity: 1;
    }
}

/* Tab styles */
.nav-tabs .nav-link {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #888 !important;
    transition: all 0.3s ease !important;
}

.nav-tabs .nav-link.active {
    background: rgba(0, 212, 255, 0.2) !important;
    border-color: #00d4ff !important;
    color: #00d4ff !important;
}

.nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.8);
}

/* Modal styles */
.modal-content {
    background: rgba(10, 14, 39, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Table styles */
.table-dark {
    background: rgba(0, 0, 0, 0.3) !important;
}

.table-dark th {
    background: rgba(0, 212, 255, 0.1) !important;
    color: #00d4ff !important;
    font-weight: 600;
}

.table-dark td {
    color: #ccc !important;
}

.table-dark tbody tr:hover {
    background: rgba(0, 212, 255, 0.05) !important;
}

/* Badge styles */
.badge-success {
    background: linear-gradient(45deg, #00ff88, #00cc66) !important;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5) !important;
}

.badge-danger {
    background: linear-gradient(45deg, #ff0044, #cc0033) !important;
    box-shadow: 0 0 10px rgba(255, 0, 68, 0.5) !important;
}

.badge-warning {
    background: linear-gradient(45deg, #ffaa00, #ff8800) !important;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.5) !important;
}

.badge-info {
    background: linear-gradient(45deg, #00d4ff, #0099cc) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Alert styles */
.alert {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid currentColor !important;
    border-radius: 10px !important;
}

.alert-danger {
    background: rgba(255, 0, 68, 0.1) !important;
    border-color: #ff0044 !important;
    color: #ff6688 !important;
}

.alert-warning {
    background: rgba(255, 170, 0, 0.1) !important;
    border-color: #ffaa00 !important;
    color: #ffcc44 !important;
}

.alert-info {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: #00d4ff !important;
    color: #66e5ff !important;
}

/* Code blocks */
pre {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 5px !important;
    color: #00ff88 !important;
    padding: 15px !important;
    font-family: 'Courier New', monospace !important;
}

/* Loading animation */
.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 3px solid #00d4ff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover effects for interactive elements */
.interactive-element {
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}