/* ── EFS Service Area Map Widget ───────────────────────────────────────────── */

.efs-map {
    width: 100%;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    overflow: hidden;
    font-family: inherit;
}

.efs-map__canvas {
    width: 100%;
    height: 520px;         /* overridden by Elementor height control */
    display: block;
    background: #e8eef4;
}

/* ── Legend ─────────────────────────────────────────────────────────────────── */

.efs-map__legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding: 10px 16px;
    background: #ffffff;
    border-top: 1px solid #dde3ea;
}

.efs-map__legend-title {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-right: 4px;
}

.efs-map__legend-item {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.efs-map__legend-item::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}

.efs-map__legend-item--pa::before {
    background: rgba(24, 95, 165, 0.22);
    border: 1.5px solid #185fa5;
}

.efs-map__legend-item--wv::before {
    background: rgba(15, 110, 86, 0.20);
    border: 1.5px solid #0f6e56;
}

.efs-map__legend-item--oh::before {
    background: rgba(186, 117, 23, 0.20);
    border: 1.5px solid #ba7517;
}

.efs-map__legend-status {
    font-size: 11px;
    color: #999;
    margin-left: auto;
}

/* ── Leaflet tooltip overrides ───────────────────────────────────────────── */

.efs-map .leaflet-tooltip {
    font-size: 13px;
    font-family: inherit;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
