* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f0f2f5; color: #333; }
.container { max-width: 680px; margin: 0 auto; padding: 20px; }
.header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 30px; border-radius: 12px; margin-bottom: 20px; text-align: center; }
.header h1 { font-size: 24px; margin-bottom: 8px; }
.payment-card { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input { width: 100%; padding: 10px 14px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 16px; transition: border-color .3s; }
.form-group input:focus { outline: none; border-color: #667eea; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick-amounts button { padding: 8px 16px; border: 2px solid #e8e8e8; border-radius: 8px; background: #fafafa; cursor: pointer; font-size: 14px; transition: all .2s; }
.quick-amounts button:hover { border-color: #667eea; color: #667eea; }
.payment-methods { display: flex; gap: 12px; margin-bottom: 20px; }
.pay-method { flex: 1; cursor: pointer; }
.pay-method.disabled { opacity: .4; cursor: not-allowed; }
.pay-method input { display: none; }
.pay-icon { display: block; padding: 14px; text-align: center; border: 2px solid #e8e8e8; border-radius: 8px; font-weight: 600; transition: all .2s; }
.pay-method input:checked + .pay-icon { border-color: #667eea; background: #f0f0ff; }
.pay-icon.alipay { color: #1677ff; }
.pay-icon.wxpay { color: #07c160; }
.pay-icon.usdt { color: #26a17b; }
.submit-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; border-radius: 8px; font-size: 18px; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.submit-btn:hover { opacity: .9; }
.order-info p { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.order-info p:last-child { border-bottom: none; }
.status-pending { color: #faad14; }
.status-success { color: #52c41a; }
.status-failed { color: #ff4d4f; }
.payment-qr { text-align: center; padding: 20px 0; }
.qr-placeholder { background: #fafafa; border: 2px dashed #e8e8e8; border-radius: 8px; padding: 20px; margin: 10px 0; }
.footer { text-align: center; padding: 20px; color: #999; font-size: 12px; }
.alert-success { background: #f6ffed; border: 1px solid #b7eb8f; padding: 10px 16px; border-radius: 8px; margin-bottom: 16px; color: #389e0d; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.stat-card h3 { font-size: 14px; color: #999; margin-bottom: 8px; }
.stat-card p { font-size: 24px; font-weight: 700; color: #667eea; }
.admin-form label { display: block; margin-bottom: 12px; }
.admin-form input, .admin-form select { float: right; width: 200px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.order-table th, .order-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #f0f0f0; }
.order-table th { background: #fafafa; font-weight: 600; }
.btn-small { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; text-decoration: none; margin: 2px; }
.btn-success { background: #52c41a; color: #fff; }
.btn-danger { background: #ff4d4f; color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.pagination a { padding: 6px 12px; border: 1px solid #e8e8e8; border-radius: 4px; text-decoration: none; color: #333; }
.pagination a.active { background: #667eea; color: #fff; border-color: #667eea; }
.success-actions { text-align: center; padding: 20px; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } .payment-methods { flex-direction: column; } }
