.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;
    }
}

/*************************************/
/**********    new css   ************/
/***********************************/
:root {
    --nirwallet-color-prime-1: #5C68C3;
    --nirwallet-color-prime-2: #8A95EB;
}

.nirwallet_page_box {
    padding: 15px;
    border-radius: 8px;
    background: #ffffff;
    border: solid 1px #EEEEEE;
}

.nirwallet_page_box p, .nirwallet_page_box h3 {
    margin: 0;
}


.nirwallet_tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: solid 1px #EAEAEA;
    width: max-content;
    margin-bottom: 15px;
}

.nirwallet_tabs a {
    display: block;
    padding: 8px 15px;
    width: max-content;
    font-weight: 300;
    color: #8F8F8F;
    font-size: 15px;
}

.nirwallet_tabs a.active {
    border-bottom: solid 2px var(--nirwallet-color-prime-1);
    color: #000000;
    font-weight: 500;
}

.nirwallet_page_row {
    display: flex;
    flex-wrap: wrap;
}

.nirwallet_page_col {
    width: 50%;
    padding: 15px;
}

/** balance **/
.nirwallet_box_card {
    width: 100%;
    background: linear-gradient(330deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    padding: 10px;
    border-radius: 8px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nirwallet_box_card h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;

}

.nirwallet_box_card_price {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    font-size: 27px;
    color: #ffffff;
    font-weight: 500;
    padding: 5px;
}

.nirwallet_box_card_price p {
    margin: 0;
    color: #ffffff;
}

.nirwallet_box_card_price .currency_symbol {
    font-size: 18px;
}

.nirwallet_box_card_price .plus_icon {
    margin: 0 10px;
    font-size: 17px;
}

.nirwallet_box_card_price .cash_back_price {
    font-weight: 400;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.nirwallet_box_card_price .cash_back_price span {
    font-weight: 300;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.nirwallet_cashback_notice {
    color: #7E7878;
    font-size: 14px;
    margin: 12px 0;
}

.nirwallet_form_add_balance h3 {
    font-size: 17px;
    font-weight: 600;
    color: #292929;
    margin-bottom: 6px;
}

.nirwallet_form_add_balance p {
    font-size: 14px;
    font-weight: 400;
    color: #878787;
    margin-bottom: 25px;
}

.nirwallet_input {
    height: 45px !important;
    width: 100% !important;
    border-radius: 8px !important;
    border: solid 1px #D9D9D9 !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: 400 !important;
}

.nirwallet_input::placeholder {
    color: #A8A8A8 !important;
    font-size: 15px !important;
    font-weight: 300 !important;
}

.list_quick_price_entry {
    display: flex;
    justify-content: space-between;
}

.quick_price_entry {
    width: 32%;
    padding: 10px 5px;
    border-radius: 8px;
    border: solid 1px #D9D9D9;
    text-align: center;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.quick_price_entry span {
    font-size: 13px;
    font-weight: 400;
}

.nirwallet_form_add_balance button {
    background: linear-gradient(330deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    display: flex;
    width: max-content;
    padding: 10px 30px;
    border-radius: 8px;
    color: #ffffff;
    margin-top: 17px;
    line-height: 1.5em;
}

.nirwallet_form_add_balance button:hover {
    background: linear-gradient(300deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    color: #ffffff;
}

.nirwallet_form_add_balance button[disabled] {
    background: linear-gradient(300deg, #989ec9 0%, #a4a7bb 100%);
    color: #ffffff;
}

/*****  transaction  *****/
.nirwallet_transaction {
    width: 100%;
}

.nirwallet_list_transaction {
    max-height: 600px;
    overflow: auto;
}

.list_filter_transaction{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.list_filter_transaction a{
    text-decoration: none;
    color: #444444;
    padding: 5px 20px;
    font-size:14px;
    background: #f4f4f4;
    border-radius: 6px;
}
.list_filter_transaction a.active{
    background: var(--nirwallet-color-prime-1);
    color: #ffffff;
}

.nirwallet_list_transaction_row {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    border: solid 1px #9c9c9c;
    border-radius: 8px;
    justify-content: space-between;
    background: #f3f3f3;
    margin-bottom: 10px;
}

.nirwallet_list_transaction_row p:first-child {
    border-left: none;
    flex: 2;
}

.nirwallet_list_transaction_row p {
    flex: 1;
    border-left: solid 1px #e1e1e1;
    padding: 5px 15px;
    font-size: 15px;
    color: #2b2b2b;
}

.nirwallet_transaction h3 {
    font-size: 16px;
    font-weight: 600;
    color: #292929;
    margin-bottom: 10px;
}

.nirwallet_transfer_message {
    display: flex;
    justify-content: center;
}

.nirwallet_transfer_message p {
    width: max-content;
    padding: 7px 17px;
    border-radius: 6px;
    background: #217c1a;
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.nirwallet_transfer_message.error p {
    background: #b12d2d;
    color: #fff;
}

.nirwallet_list_transaction_row.header {
    background: none;
    border: none;
    margin-bottom: 0;
    padding: 5px;
}

.nirwallet_list_transaction_row.header p {
    font-weight: 700;
    font-size: 14px;
    padding: 0 15px;
}

/*****  discount code  *****/
.nirwallet_discount_code_generate h3,.nirwallet_list_discount_code h3 {
    font-size: 17px;
    font-weight: 600;
    color: #292929;
    margin-bottom: 6px;
}

.nirwallet_discount_code_generate p {
    font-size: 14px;
    font-weight: 400;
    color: #878787;
    margin-bottom: 25px;
}

.nirwallet_discount_code_generate select {
    height: 45px !important;
    width: 100% !important;
    border-radius: 8px !important;
    border: solid 1px #D9D9D9 !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: 400 !important;
    padding: 5px 10px !important;
}

.nirwallet_discount_code_generate button {
    background: linear-gradient(330deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    display: flex;
    width: max-content;
    padding: 10px 30px;
    border-radius: 8px;
    color: #ffffff;
    line-height: 1.5em;
}
.nirwallet_list_discount_code_row {
    background: #F8F8F8;
    padding: 5px;
    border-radius: 8px;
    border: solid 1px #D9D9D9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}
.nirwallet_list_discount_code_row p{
    font-size: 16px;
    color: #666666;
    font-weight: 400;
}
.nirwallet_list_discount_code_row div{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
}
.discount_code_copy_code{
    height: 35px;
    width: max-content;
    padding: 5px 10px;
    border-radius: 8px;
    background: linear-gradient(330deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
}
.discount_code_trash button{
    padding: 0 !important;
    background: 0 !important;
    width: max-content !important;
    border: none !important;
}

/*****  referral code  *****/
.nirwallet_referral_code {
    width: 100%;
}

.nirwallet_box_copy_code_referral {
    display: flex;
    align-items: center;
    background: linear-gradient(330deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    border-radius: 6px;
    width: max-content;
    padding: 10px;
    position: relative;
    margin-bottom: 30px;
}

.nirwallet_box_copy_code_referral p {
    min-width: 120px;
    text-align: center;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    letter-spacing: 2px;
}

.alert_copy_referral_code {
    display: none;
    position: absolute;
    left: 95%;
    bottom: 80%;
    background: #eaedff;
    border-radius: 8px 8px 8px 0;
    border: solid 1px #6873cd;
    width: max-content;
    padding: 7px;
}

.nirwallet_box_copy_code_referral .icon_copy {
    cursor: pointer;
    height: 30px;
}

.nirwallet_referral_code h3 {
    font-size: 16px;
    font-weight: 600;
    color: #292929;
    margin-bottom: 10px;
}

.nirwallet_list_referral {
    max-height: 500px;
    overflow: auto;
}

.nirwallet_list_referral_row {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    border: solid 1px #9c9c9c;
    border-radius: 8px;
    justify-content: space-between;
    background: #f3f3f3;
    margin-bottom: 10px;
}

.nirwallet_list_referral_row p:first-child {
    border-left: none;
}

.nirwallet_list_referral_row p {
    flex: 1;
    border-left: solid 1px #e1e1e1;
    padding: 5px 15px;
    font-size: 15px;
    color: #2b2b2b;
}

/***** transfer *****/
.nirwallet_box_allowed_price {
    width: 100%;
    background: linear-gradient(330deg, var(--nirwallet-color-prime-1) 0%, var(--nirwallet-color-prime-2) 100%);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nirwallet_box_allowed_price h3 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.nirwallet_box_allowed_price p {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.nirwallet_box_allowed_price p span {
    font-size: 14px;
    font-weight: 400;
}

.nirwallet_last_destinations {
    margin-top: 20px;

}

.nirwallet_last_destinations h3 {
    font-size: 16px;
    font-weight: 600;
    color: #292929;
    margin-bottom: 10px;
}

.nirwallet_last_destination_box {
    border-left: solid 4px var(--nirwallet-color-prime-1);
    height: 60px;
    background: #F9F9F9;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 10px;
    padding: 7px 15px;
    cursor: pointer;
}

#nirwallet_search_user_input {
    margin-bottom: 0 !important;
}

#nirwallet_search_user_input.selected {
    border: solid 2px #0FA34C !important;
}

#nirwallet_bank_card_input.selected {
    border: solid 2px #0FA34C !important;
}

.nirwallet_transfer_search {
    position: relative;
}

.nirwallet_transfer_result_search {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 6px;
    background: #ffffff;
    width: 99%;
    box-shadow: 0 2px 3px rgb(140 140 140 / 26%);
    display: none;
}

.nirwallet_transfer_result_search.active {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 2px;
}

.nirwallet_transfer_result_search strong, .nirwallet_last_destination_box strong {
    color: #000000;
    font-weight: 500;
    font-size: 16px;
}

.nirwallet_transfer_result_search p, .nirwallet_last_destination_box p {
    margin: 0;
    font-weight: 300;
    font-size: 14px;
    color: #777777;
    line-height: 1.1em;
}

.nirwallet_transfer_result_search.onclick {
    cursor: pointer;
}

.error_message_transfer_form {
    display: none;
    font-size: 14px !important;
    color: #ad1919 !important;
    line-height: 1.6em;
    margin-top: 5px;
}

/*** withdrawal **/
.nirwallet_withdrawal_rules {
    margin-top: 20px;
}

.nirwallet_withdrawal_rules h3 {
    font-size: 16px;
    font-weight: 600;
    color: #292929;
}

.nirwallet_withdrawal_rules p {
    font-size: 14px;
    color: #7E7878;
}

.nirwallet_list_withdrawal {
    max-height: 500px;
    overflow: auto;
    width: 100%;
}

.nirwallet_list_withdrawal_row {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    border: solid 1px #9c9c9c;
    border-radius: 8px;
    justify-content: space-between;
    background: #f3f3f3;
    margin-bottom: 10px;
}

.nirwallet_list_withdrawal_row.header {
    background: none;
    border: none;
    margin-bottom: 0;
    padding: 5px;
}

.nirwallet_list_withdrawal_row.header p {
    font-weight: 700;
    font-size: 14px;
    padding: 0 15px;
}

.nirwallet_list_withdrawal_row p:first-child {
    border-left: none;
}

.nirwallet_list_withdrawal_row p {
    flex: 1;
    border-left: solid 1px #e1e1e1;
    padding: 5px 15px;
    font-size: 15px;
    color: #2b2b2b;
}
