.custom-marker-wrapper {
    background: none !important;
    border: none !important;
}
.marker-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(59,130,246,0.55);
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    position: relative;
    transition: transform 0.15s ease;
}
.marker-circle::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid rgba(59,130,246,0.55);
}
.marker-circle.marker-blue { background: rgba(59,130,246,0.55); }
.marker-circle.marker-blue::after { border-top-color: rgba(59,130,246,0.55); }
.marker-circle.marker-green { background: rgba(34,197,94,0.55); }
.marker-circle.marker-green::after { border-top-color: rgba(34,197,94,0.55); }
.marker-circle.marker-red { background: rgba(239,68,68,0.55); }
.marker-circle.marker-red::after { border-top-color: rgba(239,68,68,0.55); }
.marker-circle:hover {
    transform: scale(1.2);
}
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}
.leaflet-popup-content {
    margin: 10px 14px !important;
    font-family: 'Segoe UI', system-ui, sans-serif !important;
}
.leaflet-container {
    font-family: 'Segoe UI', system-ui, sans-serif !important;
}
#map {
    z-index: 0;
}

/* Fix Leaflet z-index issues with overlays */
.leaflet-pane { z-index: 1; }
.leaflet-top, .leaflet-bottom { z-index: 900; }

@media (max-width: 768px) {
    .marker-circle { width: 28px; height: 28px; font-size: 15px; border-width: 1.5px; }
    .marker-circle::after { bottom: -5px; border-width: 3px; border-top-width: 5px; }
    #listPanel { width: 100%; }
}

.leaflet-tooltip.marker-tooltip {
    background: rgba(0,0,0,0.8);
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.leaflet-tooltip.marker-tooltip::before {
    display: none;
}

.live-dot-wrapper {
    background: none !important;
    border: none !important;
}
.live-dot {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #3b82f6, 0 2px 6px rgba(0,0,0,0.35);
    position: relative;
}
.live-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(59,130,246,0.25);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}