.recharge_area_money {
    width: 100%;
    padding: 0 0 6rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10rem;
}

.recharge_area_money .tips {
    color: #64676E;
    font-size: 1.2rem;
    margin: 0 auto;
}

.recharge_area_money h1 {
    margin: 5.5rem auto 1.25rem;
    font-size: 2.6rem;
    color: #333;
}

.center_recharge {
    display: flex;
    align-items: flex-start;
    max-width: 75%;
    margin-top: 2rem;
}

.center_recharge .center_left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center_recharge .center_left .pay_button {
    width: 10rem;
    aspect-ratio: 3.2;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(90deg, #4D75EF 0%, #2656E7 100%);
    box-shadow: 0px 4px 12px 0px rgba(64, 73, 100, 0.23);
    border-radius: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.78);
    margin: 2rem auto;
}

.center_recharge .center_left .input_area_money {
    width: 97%;
    margin-top: 3rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    border: 1px solid #B5BAC1;
    box-sizing: border-box;
    padding: 0 1rem;
}

.center_recharge .center_left .input_area_money .input_area {
    border: none;
    height: 100%;
    width: 100%;
    background: transparent;
    outline: none;
}

.price_choose_area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 一行三个 */
}

.price_choose_area .option_price {
    width: 10rem;
    aspect-ratio: 0.9;
    border-radius: 0.5rem;
    border: 1px solid #B5BAC1;
    margin-right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 1.5rem 0;
    cursor: pointer;
    margin-bottom: 1rem;
}

.price_choose_area .option_price:nth-child(4n) {
    margin-right: 0;
}

.price_choose_area .option_price:hover {
    border: 2px solid #2958E8;
}

.price_choose_area .option_price.active {
    border: 2px solid #2958E8;
}

.price_choose_area .option_price .option_price_txt1 {
    font-size: 1.3rem;
    color: #333;
}

.price_choose_area .option_price .price_special {
    font-size: 2.2rem;
    color: #333;
    font-weight: bold;
    margin-top: 1rem;
}

.price_choose_area .option_price .price_special span {
    font-size: 1.3rem;
}

.price_choose_area .option_price .option_price_txt2 {
    font-size: 1.1rem;
    color: #64676E;
}

.center_recharge .center_right {
    margin-left: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center_recharge .center_right .qr_code {}

.center_recharge .center_right .qr_code img {
    width: 12rem;
    aspect-ratio: 1;
}

.center_recharge .center_right .pay_tips {
    font-weight: normal;
    font-size: 0.9rem;
    color: #666666;
    margin: 1.5rem auto 1rem
}

.center_recharge .center_right .pay_button {
    width: 10rem;
    aspect-ratio: 3.2;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(90deg, #4D75EF 0%, #2656E7 100%);
    box-shadow: 0px 4px 12px 0px rgba(64, 73, 100, 0.23);
    border-radius: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.78);
}

.changeTabs {
    width: 13rem;
    margin-bottom: 2rem;
}

.tab-switch {
    position: relative;
    display: flex;
    width: 100%;
    height: 3rem;
    background: #F3F4F6;
    border-radius: 1.5rem;
    padding: 0.25rem;
    box-sizing: border-box;
}

.tab-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    border-radius: 1.5rem;
}

.tab-option img {
    width: 1.5rem;
    height: auto;
}

.tab-option span {
    margin-left: 0.5rem;
}

.tab-option.active {
    color: #333;
    font-weight: 600;
}

.tab-slider {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: calc(50% - 0.25rem);
    height: calc(100% - 0.5rem);
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1;
}

@media (max-width: 1024px) {
    .center_recharge {
        flex-direction: column;
        align-items: center;
        max-width: 95%;
    }
    .tab-switch {
        height: 2.5rem;
    }
    .tab-option {
        font-size: 0.9rem;
    }
    .recharge_area h1 {
        margin: 2rem auto 1rem;
        color: #333;
        font-size: 2rem;
    }
    .recharge_area {
        width: 100%;
        aspect-ratio: 0.8;
    }
    .center_recharge .center_right {
        margin-left: 0;
        margin-top: 5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .price_choose_area .option_price {
        margin-right: 0.8rem;
    }
    .center_recharge .center_left .input_area_money {
        margin-top: 1.5rem;
    }
    .recharge_area_money h1 {
        margin: 1.5rem auto 1.25rem;
        font-size: 2rem;
    }
}

.account_tips {
    font-size: 1.3rem;
    color: #333;
    margin: 2rem auto 1rem;
    text-align: left;
    line-height: 2rem;
}


/* 弹框样式 */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    width: 30rem;
    max-width: 90vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-bottom: 2rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-close {
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-body .changeTabs {
    margin-bottom: 1.5rem;
}

.modal-body .qr_code img {
    width: 15rem;
    height: 15rem;
    object-fit: contain;
}

.modal-body .pay_tips {
    margin: 1rem auto;
    text-align: center;
    color: #666;
    font-size: 1rem;
}