/* 充值页面样式 */
.recharge-container {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin: 20px 0;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.recharge-info {
    margin-bottom: 30px;
}

.recharge-tip {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.balance-info {
    font-size: 18px;
}

.balance-info .balance {
    color: #ff6b6b;
    font-size: 24px;
    margin-left: 10px;
}

/* 充值金额选择 */
.recharge-options {
    margin-bottom: 30px;
}

.recharge-options h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.amount-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.amount-item {
    position: relative;
}

.amount-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.amount-item label {
    display: block;
    padding: 15px;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-item input[type="radio"]:checked + label {
    border-color: #2B61B3;
    background: #e8f3ff;
    color: #2B61B3;
}

.amount-item.custom input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
}

.amount-item.custom input[type="text"]:focus {
    border-color: #2B61B3;
    outline: none;
}

/* 支付方式 */
.payment-methods {
    margin-bottom: 30px;
}

.payment-methods h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.payment-list {
    display: flex;
    gap: 20px;
}

.payment-item {
    position: relative;
    flex: 1;
}

.payment-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-item input[type="radio"]:checked + label {
    border-color: #2B61B3;
    background: #e8f3ff;
    color: #2B61B3;
}

.payment-item i {
    font-size: 24px;
}

.payment-item i.fa-alipay {
    color: #00a0e9;
}

.payment-item i.fa-weixin {
    color: #2aae67;
}

/* 充值按钮 */
.recharge-action {
    text-align: center;
}

.recharge-btn {
    padding: 12px 50px;
    font-size: 18px;
    background: #2B61B3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.recharge-btn:hover {
    background: #1e4c8f;
}

.login-tip {
    color: #ff6b6b;
    font-size: 16px;
    line-height: 1.5;
}

/* 登录弹窗 */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.login-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 90%;
}

.login-modal-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.login-modal p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.login-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.login-modal-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: #2B61B3;
    color: #fff;
}

.login-btn:hover {
    background-color: #1e4c8f;
}

.register-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.register-btn:hover {
    background-color: #e8e8e8;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #666;
}

/* 移动端适配 */
@media screen and (max-width: 480px) {
    .login-modal-content {
        width: 90%;
        padding: 20px;
    }

    .login-modal-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .login-modal-btn {
        width: 100%;
    }
} 