/* Leaflet panes use z-index values around 400–1000; keep the sticky site header above them. */
body header {
    z-index: 1100;
}

/* The fixed announcement ticker must also stay above Leaflet's map panes. */
body.plugin-fuel_map #fls-news {
    z-index: 1200 !important;
}

#fuel-map {
    width: 100%;
    height: 70vh;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}

.fuel-map-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px 30px;
    box-sizing: border-box;
}

.fuel-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.fuel-map-title h1 {
    margin: 0 0 4px;
    font-size: 26px;
    line-height: 1.2;
}

.fuel-map-count {
    color: #666;
    font-size: 13px;
}

.fuel-map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fuel-filter {
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    border-radius: 5px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 13px;
}

.fuel-filter:hover,
.fuel-filter.is-active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.fuel-map-attribution {
    margin-top: 7px;
    text-align: right;
    font-size: 11px;
    color: #777;
}

.fuel-map-attribution a {
    color: inherit;
    text-decoration: underline;
}

.fuel-marker-wrapper {
    background: transparent;
    border: 0;
}

.fuel-marker {
    display: block;
    width: 22px;
    height: 22px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0,0,0,.45);
    box-sizing: border-box;
}

.fuel-popup {
    line-height: 1.45;
    font-size: 13px;
}

.fuel-popup > div {
    margin-top: 4px;
}

.fuel-popup-title {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.fuel-popup-type {
    margin-top: 8px !important;
    color: #666;
    font-size: 11px;
}

@media (max-width: 700px) {
    .fuel-map-page {
        padding: 12px 8px 20px;
    }

    #fuel-map {
        height: 68vh;
        min-height: 430px;
        border-radius: 5px;
    }

    .fuel-map-toolbar {
        display: block;
    }

    .fuel-map-title {
        margin-bottom: 10px;
    }

    .fuel-map-title h1 {
        font-size: 21px;
    }

    .fuel-map-filters {
        gap: 5px;
    }

    .fuel-filter {
        padding: 6px 9px;
        font-size: 12px;
    }
}
