/* 自定义地图标记样式 */
.custom-marker {
    background: transparent;
    border: none;
}
/* 自定义弹出框样式 */
.custom-popup-container .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 0;
    min-width: 200px;
}

/* 省份tooltip样式 */
.province-tooltip {
    font-size: 12px !important;
    font-weight: bold !important;
    color: #333 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 1 !important;
}

/* 移除tooltip的白色三角 */
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before,
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before {
    display: none !important;
}


/* 香港和澳门特别行政区tooltip样式 */
.hk-macau-tooltip-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: 1000 !important;
}

.hk-macau-tooltip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    color: #333 !important;
    z-index: 10 !important;
}
.hk-macau-tooltip.hk-macau-tooltipam{
    align-items: flex-end;
}

.tooltip-line-vertical {
    width: 2px;
    height: 20px;
    background: #666;
    margin-bottom: -5px;
    z-index: 10 !important;
    transform: rotate(-45deg);
}
.tooltip-line-vertical.tooltip-line-verticalam {
    transform: rotate(45deg);
}

.tooltip-text {
    z-index: 1000 !important;
}
/* 自定义tooltip样式 */
.custom-tooltip {
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 5px 10px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
}

.custom-popup-container .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-top: none;
    border-right: none;
}

.custom-popup {
    padding: 16px 20px;
    text-align: center;
}

.custom-popup h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
    max-width: 250px;
}

.custom-popup .popup-type {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}
.custom-popup .popup-type.popup-type-1 {
    color: #275cbf;
    background: rgba(222, 233, 255, 0.5);
}
.custom-popup .popup-type.popup-type-2 {
    color: #018B7C;
    background: rgba(209, 243, 240, 0.5);
}
.custom-popup .popup-type.popup-type-3 {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.leaflet-popup-content {
    margin: 0;
}
.leaflet-top, .leaflet-bottom{
    z-index: 9999!important;
}