
.xy-imap-wrapper {
    width: 100%;
    position: relative;
}

.xy-imap-map {
    width: 100%;
    min-height: 260px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f5;
}

.xy-imap-div-icon {
    background: transparent;
    border: 0;
}

.xy-imap-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    border: 2px solid rgba(255, 255, 255, .9);
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    transition: transform .15s ease, box-shadow .15s ease;
    user-select: none;
    cursor: pointer;
    overflow: hidden;
}

.xy-imap-pin::before {
    content: '';
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.xy-imap-pin-label {
    position: relative;
    z-index: 1;
    transform: rotate(45deg);
    display: inline-block;
    letter-spacing: .02em;
}

.leaflet-marker-icon:hover .xy-imap-pin {
    transform: rotate(-45deg) scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .32);
}

.xy-imap-empty-message {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 500;
    background: rgba(255, 255, 255, .92);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    font-size: 14px;
    color: #1d2327;
    text-align: center;
}


.xy-imap-popup-content {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
}

.xy-imap-popup-search-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #1d2327;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    transition: transform .15s ease, opacity .15s ease;
}

.xy-imap-popup-search-btn:hover,
.xy-imap-popup-search-btn:focus {
    opacity: .9;
    transform: scale(1.06);
    color: #ffffff !important;
    outline: none;
}

.xy-imap-popup-title {
    font-weight: 700;
    text-transform: uppercase;
}


.xy-imap-popup-search-icon {
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
}

.xy-imap-cluster {
    background: transparent;
    border: 0;
}

.xy-imap-cluster span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #1d2327;
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, .95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
    font-weight: 800;
    line-height: 1;
    box-sizing: border-box;
    user-select: none;
}

.xy-imap-cluster-small span {
    font-size: 15px;
}

.xy-imap-cluster-medium span {
    font-size: 16px;
}

.xy-imap-cluster-large span {
    font-size: 17px;
}

.xy-imap-cluster:hover span {
    transform: scale(1.06);
}
