/* 微信支付弹窗样式 */
.wechat-pay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wechat-pay-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}
.wechat-pay-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wechat-pay-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}
.wechat-pay-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.wechat-pay-close:hover {
    color: #333;
}
.wechat-pay-modal-body {
    padding: 24px;
    text-align: center;
}
.pay-amount-info {
    margin-bottom: 20px;
}
.pay-amount-info .product-name {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}
.pay-amount-info .pay-amount {
    color: #07c160;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}
.qr-code-container {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-code-loading {
    color: #999;
    font-size: 14px;
}
.qr-code-container canvas,
.qr-code-container img {
    max-width: 200px;
    height: auto;
}
.pay-tip {
    color: #999;
    font-size: 13px;
    margin: 10px 0;
}
.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 16px;
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #07c160;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.pay-status.success .status-dot {
    background: #52c41a;
    animation: none;
}
.pay-status.failed .status-dot {
    background: #ff4d4f;
    animation: none;
}
.status-text {
    color: #666;
    font-size: 14px;
}
.pay-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.pay-actions button {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-refresh {
    background: #f0f0f0;
    color: #666;
}
.btn-refresh:hover {
    background: #e0e0e0;
}
.btn-cancel {
    background: #ff4d4f;
    color: #fff;
}
.btn-cancel:hover {
    background: #ff7875;
}
/* 支付成功覆盖层 */
.pay-success-overlay {
    text-align: center;
    padding: 20px;
}
.pay-success-overlay .success-icon {
    font-size: 60px;
    color: #52c41a;
    margin-bottom: 16px;
}
.pay-success-overlay h4 {
    color: #333;
    margin-bottom: 8px;
}
.pay-success-overlay p {
    color: #999;
    font-size: 14px;
}
