* {
    padding: 0;
    margin: 0;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

[v-cloak] {
    display: none;
}

/* 主色调定义 */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #50e3c2;
    --accent-color: #f5a623;
    --text-color: #333;
    --text-light: #666;
    --background-light: #fff;
    --border-color: #e0e0e0;
    --success-color: #7ed321;
    --danger-color: #d0021b;
    --qrcode-width: 220px;
    --qrcode-height: 220px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/*PAD-PC*/
@media screen and (min-width: 640px) and (max-width: 2000px) {
    .order {
        width: 500px;
        margin: 40px auto 30px;
        background: var(--background-light);
        border-radius: var(--border-radius);
        padding: 0 30px;
        box-shadow: var(--shadow);
        border: none;
        position: relative;
        overflow: hidden;
    }
    
    .order::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }
    
    .header {
        width: 100%;
        font-size: 22px;
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
        text-align: center;
        color: var(--text-color);
        font-weight: 600;
    }
    
    .paybtns {
        width: 100%;
        display: flex;
        margin: 30px auto 20px;
        justify-content: center;
    }
    
    .bottom_links {
        width: 500px;
        margin: 0 auto 40px;
        padding: 0 30px;
        justify-content: center;
        display: flex;
    }
    
    .bottom_links .bottom_links_inner {
        display: inline-flex;
        background: var(--background-light);
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }
    
    .bottom_links .bottom_links_inner a {
        padding: 5px 15px;
    }
}

/*PHONE*/
@media screen and (max-width: 639px) {
    .order {
        width: calc(95% - 20px);
        margin: 30px auto 20px;
        background: var(--background-light);
        border-radius: var(--border-radius);
        padding: 0 20px;
        box-shadow: var(--shadow);
        border: none;
        position: relative;
        overflow: hidden;
    }
    
    .order::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }
    
    .header {
        width: 100%;
        font-size: 18px;
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
        text-align: center;
        color: var(--text-color);
        font-weight: 600;
    }
    
    .paybtns {
        width: 100%;
        display: flex;
        margin: 30px auto 20px;
    }
    
    .bottom_links {
        width: 90%;
        margin: 0 auto 30px;
        padding: 0 20px;
        justify-content: center;
        display: flex;
    }
    
    .bottom_links .bottom_links_inner {
        display: inline-flex;
        background: var(--background-light);
        padding: 8px 15px;
        border-radius: 15px;
        box-shadow: var(--shadow);
    }
    
    .bottom_links .bottom_links_inner a {
        padding: 3px 10px;
    }
}

.order-info {
    width: 100%;
    padding: 25px 0 0;
}

