/* 积分充值弹窗样式 */
/* 弹窗容器样式 */
.recharge-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.recharge-modal.show {
    opacity: 1;
    pointer-events: all;
}

/* 弹窗内容样式 */
.recharge-modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.recharge-modal.show .recharge-modal-content {
    opacity: 1;
    transform: translateY(0);
}

/* 关闭按钮样式 */
.recharge-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1001;
}

.recharge-close:hover, .recharge-close:focus {
    /* color: #fff; */
    text-decoration: none;
    cursor: pointer;
}

/* 积分充值弹窗特定样式 */
.recharge-buy-points-modal-content {
    max-width: 500px;
    text-align: center;
    background-color: white;
    color: #333;
    border-radius: 8px;
}

.recharge-points-purchase-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.recharge-points-option {
    flex: 1;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 125px;
}

.recharge-points-option:hover {
    border-color: #f59e0b;
    background-color: #fffbeb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.recharge-points-option.active {
    border-color: #f59e0b;
    background-color: #fffbeb;
    border-width: 3px;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.recharge-points-amount {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.recharge-points-reward {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 600;
}

.recharge-points-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
}




.recharge-payment-qr-code {
    width: 229px;
    height: 229px;
    object-fit: contain;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    background: white;
}

/* 充值积分按钮样式 */
.recharge-buy-points-btn {
    background-color: #f59e0b;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.recharge-buy-points-btn:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

/* 支付方式标签样式 */
.recharge-payment-method-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.recharge-payment-tab {
    padding: 8px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.recharge-payment-tab:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}

.recharge-payment-tab.active {
    background-color: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

/* 支付方式内容样式 */
.recharge-payment-method-content {
    display: none;
}

.recharge-payment-method-content.active {
    display: block;
}

/* 刷新二维码按钮样式 */
.recharge-refresh-qr-btn {
    background-color: #4f46e5;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.recharge-refresh-qr-btn:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
}

/* 订单信息样式 */
.recharge-order-info {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0;
}

/* 加载状态样式 */
.recharge-qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 229px;
    gap: 10px;
    color: #6b7280;
}

.recharge-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: recharge-spin 1s linear infinite;
}

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

/* 二维码容器样式 */
.recharge-qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}


/* 二维码区域样式 */
.recharge-payment-qr-section {
    /* margin: 10px 0; */
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* 支付标题样式 */
.recharge-payment-qr-section .recharge-payment-title {
    margin: 0;
    color: #4f46e5;
    font-size: 16px;
    font-weight: 600;
}

.recharge-btn {
    background-color: #4f46e5;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}
