/* FacetWP Leaflet Map facet - default marker + button styling */

.facetwp-osm-map-wrap {
    position: relative;
}

#facetwp-osm-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Filter button overlaid on the map, styled like a native Leaflet control */
.facetwp-osm-map-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    pointer-events: none;
}

.facetwp-osm-map-filtering {
    pointer-events: auto;
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, .2);
    background-clip: padding-box;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
    cursor: pointer;
    transition: background-color .15s ease;
}

.facetwp-osm-map-filtering:hover {
    background: #f4f4f4;
}

.facetwp-osm-map-filtering.enabled {
    color: #fff;
    background: #3388ff;
    border-color: #3388ff;
}

.facetwp-osm-map-filtering.enabled:hover {
    background: #2b70d6;
}

/* Default divIcon pin (no image assets required) */
.facetwp-osm-pin {
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #3388ff;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.facetwp-osm-pin::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #fff;
    transform: rotate(45deg);
}

.facetwp-osm-marker--proximity .facetwp-osm-pin {
    background: #daa520;
}
