/* 订单支付成功/详情页CSS样式 */
.vape-receipt-wrapper {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: system-ui, sans-serif;
}

.receipt-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 40px;
}

.receipt-header {
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px auto;
    color: #fff;
}
.success-icon { background: #10b981; } /* 翡翠绿 */
.pending-icon { background: #f59e0b; } /* 警告橙 */

.status-title { margin: 0 0 10px 0; font-size: 28px; color: #1d1d1f; }
.status-desc { margin: 0; font-size: 14px; color: #515154; line-height: 1.6; }

.receipt-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.meta-item label { display: block; font-size: 12px; color: #86868b; margin-bottom: 5px; text-transform: uppercase; }
.meta-item span { display: block; font-size: 14px; color: #1d1d1f; font-weight: 600; }

.receipt-items { margin-bottom: 30px; }
.items-title { font-size: 16px; color: #1d1d1f; margin: 0 0 15px 0; border-bottom: 1px solid #eaeaea; padding-bottom: 10px; }
.item-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; color: #515154; }
.item-name small { color: #86868b; margin-left: 5px; }
.item-total { font-weight: 500; color: #1d1d1f; }

.receipt-divider { border: 0; border-top: 1px dashed #d1d5db; margin: 15px 0; }
.final-total { font-size: 20px; font-weight: 700; color: #0071e3; margin-top: 20px; }

.receipt-actions { display: flex; gap: 15px; }
.receipt-actions .vape-btn { flex: 1; text-align: center; }


/* 积分商城订单抵扣信息 */
.receipt-points-discount-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    margin: 24px 0;
}

.points-summary-title {
    margin: 0 0 18px 0;
    font-size: 18px;
    color: #111827;
}

.points-summary-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.points-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.points-summary-row:last-child {
    border-bottom: none;
}

.points-summary-row span {
    color: #6b7280;
}

.points-summary-row strong {
    color: #111827;
    text-align: right;
}

.points-summary-row.final {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #d1d5db;
}

.points-summary-row.final strong {
    color: #dc2626;
    font-size: 18px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .receipt-card { padding: 25px; }
    .receipt-meta-grid { grid-template-columns: 1fr; gap: 10px; }
    .receipt-actions { flex-direction: column; }

    .receipt-points-discount-summary {
        padding: 18px;
    }

    .points-summary-row {
        flex-direction: column;
        gap: 4px;
    }

    .points-summary-row strong {
        text-align: left;
    }
}