/* 支付弹窗样式 */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.payment-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.payment-info {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.payment-amount {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    margin-top: 10px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-btn i {
    font-size: 24px;
}

.wechat-pay {
    border-color: #09bb07;
    color: #09bb07;
}

.wechat-pay:hover {
    background: #09bb07;
    color: white;
}

.alipay {
    border-color: #1677ff;
    color: #1677ff;
}

.alipay:hover {
    background: #1677ff;
    color: white;
}

.payment-notice {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* 二维码支付样式 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10002;
}

.qrcode-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.qrcode-img {
    width: 250px;
    height: 250px;
    margin: 20px 0;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
}

.qrcode-content button {
    margin-top: 20px;
    padding: 12px 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

.qrcode-content button:hover {
    background: #5568d3;
}

/* 成功提示样式 */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10003;
    animation: fadeIn 0.3s ease;
}

.success-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    animation: slideUp 0.5s ease;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

.success-content h2 {
    color: #51cf66;
    margin-bottom: 10px;
}

.expire-info {
    color: #666;
    font-size: 14px;
    margin: 15px 0;
}

.success-content button {
    margin-top: 20px;
    padding: 12px 40px;
    background: #51cf66;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 个人收款码样式 */
.qrcode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.qrcode-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.qrcode-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    margin: 10px 0;
}

.qrcode-tip {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.order-id {
    font-size: 12px;
    color: #667eea;
    font-weight: bold;
    margin-top: 5px;
}

.payment-steps {
    background: #fff3cd;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.payment-steps h4 {
    margin-bottom: 10px;
    color: #856404;
}

.payment-steps ol {
    margin: 0;
    padding-left: 20px;
}

.payment-steps li {
    margin: 8px 0;
    color: #856404;
}

.payment-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.contact-btn, .paid-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn {
    background: #09bb07;
    color: white;
}

.contact-btn:hover {
    background: #08a006;
}

.paid-btn {
    background: #667eea;
    color: white;
}

.paid-btn:hover {
    background: #5568d3;
}

.payment-status {
    text-align: center;
    margin: 20px 0;
    color: #667eea;
}

@media (max-width: 600px) {
    .qrcode-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-img {
        width: 200px;
        height: 200px;
    }
}