.payment-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

.payment-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.back-arrow {
    font-size: 24px;
    margin-right: 20px;
    cursor: pointer;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.product-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-icon {
    font-size: 40px;
    margin-right: 15px;
}

.product-details {
    flex: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.product-desc {
    font-size: 14px;
    color: #666;
}

.payment-amount {
    text-align: center;
    margin: 30px 0;
}

.amount-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.amount-value {
    font-size: 36px;
    font-weight: 700;
    color: #e53e3e;
}

.currency {
    font-size: 24px;
    vertical-align: top;
}

.payment-method {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 10px;
}

.method-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.method-btn.active {
    border-color: #07c160;
    background-color: #f0f9f4;
    color: #07c160;
    font-weight: 500;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.qr-code {
    display: none;
    flex-direction: column;
    align-items: center;
}

.qr-code.active {
    display: flex;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: white;
    border: 1px solid #eee;
    position: relative;
    margin-bottom: 15px;
}

.qr-dot {
    width: 30px;
    height: 30px;
    background-color: #333;
    position: absolute;
    top: 20px;
    left: 20px;
}

.qr-dot::after {
    content: '';
    width: 30px;
    height: 30px;
    background-color: #333;
    position: absolute;
    top: 0;
    right: -150px;
}

.qr-dot::before {
    content: '';
    width: 30px;
    height: 30px;
    background-color: #333;
    position: absolute;
    bottom: -150px;
    left: 0;
}

.qr-tip {
    font-size: 14px;
    color: #666;
}

.payment-instructions {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.payment-instructions p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
}

.payment-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    padding: 20px;
    background-color: white;
    border-top: 1px solid #eee;
}

.cancel-btn, .confirm-btn {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.cancel-btn {
    margin-right: 10px;
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
}

.confirm-btn {
    border: none;
    background-color: #07c160;
    color: white;
}

/* 响应式调整 */
@media (max-width: 375px) {
    .qr-placeholder {
        width: 180px;
        height: 180px;
    }
    .amount-value {
        font-size: 32px;
    }
}

.case-image.bg1 {
    background: url('./bg1.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg2 {
    background: url('./bg2.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg3 {
    background: url('./bg3.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg4 {
    background: url('./bg4.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg5{
    background: url('./bg5.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg6 {
    background: url('./bg6.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg7 {
    background: url('./bg7.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg8 {
    background: url('./bg8.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg9 {
    background: url('./bg9.png') no-repeat center center;
    background-size: cover;
}

.case-image.bg10 {
    background: url('./bg10.png') no-repeat center center;
    background-size: cover;
}