/* Map Component Styles */

.leaflet-container {
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

/* Route map on missions page */
#routeMap {
    height: 500px;
    width: 100%;
}

/* Aerodrome detail map */
#aerodromeMap {
    height: 400px;
    width: 100%;
}

/* Map popups */
.leaflet-popup-content {
    font-size: 0.85rem;
    line-height: 1.4;
}

.leaflet-popup-content strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* Route line styling overrides */
.route-line {
    stroke-dasharray: none;
}

/* Sequence number markers */
.sequence-marker {
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Threshold pin markers */
.thr-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.thr-pin-head {
    background: #0ea5e9;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
    line-height: 1.4;
}

.thr-pin-stem {
    width: 2px;
    height: 12px;
    background: #0ea5e9;
}

.thr-pin-stem::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
    margin-top: -1px;
    margin-left: -2px;
}

/* Stop satellite map override — no extra border inside card */
.stop-sat-map .leaflet-container {
    border: none;
    border-radius: 0;
}

/* Obstacle ID labels on planning map */
.obs-map-label {
    background: transparent;
    border: none;
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 3px rgba(0,0,0,0.9), 0 0 3px rgba(0,0,0,0.9);
}