.order-info .info {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 16px;
    display: flex;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.order-info .info:hover {
    background-color: rgba(74, 144, 226, 0.05);
    padding-left: 10px;
}

.order-info .info_ {
    display: none;
}

.order-info .info .info-title {
    flex: 1;
    font-weight: 500;
}

.order-info .info .info-data {
    flex: 1;
    text-align: right;
    font-weight: 600;
    color: var(--text-color);
}

.paybtns .paybtn {
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    margin: 0 auto;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(72, 192, 99, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wxpay {
    background: linear-gradient(135deg, #48c063, #38a169);
    color: #fff;
}

.wxpay:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 192, 99, 0.4);
}

.alipay {
    background: linear-gradient(135deg, #007ff2, #0056b3);
    color: #fff;
}

.order_amount {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-top: 25px;
    color: var(--danger-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.you_need_pay_ {
    font-weight: bold;
    color: var(--danger-color);
    text-shadow: none;
}

.qrcode {
    width: var(--qrcode-width);
    height: var(--qrcode-height);
    margin: 20px auto 0;
    position: relative;
    /* 去掉内部的边框和padding，让二维码直接占满容器 */
    padding: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.qrcode .qrcode_img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.qrcode .qrcode_status_text {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 99999;
    color: var(--danger-color);
    font-weight: bold;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
}

/* 二维码头部状态 */
.qrcode-header {
    text-align: center;
    margin-bottom: 15px;
    padding: 20px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.qrcode-status {
    font-size: 16px;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 10px;
}

.payment-guide-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.amount-highlight {
    color: var(--danger-color);
    font-weight: bold;
}

/* 二维码底部支付信息 */
.qrcode-footer {
    margin-top: 20px;
}

.payment-info {
    background-color: var(--danger-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(208, 2, 27, 0.3);
}

.payment-amount {
    margin-bottom: 15px;
}

.amount-label {
    font-size: 14px;
    opacity: 0.9;
}

.amount-value {
    font-size: 24px;
    font-weight: bold;
    margin-left: 5px;
    color: #fff;
}

.countdown {
    margin: 0;
    font-size: 14px;
}

.countdown-label {
    opacity: 0.9;
}

.countdown-value {
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
    animation: pulse 1s infinite;
}

/* 放大二维码 */
.large-qrcode {
    --qrcode-width: 280px;
    --qrcode-height: 280px;
    margin: 30px auto;
}

.pay_tips {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    padding: 15px 0 10px;
    font-weight: 500;
    margin: 0;
}



.countdown {
    text-align: center;
    font-size: 17px;
    color: var(--text-light);
    padding: 15px 0 40px;
    font-weight: 500;
}

#countdown_time {
    color: var(--danger-color);
    font-weight: bold;
    font-size: 18px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.qrcode_blur {
    filter: blur(3px);
}

.bottom_links .link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    flex: 1;
    text-align: center;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0 5px;
}

.bottom_links .link:hover {
    color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.1);
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loadding_text {
    text-align: center;
    font-size: 16px;
    margin: 10px auto 40px;
    display: block;
    color: var(--text-light);
    font-weight: 500;
}

.clickOtherAmountTips {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    padding: 15px 0;
    font-weight: 400;
}

.clickOtherAmountTips span {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickOtherAmountTips span:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 紧凑订单信息方块 */
.compact-order-info {
    background: var(--background-light);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.info-item:hover {
    background-color: rgba(74, 144, 226, 0.05);
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    word-break: break-all;
}

.info-value.price {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

/* 响应式调整 */
@media screen and (max-width: 480px) {
    .compact-order-info {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .info-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        text-align: left;
    }
    
    .info-label {
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .info-value {
        font-size: 13px;
    }
    
    .info-value.price {
        font-size: 14px;
    }
}

/* 支付部分 */
.pay-section {
    margin-bottom: 30px;
}

.pay-description {
    text-align: center;
    margin-bottom: 20px;
}

.pay-description h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.pay-description p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.paybtns {
    display: flex;
    justify-content: center;
}

.paybtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(72, 192, 99, 0.3);
}

.pay-icon {
    font-size: 20px;
}

/* 金额部分 */
.amount-section {
    text-align: center;
    margin-bottom: 30px;
}

.amount-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.order_amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* 支付指南 */
.payment-guide {
    margin-bottom: 30px;
}

.guide-card {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.guide-icon {
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.guide-content {
    flex: 1;
}

.pay_tips {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.clickOtherAmountTips {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.highlight:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 加载部分 */
.loading-section {
    text-align: center;
    padding: 40px 0;
}

.loader {
    margin: 0 auto 20px;
}

.loadding_text {
    margin: 0;
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* 二维码部分 */
.qrcode-section {
    margin-bottom: 30px;
}

/* 二维码优先显示 */
.qrcode-priority {
    margin: 30px 0;
    animation: fadeIn 0.5s ease-out 0.1s both;
}

.qrcode-container {
    background: var(--background-light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    max-width: 400px;
    margin: 0 auto;
}

/* 优化整体布局，减少不必要的间距 */
.order-info {
    margin-bottom: 20px;
}

.pay-section {
    margin-bottom: 20px;
}

.amount-section {
    margin-bottom: 20px;
}

.payment-guide {
    margin-bottom: 20px;
}

.loading-section {
    padding: 30px 0;
}

/* 响应式调整 */
@media screen and (max-width: 480px) {
    .qrcode-container {
        padding: 20px;
    }
    
    .order-info {
        margin-bottom: 15px;
    }
    
    .pay-section {
        margin-bottom: 15px;
    }
    
    .amount-section {
        margin-bottom: 15px;
    }
    
    .payment-guide {
        margin-bottom: 15px;
    }
}

.qrcode-header {
    text-align: center;
    margin-bottom: 20px;
}

.qrcode-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.qrcode-status {
    font-size: 14px;
    color: var(--danger-color);
    font-weight: 600;
}

.qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--background-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

/* 放大二维码 */
.large-qrcode {
    padding: 25px;
}

.large-qrcode .qrcode_img {
    max-width: 250px;
    height: auto;
}

.qrcode_img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.qrcode-footer {
    text-align: center;
}

/* 支付信息红色背景框 */
.payment-info {
    background-color: rgba(208, 2, 27, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(208, 2, 27, 0.3);
    padding: 20px;
}

.payment-amount {
    margin-bottom: 15px;
}

.amount-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    margin-right: 10px;
}

.amount-value {
    font-size: 28px;
    font-weight: bold;
    color: #d0021b;
    text-shadow: 1px 1px 2px rgba(208, 2, 27, 0.3);
}

.countdown {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(208, 2, 27, 0.2);
}

.countdown-value {
    color: #d0021b;
    font-weight: bold;
}

/* 响应式调整 */
@media screen and (max-width: 480px) {
    .large-qrcode .qrcode_img {
        max-width: 200px;
    }
    
    .payment-info {
        padding: 15px;
    }
    
    .amount-value {
        font-size: 24px;
    }
    
    .countdown {
        font-size: 14px;
    }
}

.countdown-label {
    margin-right: 5px;
}

.countdown-value {
    color: var(--danger-color);
    font-weight: bold;
    font-size: 18px;
    animation: pulse 1s infinite;
}

/* 订单状态 */
.order-status {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
}

.status-message {
    font-size: 18px;
    font-weight: 600;
    color: var(--success-color);
    padding: 20px;
    background: rgba(126, 211, 33, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(126, 211, 33, 0.3);
}

/* 功能亮点 */
.feature-highlights {
    margin-bottom: 30px;
}

.feature-highlights h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

.highlight-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--danger-color);
    background-color: rgba(208, 2, 27, 0.1);
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

/* 底部链接 */
.bottom_links {
    margin-top: 30px;
}

.bottom_links_inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: var(--background-light);
    padding: 15px 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 500px;
}

.link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 15px;
}

.link:hover {
    color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.1);
    transform: translateY(-2px);
}

/* 响应式调整 */
@media screen and (max-width: 480px) {
    :root {
        --qrcode-width: 180px;
        --qrcode-height: 180px;
    }
    
    .order_amount {
        font-size: 36px;
    }
    
    .paybtn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .highlight-item {
        padding: 15px;
    }
    
    .highlight-icon {
        font-size: 20px;
    }
    
    .highlight-item span {
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order {
    animation: fadeIn 0.5s ease-out;
}

.qrcode-container {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.pay-section {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.feature-highlights {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* 添加一些装饰元素 */
.order::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(80, 227, 194, 0.1));
    border-radius: 50% 0 0 50%;
    z-index: 0;
}

/* 优化现有样式 */
.you_need_pay {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.you_need_pay_ {
    font-weight: bold;
    color: var(--danger-color);
}

/* 微信支付按钮特殊样式 */
.wxpay {
    background: linear-gradient(135deg, #48c063, #38a169);
    color: #fff;
}

.wxpay:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(72, 192, 99, 0.4);
}
