/* =========================================================
   Posao EU — Leaflet all-pins map (v2.9.0)
   Loaded only when the all-pins overlay runs on Leaflet.
   Brand: #F28C0F orange, #D97D0A dark orange, #1d1b20 ink.
   ========================================================= */

/* The map sits in its own layer inside the overlay's map element, so the
   filter button and panel (siblings) always draw above it. */
.pmm-lf-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #eef0f3;
    font-family: Quicksand, sans-serif;
}

/* Clusters */
.pmm-lf-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F28C0F;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(29, 27, 32, 0.35);
    color: #fff;
    font-family: Quicksand, sans-serif;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
}

.pmm-lf-cluster:hover {
    background: #D97D0A;
}

/* Drawn fallback pin (no image) */
.pmm-lf-pin {
    background: none;
    border: 0;
    filter: drop-shadow(0 2px 3px rgba(29, 27, 32, 0.35));
}

/* Popups */
.pmm-lf-popup .leaflet-popup-content-wrapper {
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(29, 27, 32, 0.22);
}

.pmm-lf-popup .leaflet-popup-content {
    margin: 14px 16px;
    font-family: Quicksand, sans-serif;
    color: #1d1b20;
}

.pmm-lf-pop {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 200px;
}

.pmm-lf-pop__cat {
    padding: 3px 8px;
    border-radius: 20px;
    background: #FEF6E8;
    color: #D97D0A;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pmm-lf-pop__title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.pmm-lf-pop__loc {
    font-size: 13px;
    color: #5f5b66;
}

.pmm-lf-popup a.pmm-lf-pop__btn {
    margin-top: 4px;
    padding: 9px 14px;
    border-radius: 10px;
    background: #F28C0F;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pmm-lf-popup a.pmm-lf-pop__btn:hover,
.pmm-lf-popup a.pmm-lf-pop__btn:focus {
    background: #D97D0A;
    color: #fff;
}

/* Same-place list */
.pmm-lf-list {
    max-height: 280px;
    min-width: 220px;
    overflow-y: auto;
    margin: -4px -6px;
}

.pmm-lf-popup a.pmm-lf-list__row,
.pmm-lf-list__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    color: #1d1b20;
    text-decoration: none;
}

.pmm-lf-popup a.pmm-lf-list__row:hover,
.pmm-lf-popup a.pmm-lf-list__row:focus {
    background: #FEF6E8;
}

.pmm-lf-list__row strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.pmm-lf-list__row span,
.pmm-lf-list__more {
    font-size: 11px;
    color: #5f5b66;
}

.pmm-lf-list__more {
    padding: 9px 6px 2px;
}

/* Keep the attribution readable but small on phones */
.pmm-lf-map .leaflet-control-attribution {
    font-size: 10px;
}
