/* ── Current location dot ───────────────────────────────────────────────── */
#current-location-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.8), rgba(76, 175, 80, 0.2));
    border: 2px solid #4CAF50;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    display: none;
}

#current-location-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
}

/* ── Off-screen self-location arrow ─────────────────────────────────────── */
#location-arrow {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 1000;
    display: none;
}

#location-arrow.visible {
    display: block;
}

#location-arrow svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ── Crosshair ──────────────────────────────────────────────────────────── */
#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 1000;
}

.crosshair-line {
    position: absolute;
    background: rgba(100, 150, 255, 0.4);
}

.crosshair-h {
    width: 30px;
    height: 1px;
    top: 50%;
    left: 0;
}

.crosshair-v {
    width: 1px;
    height: 30px;
    top: 0;
    left: 50%;
}

.crosshair-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(100, 150, 255, 0.6);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── Navigation / tracking distance label pill ──────────────────────────── */
.nav-distance-label {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: system-ui, sans-serif;
    border-radius: 11px;
    white-space: nowrap;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Navigation pin marker ──────────────────────────────────────────────── */
.nav-pin-icon {
    width: 28px;
    height: 28px;
    cursor: grab;
}

/* ── Off-screen rider arrows ────────────────────────────────────────────── */
.offscreen-arrow {
    position: absolute;
    width: 36px;
    height: 36px;
    pointer-events: none;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offscreen-arrow-label {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 1px 5px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 951;
}
