#search-by-map .mapboxgl-popup-content {
    font-family: Raleway, "Helvetica Neue", Arial, Helvetica, sans-serif;
    line-height: 16px;
    border-radius: 1rem;
    padding: 1rem 2rem;
}

#search-by-map .mapboxgl-popup-close-button {
    font-size: 2rem;
    padding: 1rem;
    color: #3b3f48;
    transition: color 200ms ease-in-out;
}

#search-by-map .mapboxgl-popup-close-button:hover {
    background: inherit;
    color: #23262b;
    border-radius: inherit;
}

#search-by-map .mapbox-popup-content .directions {
    filter: brightness(100%);
}

#search-by-map .panel-body {
    padding: 0;
}

#search-by-map .ll-btn.btn-theme.disabled,
#search-by-map .ll-btn.btn-theme[disabled] {
    opacity: 1 !important;
    background-color: #78b67c !important;
}

#search-by-map .mapboxgl-popup {
    top: -15px;
}

.mapboxgl-popup-content h4 {
    margin-bottom: 2px;
}

.mapboxgl-popup-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mapboxgl-popup-content ul li {
    margin-bottom: 3px;
}

.mapboxgl-ctrl-geocoder {
    width: 300px; /* Adjust this value to your desired width */
}

#zoom-message, #error-message {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

@media only screen and (max-width: 767px) {
    #zoom-message, #error-message {
        bottom: 30px;
        top: auto;
        transform: translate(-50%, 50%);
    }
}

#error-message {
    color: white;
    background-color: #f55e5e;
}

#map {
    position: relative;
    z-index: 1;
}

#map::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/static/search/map-placeholder.webp') no-repeat center center;
    background-size: cover;
    filter: blur(3px);
    z-index: -1;
}

.map-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.map-message p {
    font-size: 16px;
}

.input-group-addon {
    border-radius: 1rem;
}