.ellm-location-map-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ellm-location-map {
    position: relative;
    width: 100%;
    min-height: 300px;
    z-index: 1;
}

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

.ellm-default-pin {
    position: relative;
    width: 30px;
    height: 30px;
    border: 4px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    background-color: #e43d30;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: rotate(-45deg);
}

.ellm-default-pin::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.ellm-marker-icon-img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}


.ellm-location-popup.leaflet-popup {
    margin-bottom: 0;
}

.ellm-location-popup .leaflet-popup-tip-container {
    left: 50%;
    margin-left: -20px;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.leaflet-popup-content {
    margin: 0;
}

.ellm-popup-card {
    position: relative;
    min-width: 245px;
    max-width: 290px;
    padding: 18px 48px 18px 18px;
    background: #ffffff;
    border-radius: 10px;
    font-family: inherit;
}

.ellm-popup-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ellm-popup-left-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

.ellm-popup-left-icon img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.ellm-popup-building-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: #296279;
}

.ellm-popup-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    color: #222222;
}


.ellm-popup-title-link {
    color: inherit;
    text-decoration: none;
}

.ellm-popup-title-link:hover,
.ellm-popup-title-link:focus {
    color: inherit;
    text-decoration: underline;
}

.ellm-popup-address {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    color: #555555;
    white-space: normal;
}

.ellm-popup-address p {
    margin: 0 0 6px;
}

.ellm-popup-address p:last-child {
    margin-bottom: 0;
}

.ellm-popup-right-pin {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
}

.ellm-popup-right-pin svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .ellm-popup-card {
        min-width: 220px;
        max-width: 250px;
        padding: 15px 42px 15px 15px;
    }

    .ellm-popup-title {
        font-size: 16px;
    }

    
.ellm-popup-title-link {
    color: inherit;
    text-decoration: none;
}

.ellm-popup-title-link:hover,
.ellm-popup-title-link:focus {
    color: inherit;
    text-decoration: underline;
}

.ellm-popup-address {
        font-size: 13px;
    }
}
