.user_nirwallet_box {
    height: 100%;
    background: #fefefe;
    padding: 20px;
    border-radius: 10px;
}

.user_nirwallet_box ul {
    list-style: none;
    padding: 15px;
    margin: 0;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.user_nirwallet_box ul li {
    font-size: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 25px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    background: #F6F6F6;
    border-radius: 6px;
    margin: 0 0 0 10px;
}

.content_nirweb_Wallet > div {
    display: none
}

.content_nirweb_Wallet > div:first-child {
    display: block;
}

.pagination_nirweb_wallet a {
    margin: 0 5px
}

.debit_card_nirweb {
    width: 50%;
    max-width: 400px;
    background: linear-gradient(119.99deg, #8995ed 17%, #5c68c3 93.48%);
    box-shadow: 0px 2px 6px 0px #0000001A;
    border-radius: 16px;
    padding: 10px 15px;
    color: #fff;
    height: 214px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.debit_card_head_nirweb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.debit_card_head_nirweb_btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: end;
}

.credit_wallet_nirweb {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.credit_wallet_nirweb svg {
    margin: 0 0 0 5px;
}

.transfer_wallet_nirweb_btn {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.transfer_wallet_nirweb_btn svg {
    margin: 0 0 0 5px;
}

.debit_card_balance_nirweb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.debit_card_balance_nirweb h5 {
    font-size: 15px;
    margin: 0 0 10px 0;
    font-weight: 300;
    color: #fff
}

.debit_card_balance_nirweb span {
    font-weight: 500;
    font-size: 17px;
    color: #fff
}

.user_nirwallet_box ul li.active {
    background: #7985dc !important;
    color: #fff;
}

.nirwallet_tbl {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: separate !important;
    border-spacing: 0 8px;
    border: 0 !important;
}

.nirwallet_tbl th, .nirwallet_tbl td {
    border: 0 !important;
    text-align: center;
    padding: 15px;
}

.nirwallet_tbl td, .nirwallet_tbl tr:hover td {
    background-color: #7985dc1c !important;
    line-height: 2.5 !important;
    color: #555555;
}

.nirwallet_tbl th, .nirwallet_tbl tr:hover th {
    background-color: #7985dc70;
    border: 0;
    width: 33.333%;
}

.nirwallet_tbl td:first-child, .nirwallet_tbl th:first-child {
    border-radius: 0 8px 8px 0;
    text-align: right;
    font-weight: 500;
}

.nirwallet_tbl td:last-child, .nirwallet_tbl th:last-child {
    border-radius: 8px 0 0 8px;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
}

.nirwallet_tbl td .woocommerce-Price-amount bdi, .nirwallet_tbl td .woocommerce-Price-amount span {
    font-weight: 500;
    color: #555555;
}

.nirwallet_tbl .dec_nirwallet, .nirwallet_tbl td.dec_nirwallet .woocommerce-Price-amount bdi, .nirwallet_tbl td.dec_nirwallet .woocommerce-Price-amount span {
    color: #f00;
}

.nirweb_wallet_box {
    display: flex;
    align-items: start;
    margin: 30px 0;
    /* flex-wrap: wrap; */
}

.credit_form_nirwallet {
    width: 50%;
    max-width: 400px;
    background: #eeeeee;
    min-height: 214px;
    border-radius: 16px;
    padding: 15px;
    margin: 0 10px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    z-index: -1;
}

.credit_form_nirwallet_div {
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.credit_form_nirwallet_div.active {
    display: flex;
}


.credit_form_nirwallet.show {
    opacity: 1;
    z-index: 1;
}

.credit_form_nirwallet h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #000;
}

#transform_form_nirwallet input {
    margin-bottom: 15px;
}

#transform_form_nirwallet h3 {
    margin-bottom: 10px !important;

}

.nirwallet_enc_value {
    display: flex;
    align-items: center;
}

.nirwallet_enc_value span {
    color: #000;
}

.credit_form_nirwallet input {
    width: 160px;
    border: 0;
    max-width: 50%;
    margin: 0 0 0 10px;
    outline: 0;
    background: #fff;
    height: 45px;
    font-size: 14px;
    text-align: center;
    padding: 0;
    border-radius: 10px;
}

.nirweb_add_to_wallet_box {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

#error_nirweb_add_to_wallet, #error_nirweb_transfer_to_wallet {
    font-size: 13px;
    color: #C60F1D;
    display: block;
    min-height: 20px;
    min-width: 100px;
}

.credit_form_nirwallet input.nirweb_add_to_wallet {
    background: #7985dc;
    /*margin-right: auto;*/
    color: #fff;
    /* border: 1px solid #FF8A00; */
    padding: 0;
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 !important;
    outline: 0;
    cursor: pointer;
}

.credit_form_nirwallet input[type=number]::-webkit-inner-spin-button,
.credit_form_nirwallet input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#generate_referral_code {
    background: linear-gradient(119.99deg, #8995ed 17%, #5c68c3 93.48%);
    color: #fff;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    height: 50px;
    min-width: 150px;
    padding: 10px;
    cursor: pointer;
    margin: 0 auto;
}

.referral_title_nirwallet {
    text-align: center;
    font-size: 18px;
    margin: 35px 0 15px 0;
}

.referral_description_nirwallet {
    text-align: center;
    max-width: 85%;
    color: #858585;
    margin: 0 0 30px 0;
}

.refferal_code_text {
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
    display: block;
    padding: 10px;
}

.nirwallet_refferal_box {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
}

.discount_code_form_nirwallet {
    display: flex;
    align-items: center;
}

.discount_code_form_nirwallet select {
    max-width: 80%;
    margin: 0 0 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 50px;
    background: transparent;
    outline: none;
}

.discount_code_form_nirwallet button {
    background: linear-gradient(119.99deg, #8995ed 17%, #5c68c3 93.48%);
    color: #fff;
    border: 1px solid #5c68c3;
    border-radius: 6px;
    height: 50px;
}

.delete_coupon_code {
    cursor: pointer;
}

@media (max-width: 900px) {
    .nirweb_wallet_box {
        flex-direction: column;
    }

    .credit_form_nirwallet {
        margin: 10px 0 0 0;
        position: absolute;
    }

    .credit_form_nirwallet.show {
        position: relative;
    }

    .credit_form_nirwallet, .debit_card_nirweb {
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .debit_card_balance_nirweb {
        flex-direction: column;
        align-items: flex-start;
    }

    .debit_card_balance_nirweb_unlimited {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0 0 10px 0;
    }

    .debit_card_balance_nirweb h5 {
        margin: 0;
    }

    .user_nirwallet_box ul li {
        width: 100%;
        margin: 0 0 10px 0;
    }
}