.radar-main.map-mode {
    padding: 0;
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #0a1628;
}

.map-overlay-panel {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(94, 184, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    z-index: 1000;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    display: none;
}

.overlay-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--warning);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.dist-readout {
    font-family: 'Courier Prime', monospace;
    font-size: 1.2rem;
    color: var(--foam);
    margin-bottom: 8px;
}

.elev-readout {
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.path-step {
    font-size: 0.8rem;
    color: var(--sky);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.path-step::before {
    content: '>';
    color: var(--tide);
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
}

/* Custom map markers */
.leaflet-popup-content-wrapper {
    background: rgba(10, 22, 40, 0.95);
    color: var(--white);
    border: 1px solid var(--foam);
    border-radius: 4px;
    font-family: 'Courier Prime', monospace;
}

.leaflet-popup-tip {
    background: var(--foam);
}
