﻿
:root {
    --background: 255, 6%, 5%;
    --foreground: 255, 6%, 98%;
}

body {
    font-family: "Inter", sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

#map {
    height: 500px;
}

.leaflet-tile-container img {
    width: 256.5px !important;
    height: 256.5px !important;
}

.leaflet-container {
    background: transparent;
}

.leaflet-popup-content {
    font-size: 1rem;
    font-weight: 800;
}

.tns-icon-marker {
    border-radius: 999px;
}

/* Lamp Post Visualization Styles */
.lamp-marker {
    pointer-events: auto;
}

.lamp-popup .leaflet-popup-content-wrapper {
    background: #1a1a1a !important;
    color: #eee !important;
    border-radius: 8px !important;
    border: 1px solid #ffeb3b !important;
}

.lamp-popup .leaflet-popup-tip {
    background: #1a1a1a !important;
    border: 1px solid #ffeb3b !important;
}

/* Network Graph Styles */
#network-graph4 {
    border: 1px solid #333;
}

#network-graph4 canvas {
    border-radius: 8px;
}

#info-panel4 {
    transition: all 0.3s ease;
}

#stats-panel4 h3 {
    color: #3498db;
    margin-bottom: 10px;
}

/* Filter controls styling */
select, input[type="text"] {
    background: #1a1a2e !important;
    color: #eee !important;
    border: 1px solid #333 !important;
}

select:focus, input[type="text"]:focus {
    border-color: #3498db !important;
    outline: none !important;
}

/* Network node styling */
.sigma-node {
    cursor: pointer;
}

.sigma-edge {
    pointer-events: none;
}

/* Container layouts */
#container3a {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #0a0a0a 100%);
    margin: 0;
    padding: 0;
}

/* Smooth transitions for interactive elements */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

/* Dark theme adjustments */
.dark-overlay {
    mix-blend-mode: multiply;
}

@keyframes lampGlow {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.8; transform: scale(1); }
}

.lamp-glow {
    animation: lampGlow 3s ease-in-out infinite;
}

/* Flight Tooltip Styles - Override Leaflet defaults */
.leaflet-tooltip.flight-tooltip {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.leaflet-tooltip.flight-tooltip::before {
    display: none !important;
}

.leaflet-tooltip-left.flight-tooltip::before,
.leaflet-tooltip-right.flight-tooltip::before,
.leaflet-tooltip-top.flight-tooltip::before,
.leaflet-tooltip-bottom.flight-tooltip::before {
    display: none !important;
}

/* Custom transparent tooltip class */
.leaflet-tooltip.custom-transparent-tooltip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.leaflet-tooltip.custom-transparent-tooltip::before {
    display: none !important;
}

    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

    position: relative;
}

    cursor: pointer;
}

    background: rgba(26, 26, 46, 0.95) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 12px !important;
    border: 1px solid rgba(0, 188, 212, 0.5) !important;
    backdrop-filter: blur(10px) !important;
}

    pointer-events: auto;
}

    width: 6px;
}

    background: rgba(26, 26, 46, 0.3);
    border-radius: 3px;
}

    background: rgba(0, 188, 212, 0.6);
    border-radius: 3px;
}

    background: rgba(0, 188, 212, 0.8);
}

    0% { 
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
        transform: scale(1);
    }
    70% { 
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
        transform: scale(1);
    }
}

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

    display: none !important;
}

@media (max-width: 768px) {
        width: 300px !important;
        font-size: 0.9rem;
    }
    
        width: 250px !important;
    }
}

@media (max-width: 480px) {
        position: relative !important;
        width: 100% !important;
        margin: 10px 0 !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
    }
    
        height: 60vh !important;
    }
}


