.checkout-main {
    width: 100%;
    display: flex;
    margin-top: 20px;
}

.container {
    width: 40%;
    margin-left: 30%;
    background: rgba(255, 253, 253, 0.82);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #07c160 0%, #09ad53 100%);
    color: white;
    padding: 5px 5px;
    text-align: center;
}

h1 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.order-info {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order-label {
    color: #666;
}

.order-value {
    font-weight: 500;
}

.amount {
    font-size: 24px;
    color: #ff4d4f;
    font-weight: 600;
}

.payment-methods {
    padding: 5px;
}

.payment-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #07c160;
    background: #f9fff9;
}

.payment-option.selected {
    border-color: #07c160;
    background: #f9fff9;
    box-shadow: 0 0 0 1px #07c160;
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 22px;
}
.fa-weixin{
    width: 30px;
}

.payment-text {
    flex: 1;
}

.payment-name {
    font-weight: 500;
    margin-bottom: 3px;
}

.payment-desc {
    font-size: 13px;
    color: #999;
}

.pay-button {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    background: linear-gradient(135deg, #07c160 0%, #09ad53 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(7, 193, 96, 0.3);
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(7, 193, 96, 0.4);
}

.pay-button:active {
    transform: translateY(0);
}

.wechat-pay-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 360px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    animation: modalAppear 0.4s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: #07c160;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #f5f6fa;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.payment-status {
    margin-top: 5%;
    width: 60%;
    margin-left: 20%;
    border-radius: 12px;
    text-align: center;
    display: none;
}

.status-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.status-failure {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}

.status-processing {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #1890ff;
}

.status-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.after-paid{
    text-align: center;
    display: flex;
    margin-left: 25%;

}
.after-paid a {
    text-align: center;
    background: #07c160;
    border-radius: 16px;
    display:flex;
    font-size: 0.8rem;
    line-height: 2rem;
    width: 50%;

}


.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #07c160;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        margin-left: 5%;
    }

    .payment-status {
        margin-top: 20%;
        width: 90%;
        margin-left: 5%;
    }
}