/* ==================== Royal Honey Zelle 感谢页面 - 现代设计 ==================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.trThankyouPage {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 20px 60px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Hero 区域 */
.heroSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    border-radius: 24px;
    padding: 48px 32px;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px -12px rgba(14, 165, 233, 0.35);
    position: relative;
    overflow: hidden;
}

.heroSection::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.heroSection::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.heroIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.heroIcon svg {
    width: 36px;
    height: 36px;
    color: #0284c7;
}

.heroTitle {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.heroSubtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 500px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.heroBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 8px 16px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.heroBadgeDot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.heroBadgeText {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* 订单状态时间线 */
.statusTimeline {
    width: 100%;
    max-width: 500px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.timelineBar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    overflow: hidden;
}

.timelineProgress {
    height: 100%;
    width: 33%;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    border-radius: 100px;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.timelineLabels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.timelineLabel {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* 支付卡片 */
.paymentCard {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.paymentHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.paymentTitle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zelleLogo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.zelleLogo svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.paymentTitleText {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.secureBadge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 100px;
    padding: 6px 14px;
}

.secureBadge svg {
    width: 14px;
    height: 14px;
    color: #10b981;
}

.secureBadgeText {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
}

.paymentAmount {
    text-align: right;
}

.paymentAmountLabel {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.paymentAmountValue {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.paymentAmountValue span {
    color: #0284c7;
}

/* 账户信息网格 */
.accountGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.accountCard {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
}

.accountCardTitle {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accountInfo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accountRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.accountLabel {
    font-size: 13px;
    color: #64748b;
}

.accountValue {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.copyButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
    min-width: 90px;
}

.copyButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

.copyButton:active {
    transform: translateY(0);
}

.copyButton svg {
    width: 14px;
    height: 14px;
}

/* QR码卡片 */
.qrCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qrCardTitle {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.qrCode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.qrCode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrSteps {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qrStep {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.qrStep:last-child {
    border-bottom: none;
}

.qrStepNumber {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.qrStepText {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.qrStepText strong {
    color: #0f172a;
}

/* 帮助信息 */
.helpSection {
    width: 100%;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.helpTitle {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.helpText {
    font-size: 13px;
    color: #a16207;
    line-height: 1.6;
}

/* 订单摘要卡片 */
.summaryCard {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.summaryHeader {
    margin-bottom: 20px;
}

.summaryTitle {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.summarySubtitle {
    font-size: 14px;
    color: #64748b;
}

.summaryMeta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.metaItem {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.metaLabel {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metaValue {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.metaValueHighlight {
    color: #0284c7;
}

/* 步骤卡片 */
.stepsCard {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.stepsHeader {
    margin-bottom: 20px;
}

.stepsTitle {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.stepsSubtitle {
    font-size: 14px;
    color: #64748b;
}

.stepsList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stepItem {
    display: flex;
    gap: 16px;
}

.stepIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.stepContent {
    flex: 1;
}

.stepTitle {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.stepDescription {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* 产品卡片 */
.productCard {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.productImage {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.productImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.productName {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.productMeta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

/* 价格总计 */
.priceSummary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
}

.priceRow {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.priceRow:last-child {
    border-bottom: none;
}

.priceLabel {
    font-size: 14px;
    color: #64748b;
}

.priceValue {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.priceTotal {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid #e2e8f0;
}

.priceTotal .priceLabel {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.priceTotal .priceValue {
    font-size: 20px;
    font-weight: 700;
    color: #0284c7;
}

/* 优惠码卡片 */
.discountCard {
    width: 100%;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.discountBadge {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discountText {
    font-size: 16px;
    color: #065f46;
    margin-bottom: 12px;
    line-height: 1.6;
}

.discountText strong {
    font-weight: 700;
}

.discountCode {
    display: inline-block;
    background: #ffffff;
    border: 2px dashed #10b981;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 700;
    font-family: "SF Mono", Monaco, "Courier New", monospace;
    color: #059669;
    letter-spacing: 2px;
}

.discountHint {
    font-size: 12px;
    color: #047857;
    margin-top: 12px;
}

/* 地址卡片 */
.addressCard {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.addressGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.addressTitle {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.addressContent {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    font-style: normal;
}

/* 支持卡片 */
.supportCard {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 20px;
    padding: 32px 24px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

.supportTitle {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.supportText {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.supportButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0284c7;
    border: none;
    border-radius: 100px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.supportButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 768px) {
    .trThankyouPage {
        padding: 24px 16px 40px;
    }

    .heroSection {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .heroTitle {
        font-size: 26px;
    }

    .heroSubtitle {
        font-size: 14px;
    }

    .heroIcon {
        width: 60px;
        height: 60px;
    }

    .heroIcon svg {
        width: 28px;
        height: 28px;
    }

    .paymentCard,
    .summaryCard,
    .stepsCard,
    .addressCard {
        padding: 20px;
        border-radius: 16px;
    }

    .paymentHeader {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .paymentAmount {
        text-align: left;
    }

    .accountGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qrCode {
        width: 160px;
        height: 160px;
    }

    .summaryMeta {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .addressGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .productCard {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .productImage {
        width: 100px;
        height: 100px;
    }

    .productMeta {
        justify-content: center;
    }

    .supportCard {
        padding: 24px 16px;
    }

    .supportTitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .trThankyouPage {
        padding: 16px 12px 32px;
    }

    .heroSection {
        padding: 24px 16px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .heroTitle {
        font-size: 22px;
    }

    .heroSubtitle {
        font-size: 13px;
    }

    .heroBadge {
        padding: 6px 12px;
    }

    .heroBadgeText {
        font-size: 12px;
    }

    .heroIcon {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }

    .heroIcon svg {
        width: 24px;
        height: 24px;
    }

    .paymentCard,
    .summaryCard,
    .stepsCard,
    .addressCard,
    .discountCard {
        padding: 16px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .paymentTitleText {
        font-size: 20px;
    }

    .paymentAmountValue {
        font-size: 24px;
    }

    .accountCard {
        padding: 16px;
    }

    .qrCode {
        width: 140px;
        height: 140px;
    }

    .summaryTitle,
    .stepsTitle {
        font-size: 18px;
    }

    .discountCard {
        padding: 20px 16px;
    }

    .discountText {
        font-size: 14px;
    }

    .discountCode {
        font-size: 16px;
        padding: 8px 20px;
    }

    .supportCard {
        padding: 20px 16px;
    }

    .supportTitle {
        font-size: 18px;
    }

    .supportButton {
        width: 100%;
        padding: 12px 24px;
    }

    .copyButton {
        width: 100%;
        min-width: unset;
        margin-top: 8px;
        flex-shrink: 0;
    }

    .accountRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .accountRow .copyButton {
        align-self: stretch;
        width: 100%;
    }
}