/* ============================================================
   订单支付（payment.php）专属样式
   ============================================================ */

/* 支付金额展示区 */
.payment-amount-wrap {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.payment-amount-label {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.payment-amount-value {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.2;
}

.payment-order-number {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 12px;
    word-break: break-all;
}

.payment-type-badge {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 支付方式信息 */
.payment-method-info {
    text-align: center;
    margin-bottom: 24px;
}

.payment-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.payment-method-alipay {
    background: linear-gradient(135deg, #1677ff 0%, #00a0e9 100%);
}

.payment-method-wxpay {
    background: linear-gradient(135deg, #07c160 0%, #2aae67 100%);
}

/* 二维码区域 */
.payment-qrcode-wrap {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.payment-qrcode-img {
    max-width: 220px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.payment-qrcode-title {
    color: #4b5563;
    font-weight: 600;
    margin-top: 12px;
}

.payment-tip {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 12px;
}

/* 现代化提交按钮 */
.btn-modern-submit {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ============================================================
   上传凭证表单样式
   ============================================================ */

/* 成功提示 */
.payment-success-wrap {
    text-align: center;
    padding: 40px 20px;
}

.payment-success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 16px;
}

/* 错误提示 */
.payment-error-wrap {
    padding: 12px 18px;
    margin-bottom: 20px;
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* 表单组 */
.payment-form-group {
    margin-bottom: 22px;
}

.payment-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

/* 订单号只读显示 */
.payment-order-display {
    padding: 12px 16px;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    border: 1.5px solid #c4b5fd;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #4b5563;
    word-break: break-all;
    letter-spacing: 0.5px;
}

.payment-form-input {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background: #f9fafb;
}

.payment-form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

/* 文件上传 */
.payment-file-upload {
    border: 2px dashed #c4b5fd;
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    transition: all 0.25s ease;
}

.payment-file-upload:hover {
    border-color: #8b5cf6;
}

.payment-form-input-file {
    width: 100%;
    padding: 8px;
    border: none;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
}

.payment-file-hint {
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.82rem;
}

/* 表单按钮区 */
.payment-form-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* 轮廓按钮 */
.btn-modern-outline {
    display: inline-flex !important;
    align-items: center;
    padding: 12px 28px !important;
    background: white !important;
    color: #6366f1 !important;
    border: 1.5px solid #c4b5fd !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-modern-outline:hover {
    background: #f5f3ff !important;
    border-color: #8b5cf6 !important;
    color: #6366f1 !important;
    text-decoration: none !important;
}
