body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.popup-container {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
.popup {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 1000px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.popup-header {
    background: #2196F3;
    color: #fff;
    padding: 10px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-header h2 {
    margin: 0;
    font-size: 18px;
}
.popup-header .close-btn {
    cursor: pointer;
}
.popup-content {
    padding: 20px;
    display: flex;
    align-items: flex-start;
}
.popup-content .info {
    flex: 1;
}
.popup-content h3 {
    margin: 0 0 10px;
}
.popup-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}
.popup-content .package-inclusions {
    margin: 10px 20px;
}
.popup-content .package-inclusions li {
    margin: 5px 0;
}
.popup-content .order-summary {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}
.popup-content .order-summary p {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}
.popup-content .order-summary p span {
    font-size: 16px;
}
.popup-content .order-summary p span.price {
    color: #666;
    text-decoration: line-through;
}
.popup-content .order-summary p span.discount {
    color: #4CAF50;
}
.popup-content .order-summary p span.total {
    font-size: 28px;
    font-weight: bold;
    color: #2196F3;
}
.popup-content .payment-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.popup-content .payment-qr .qr-code {
    width: 300px;
    height: 300px;
}
.popup-content .payment-qr .qr-code img {
    width: 100%;
    height: 100%;
}
.popup-content .payment-qr .qr-instructions {
    text-align: center;
    margin-left: 20px;
}
.popup-content .payment-qr .qr-instructions p {
    margin: 5px 0;
}
.popup-content .payment-qr .qr-instructions p.timer {
    font-size: 16px;
    color: #f44336;
}
.popup-content .payment-qr .qr-instructions button {
    padding: 10px 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 支付成功视图 */
.popup-success { padding: 24px; }
.success-top { text-align: center; margin: 16px 0 24px; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 12px; border-radius: 50%; background: #4CAF50; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.success-title { margin: 0 0 6px; font-size: 22px; color: #333; text-align: center; }
.success-subtitle { margin: 0; color: #777; font-size: 14px; text-align: center; }

.success-card { background: #f3f4f6; border-radius: 6px; padding: 16px; margin: 16px 0 20px; }
.success-card-title { font-weight: bold; color: #333; margin-bottom: 12px; }
.success-grid { display: grid; grid-template-columns: 120px 1fr; row-gap: 10px; column-gap: 12px; font-size: 14px; }
.success-grid .label { color: #666; }
.success-grid .value { color: #333; }
.success-grid .value.price { color: #2196F3; font-weight: 600; }

.download-section { margin-top: 10px; }
.download-title { font-weight: bold; margin-bottom: 10px; }
.download-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.btn-download { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 4px; color: #fff; text-decoration: none; font-size: 14px; }
.btn-download i { margin-right: 8px; }
.btn-download.ios { background: #000; }
.btn-download.android { background: #42b983; }

.qr-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.qr-item { background: #fff; border: 1px dashed #ddd; border-radius: 6px; padding: 12px; text-align: center; }
.qr-item img { width: 120px; height: 120px; object-fit: cover; margin: 0 auto; }
.qr-item .caption { margin-top: 6px; color: #666; font-size: 12px; }

/* 响应式 */
@media (min-width: 768px) {
	.download-actions { grid-template-columns: 1fr 1fr; }
	.qr-item img { width: 150px; height: 150px; }
}