/* OpenStreetMap / Leaflet replacement for Google Maps */
.nc-osm-map,
.single-details-map .nc-osm-map {
    width: 100%;
    min-height: 31.25rem;
    border-radius: .625rem;
    overflow: hidden;
    border: 1px solid var(--cl-gray, #e5e5e5);
    background: #f4f6f8;
}

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

.nc-osm-map-empty {
    width: 100%;
    min-height: 18rem;
    border: 1px dashed #ccd0d4;
    border-radius: .625rem;
    background: #f6f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    color: #555;
}

.nc-osm-map-actions {
    margin-top: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.nc-osm-map-actions .ncButton,
.nc-osm-map-actions .button {
    text-decoration: none;
}

/* Admin picker */
.nc-osm-picker {
    clear: both;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
}

.nc-osm-picker__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.nc-osm-picker__head input[type="text"] {
    min-width: 280px;
    flex: 1 1 360px;
}

.nc-osm-picker__map {
    width: 100%;
    height: 420px;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f4;
}

.nc-osm-picker__note {
    margin: 8px 0 0;
    color: #646970;
    font-size: 13px;
}

.nc-osm-picker__status {
    display: inline-block;
    min-height: 20px;
    color: #646970;
}

.nc-osm-picker__status.is-error {
    color: #b32d2e;
}

.nc-osm-picker__status.is-success {
    color: #008a20;
}

@media (max-width: 782px) {
    .nc-osm-picker__head input[type="text"] {
        min-width: 100%;
        flex-basis: 100%;
    }

    .nc-osm-picker__map {
        height: 340px;
    }

    .nc-osm-map,
    .single-details-map .nc-osm-map {
        min-height: 22rem;
    }
}
