/* 微信弹窗样式 */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999; /* 确保在最上层 */
    justify-content: center;
    align-items: center;
}

.wechat-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 350px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.qrcode-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.qrcode-container img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
}

.wechat-modal h3 {
    color: #333;
    margin-top: 0;
    font-size: 18px;
}

.wechat-modal p {
    margin-bottom: 0;
    color: #666;
    font-size: 16px;
}

/* 确保弹窗不被其他元素遮挡 */
.wechat-popup {
    z-index: 9999;
} 
