﻿.fx-payment-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: none; /* 初始隐藏 */ z-index: 9999; }

.fx-payment-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; border-radius: 10px; width: 90%; max-width: 420px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); overflow: hidden; }

.fx-payment-modal-header { background-color: #4a6bdf; color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }

.fx-payment-modal-header h3 { margin: 0; font-size: 18px; color: white; }

.fx-payment-close-btn { background: none; border: none; color: white; font-size: 20px; cursor: pointer; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0; opacity: 0.8; }

.fx-payment-close-btn:hover { opacity: 1; }

.fx-payment-modal-body { padding: 20px; }

.fx-payment-info { margin-bottom: 20px; text-align: center; }

.fx-payment-price { font-size: 24px; font-weight: bold; color: #e74c3c; margin: 10px 0; }

.fx-payment-product { font-size: 16px; color: #333; margin-bottom: 5px; }

.fx-payment-order-id { font-size: 14px; color: #666; }

.fx-payment-tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 20px; }

.fx-payment-tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; position: relative; font-weight: 500; color: #666; }

.fx-payment-tab.active { color: #4a6bdf; }

.fx-payment-tab.active:after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background-color: #4a6bdf; }

.fx-payment-content { display: none; }

.fx-payment-content.active { display: block; }

.fx-payment-qrcode-container { text-align: center; margin: 0 auto; width: 200px; height: 200px; background-color: #f9f9f9; display: flex; align-items: center; justify-content: center; border-radius: 5px; margin-bottom: 15px; }

.fx-payment-qrcode { width: 180px; height: 180px; }
.fx-payment-qrcode > * { width: 100%; height: 100%; }

.fx-payment-wechat-qrcode { filter: grayscale(1) opacity(0.5); }

.fx-payment-tips { text-align: center; font-size: 14px; color: #666; margin-top: 15px; }

.fx-payment-tips strong { color: #4a6bdf; }

.fx-payment-countdown { text-align: center; margin-top: 10px; font-size: 14px; color: #e74c3c; }

.fx-payment-wechat-container { position: relative; }

.fx-payment-wechat-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 5px; }

.fx-payment-wechat-overlay p { margin: 0 0 10px 0; font-size: 16px; color: #333; }

.fx-payment-wechat-overlay .coming-soon { font-size: 14px; color: #4a6bdf; font-weight: bold; }

/* 响应式调整 */
@media (max-width: 480px) {
    .fx-payment-modal { width: 95%; }

    .fx-payment-qrcode-container { width: 180px; height: 180px; }

    .fx-payment-qrcode { width: 160px; height: 160px; }
}
