.map-container {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.location-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 2;
    cursor: pointer;
}

/* 中心点标记 */
.marker-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: rgba(19, 136, 87, 0.9);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 波纹效果容器 */
.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 波纹效果 - 第一个波 */
.ripple-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(0, 123, 37);
    animation: ripple 2s infinite ease-out;
    z-index: 1;
}

/* 波纹效果 - 第二个波（延迟启动） */
.ripple-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(144, 238, 144, 0.6);
    animation: ripple 2s infinite ease-out 0.5s;
    z-index: 1;
}

/* 波纹效果 - 第三个波（更长延迟） */
.ripple-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(144, 238, 144, 0.6);
    animation: ripple 2s infinite ease-out 1s;
    z-index: 1;
}

/* 波纹动画 - 限制最大半径为初始半径的50% */
@keyframes ripple {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.6;
    }
    100% {
        /* 将最大半径限制为50px */
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

/* 可选：添加脉冲效果到中心点 */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(144, 238, 144, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(144, 238, 144, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(144, 238, 144, 0);
    }
}

/* 自定义颜色变量 */
.location-marker {
    --marker-color: #FFFFFF;
    --ripple-color: rgba(144, 238, 144, 0.6);
}

/* 使用CSS变量实现颜色自定义 */
.location-marker[style*="--marker-color"] .ripple-1,
.location-marker[style*="--marker-color"] .ripple-2,
.location-marker[style*="--marker-color"] .ripple-3 {
    background-color: var(--ripple-color, rgba(144, 238, 144, 0.6));
    opacity: 0.6;
}

/* 气泡提示样式 - 始终显示 */
.tooltip-text {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(19, 136, 87, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 16px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* 移除了隐藏相关的样式，使气泡始终显示 */
}

@media (max-width: 767px) {
    .tooltip-text {
        font-size: 12px;
        padding: 2px 10px;
        line-height: 20px;
        top: -38px
    }
}

/* 气泡提示小三角形 */
.tooltip-text:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(19, 136, 87, 0.9);
}

/* 气泡提示动画 */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.tooltip-text.animated {
    animation: tooltipFadeIn 0.3s ease-out;
}