/* Контейнер карты */
#map {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: var(--z-map);
    background: #0a0e1a; /* Цвет фона пока грузятся тайлы */
}

/* === Leaflet Dark Theme Overrides === */
.leaflet-popup-content-wrapper {
    background: #1a1a1a;
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.leaflet-popup-tip { background: #1a1a1a; }
.leaflet-popup-close-button { color: #aaa !important; }

/* Контекстное меню попапа (удалить/изменить) */
.custom-popup-menu button {
    display: block; width: 100%;
    background: #333; color: white;
    border: none; padding: 8px 12px; margin-bottom: 4px;
    border-radius: 4px; cursor: pointer; text-align: left;
}
.custom-popup-menu button:hover { background: #444; }

/* === Стили для Иконок (Ракеты, Самолеты) === */
/* Эти классы будут назначаться L.divIcon в JS */

.icon-wrapper {
    position: relative;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s ease;
}

/* Тени для разных типов угроз */
.icon-glow-red svg { filter: drop-shadow(0 0 4px var(--color-red)); }
.icon-glow-yellow svg { filter: drop-shadow(0 0 4px var(--color-yellow)); }
.icon-glow-green svg { filter: drop-shadow(0 0 4px var(--color-green)); }

/* Трасса ракеты */
.rocket-trail {
    stroke-dasharray: 10, 10;
    animation: dash-move 1s linear infinite;
    filter: drop-shadow(0 0 4px var(--color-orange));
}
@keyframes dash-move { to { stroke-dashoffset: -20; } }

/* Метка удара */
.strike-marker {
    font-size: 24px;
    animation: pulse-dot 0.5s infinite;
    filter: drop-shadow(0 0 10px var(--color-red));
}

/* Гексагоны */
.hex-selected {
    stroke: white;
    stroke-width: 2px;
    filter: drop-shadow(0 0 5px currentColor);
}