/* 微信支付二维码弹窗 - 共享样式 */
.wxpay-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 35, 30, .45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.wxpay-mask.show {
    display: flex;
}

.wxpay-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 26px 28px 24px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
    animation: wxpayPop .22s ease;
}

@keyframes wxpayPop {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.wxpay-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #8a9aa6;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wxpay-close:hover {
    color: #e8613c;
}

.wxpay-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #243746;
}

.wxpay-subtitle {
    margin: 0 0 18px;
    font-size: 13px;
    color: #708497;
}

.wxpay-qr {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    padding: 12px;
    background: #fff;
    border: 1px solid #e1ecec;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(14, 159, 138, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wxpay-qr canvas,
.wxpay-qr img {
    max-width: 100%;
    max-height: 100%;
}

.wxpay-amount {
    margin-top: 16px;
    font-size: 15px;
    color: #243746;
}

.wxpay-amount strong {
    color: #e8613c;
    font-size: 24px;
    margin-left: 4px;
}

.wxpay-order {
    margin-top: 6px;
    font-size: 12px;
    color: #8a9aa6;
    word-break: break-all;
}

.wxpay-tip {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f0faf6;
    color: #0b7c70;
    font-size: 13px;
    line-height: 1.6;
}

.wxpay-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.wxpay-actions button {
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.wxpay-done {
    background: #0e9f8a;
    color: #fff;
}

.wxpay-done:hover {
    background: #0b7c70;
}

.wxpay-cancel {
    background: #f2f6f5;
    color: #5d7280;
}

.wxpay-cancel:hover {
    background: #e7efed;
}
