/* 社交链接弹窗样式 */
.wechat-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.wechat-popup.show {
    display: flex;
}

.wechat-popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    position: relative;
}

.wechat-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.wechat-popup-title {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.wechat-popup-qrcode {
    width: 200px;
    height: 240px;
    margin: 0 auto;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
}

#wechat-qrcode {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}

#wechat-qrcode img {
    display: block;
    margin: 0 auto;
    border-radius: 3px;
}

#wechat-id {
    font-size: 14px;
    color: #333;
    margin: 5px 0 0 0;
    font-weight: bold;
}

.wechat-popup-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

#wechat-id-text {
    font-weight: bold;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wechat-popup-content {
        max-width: 250px;
    }
    
    .wechat-popup-qrcode {
        width: 180px;
        height: 180px;
    }
}