/* 支付弹窗样式 */
.payment-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.payment-modal-content {
    background: white;
    position: relative;
    border-radius: 20px;
    width: 90%;
    max-width: 750px;
    max-height: 75vh;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease;
    overflow: hidden;
    display: flex;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #666;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.payment-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.payment-left {
    flex: 1;
    padding: 25px 30px;
    overflow: hidden;
}

.payment-right {
    flex: 0 0 320px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 81, 213, 0.08) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-header {
    padding-bottom: 15px;
    text-align: left;
    color: #333;
}

.payment-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-header h2 .premium-text {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.payment-header h2 .premium-text::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('images/smverified.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.payment-subtitle {
    font-size: 14px;
    color: #666;
}

.payment-price {
    text-align: left;
    margin-bottom: 18px;
    border: 2px solid #007aff;
    border-radius: 12px;
    padding: 15px 18px;
    background: transparent;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.price-tag {
    font-size: 32px;
    font-weight: 700;
    color: #007aff;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.price-period {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.payment-features-list {
    border: 2px solid #007aff;
    border-radius: 12px;
    padding: 0;
    margin: 0;
}

.payment-feature-item {
    padding: 7px 12px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #333;
    line-height: 1.3;
}

.payment-feature-item:last-child {
    border-bottom: none;
}

.payment-feature-icon {
    width: 18px;
    height: 18px;
    background: #007aff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.payment-qr {
    text-align: center;
}

.qr-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.qr-code-container {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-container canvas,
.qr-code-container img {
    max-width: 100%;
    max-height: 100%;
}
