/* Authorized installers map — small overrides on top of vendored Leaflet. */

.installers-map {
    /* Own stacking context: Leaflet panes/controls (z-index 400-1000) must not
       float over the fixed header or the mobile menu. */
    isolation: isolate;
    z-index: 0;
    min-height: 18rem;
    font-family: inherit;
}

.installers-map .leaflet-control-attribution {
    font-size: 10px;
}

.installer-marker {
    background: transparent;
    border: 0;
}

.installer-marker svg {
    display: block;
    filter: drop-shadow(0 2px 2px rgba(15, 23, 42, 0.35));
}

.installers-map .leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
}

.installers-map .leaflet-popup-content {
    margin: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Leaflet colours every link #0078A8; keep the site's palette instead. */
.installers-map .installer-popup a {
    color: #334155;
    text-decoration: none;
}

.installers-map .installer-popup a:hover {
    color: #f97316;
}

.installers-map .installer-popup a.installer-popup-cta {
    color: #fff;
}

.installers-map .installer-popup a.installer-popup-cta:hover {
    color: #fff;
    background-color: #ea580c;
}

.installer-card {
    cursor: pointer;
}

.installer-card.is-selected {
    border-color: #fb923c;
    box-shadow: 0 0 0 1px #fb923c;
}
