/**
 * Uçuş Takip - Doğa & Karınca Temalı Harita & Pin Stilleri (map.css)
 */

/* Leaflet Özel Yüksek Hassasiyetli Uçuş Pinleri */
.flight-pin-container,
.flight-marker-wrapper {
    background: transparent !important;
    border: none !important;
}

.flight-pin-marker {
    position: relative;
    width: 30px;
    height: 42px;
    display: block;
    cursor: pointer;
    filter: drop-shadow(0 3px 6px rgba(10, 25, 15, 0.5));
    pointer-events: auto;
}

.flight-pin-marker:hover .pin-svg {
    transform: scale(1.18);
}

/* Kraliyet Amber Balı (Kraliçe) */
.flight-pin-marker.pin-queen {
    color: #d97706;
}

/* Çiy Damlası Mavisi (Prens) */
.flight-pin-marker.pin-male {
    color: #0284c7;
}

/* Orman Yosunu (GPS Harita Noktası) */
.flight-pin-marker.pin-pinpoint {
    color: #2d6a4f;
}

.flight-pin-marker .pin-svg {
    display: block;
    width: 30px;
    height: 42px;
    overflow: visible;
    transform-origin: 15px 42px;
    transition: transform 0.15s ease-out;
}

/* Biyo-Işıltılı Canlı Radar Halkası */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.45);
    animation: radarPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
}

@keyframes radarPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.95;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0;
    }
}

/* Leaflet Harita Doğa Koyu Tema İyileştirmesi (Antora Terrarium Night) */
html.dark .leaflet-popup-content-wrapper,
html.dark .leaflet-popup-tip {
    background-color: #222926 !important;
    color: #F2EFE9 !important;
    border: 1px solid #35413C !important;
    box-shadow: 0 10px 26px -5px rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px !important;
}

html.dark .leaflet-container {
    background-color: #161B19 !important;
}

html.dark .leaflet-bar a {
    background-color: #2C3531 !important;
    color: #F2EFE9 !important;
    border-color: #43524B !important;
}

html.dark .leaflet-bar a:hover {
    background-color: #34403B !important;
    color: #F2B84B !important;
}

/* Harita Butonları Etkileşim İyileştirmesi */
.leaflet-bar a {
    transition: all 0.15s ease-in-out !important;
}
.leaflet-bar a:active {
    transform: scale(0.92) !important;
}
