/* 个人收款码支付样式 */
.qrcode-payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s;
}

.qrcode-payment-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

.qrcode-payment-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.qrcode-payment-content .close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.qrcode-payment-content h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.order-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.order-info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.order-info .amount {
    color: #ff4444;
    font-size: 24px;
    font-weight: bold;
}

.order-info .order-id {
    color: #333;
    font-family: monospace;
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-tabs .tab-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-tabs .tab-btn i {
    font-size: 20px;
}

.payment-tabs .tab-btn.active {
    border-color: #07c160;
    background: #f0f9ff;
    color: #07c160;
}

.payment-tabs .tab-btn:hover {
    border-color: #07c160;
}

.qrcode-container {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.qrcode-container img {
    width: 250px;
    height: 250px;
    border: 3px solid #07c160;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.qrcode-tip {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.payment-steps {
    background: #fff3cd;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

.payment-steps h3 {
    color: #856404;
    font-size: 16px;
    margin-bottom: 10px;
}

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

.payment-steps li {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.payment-steps strong {
    color: #ff4444;
}

.payment-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-actions button {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #07c160 0%, #05a850 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(7, 193, 96, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.contact-tip {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 15px;
}

.contact-tip strong {
    color: #07c160;
}

/* 等待确认弹窗 */
.waiting-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.waiting-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f0f0f0;
    border-top-color: #07c160;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.waiting-content h2 {
    color: #333;
    margin-bottom: 15px;
}

.waiting-content p {
    color: #666;
    margin: 10px 0;
    font-size: 14px;
}

.waiting-content button {
    margin-top: 20px;
    padding: 12px 30px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.waiting-content button:hover {
    background: #e0e0e0;
}

/* 管理员订单列表 */
.admin-orders-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.admin-orders-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-orders-content h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.order-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #07c160;
}

.order-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.order-item strong {
    color: #333;
}

.order-item button {
    margin-top: 10px;
    padding: 8px 20px;
    background: #07c160;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.order-item button:hover {
    background: #05a850;
}

.admin-orders-content > button {
    width: 100%;
    padding: 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.admin-orders-content > button:hover {
    background: #e0e0e0;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* 响应式 */
@media (max-width: 768px) {
    .qrcode-payment-content {
        padding: 20px;
    }
    
    .qrcode-container img {
        width: 200px;
        height: 200px;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}
