/* Guard markers on Live SOC map */
.guard-marker-wrap { background: transparent !important; border: none !important; }
.guard-marker-label {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.9);
}
.map-fullscreen-wrap {
    position: relative;
    background: #e9ecef;
}

.map-fullscreen-wrap .map-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-fullscreen-wrap:fullscreen,
.map-fullscreen-wrap.map-fullscreen-active {
    position: fixed !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999;
    background: #fff;
}

.map-fullscreen-wrap:fullscreen .leaflet-container,
.map-fullscreen-wrap.map-fullscreen-active .leaflet-container {
    height: 100vh !important;
    width: 100% !important;
}

body.map-fullscreen-open {
    overflow: hidden;
}

/* Map mode toggle: live (street/satellite) vs site overlay */
.ip-map-mode-control {
    margin-top: 10px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
}
.ip-map-mode-group {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.ip-map-mode-btn {
    border: none;
    background: #fff;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.ip-map-mode-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.ip-map-mode-btn.active {
    background: #1d4ed8;
    color: #fff;
}
.ip-map-mode-btn-sm {
    font-size: 0.6875rem;
    padding: 0.4rem 0.65rem;
}
.leaflet-top.leaflet-left .ip-map-mode-control {
    margin-top: 56px;
}

/* Map fullscreen controls */
