.home_view .header_swich ul{
    display: flex;
    width: 100%;
    margin: 16px 0;
}
.home_view .header_swich ul li{
    text-align: center;
    flex: 1;
    font-size: 15px;
    line-height: 37px;
    font-weight: 500;
    color: #C0CCDA;
    transition: all .3s;
    height: 37px;
    cursor: pointer;
}
.home_view .header_swich ul li.active{
    color: #FF8200;
}
.table_item{
    visibility: hidden;
    opacity: 0;
    height: 0; 
}
.table_item.active{
    opacity: 1;
    height: 100%;
    visibility: visible; 
}

.table_item .google_map{
    display: none;
}
.table_item.active .google_map{
    height: 515px;
    display: block;
    border-radius: 15px;
    z-index: 9;
}

/* 加载动画 */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF8200;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 地图标记样式 */
.user-location-marker,
.park-location-marker {
    background: transparent !important;
    border: none !important;
}

/* Leaflet popup 样式调整 */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.leaflet-popup-content {
    margin: 10px!important;
    width: 260px !important;
}

.leaflet-popup-tip {
    background: #fff;
}

.leaflet-popup-close-button { 
    font-size: 26px !important;
    top: 5px !important;
    right: 5px !important;
}

.leaflet-popup-close-button:hover {
    color: #666 !important;
}


/* 公园弹出框样式 - 左右布局 */
.park-popup {
    width: 100%;
}

.park-popup-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease; 
}

.park-popup-link:hover {
    background: #fafafa;
}

.park-popup-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.park-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.park-popup-link:hover .park-popup-image img {
    transform: scale(1.1);
}

.park-popup-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.park-popup-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.park-popup-location {
    font-size: 12px;
    color: #757575;
    margin: 0!important;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.park-popup-location::before {
    content: "📍";
    font-size: 12px;
    flex-shrink: 0;
}

.park-popup-distance {
    display: flex;
    width: max-content;
    background: linear-gradient(135deg, #FF8200 0%, #FF9A33 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(255, 130, 0, 0.2);
}

/* 公园列表样式 */
.view_list_box {
    position: relative;
}

.nofindpark {
    padding: 40px;
    text-align: center;
    color: #999;
}

/* 滚动条样式 */
.table_item.active::-webkit-scrollbar {
    width: 6px;
}

.table_item.active::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table_item.active::-webkit-scrollbar-thumb {
    background: #FF8200;
    border-radius: 3px;
}

.table_item.active::-webkit-scrollbar-thumb:hover {
    background: #e67300;
}

.loading_message,
.nofindpark {
    padding: 40px;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* 无附近公园提示样式 */
.no-nearby-park-notice {
    background: #fff;
    padding: 24px 20px;
    margin-top: 24px;
    border-radius: 16px;
    
    text-align: center;
}

.no-nearby-park-notice .notice-text {
    color: #999;
    font-size: 15px;
    margin: 0 0 16px 0;
    font-weight: 400;
}

/* .no-nearby-park-notice .register-park-btn {
    display: inline-block;
    background: #FF8200;
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.no-nearby-park-notice .register-park-btn:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 130, 0, 0.3);
} */

.no-nearby-park-notice .fallback-divider {
    color: #666;
    font-size: 14px;
    padding: 12px 0 0 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 400;
}