* {
    box-sizing: border-box;
}

/* top grids */
.cwp-payment-balance-grids {
    padding: 18px 14px;
    box-shadow: 0 0 7px 1px #00000024;
    border-radius: 12px;
    margin: 22px 0;
    background: #fff;
}

.payment-balance {
    background: #156CD2 0 0 no-repeat padding-box;
}

.cwp-payment-balance-grids .cwp-payment-cards-earnings h3 {
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    margin: 16px 0 0 0;
    line-height: 21px;
}

.cwp-payment-balance-grids .cwp-payment-cards-earnings h3,
.cwp-payment-balance-grids .cwp-payment-cards-title h4 {
    color: #262626;
}

.cwp-payment-balance-grids.payment-balance .cwp-payment-cards-earnings h3 {
    color: #fff;
}

.cwp-payment-balance-grids.payment-balance .cwp-payment-cards-title h4 {
    color: #fff;
    margin: 0;
}

.cwp-payment-balance-grids .cwp-payment-cards-title h4 {
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    margin: 18px 0 0 0;
    line-height: 13px;
    opacity: 0.8;
}

.cwp-payment-balance-grids.payment-hold .cwp-payment-icon {
    background: #29DC5F 0 0 no-repeat padding-box;
}

.cwp-payment-icon svg {
    fill: #fff;
}

.cwp-payment-balance-grids.payment-Withdraw .cwp-payment-icon {
    background: #A538D3 0 0 no-repeat padding-box;
}

.payment-balance .cwp-payment-icon {
    background: #ffffff57;
    width: fit-content;
    padding: 7px;
    border-radius: 7px;
    margin-right: 10px;
}

.cwp-payment-icon {
    background: #156cd2;
    padding: 10px;
    border-radius: 7px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.cwp-payment-balance {
    display: flex;
    align-items: center;
}

.cwp-payment-balance {
    display: flex;
    align-items: center;
}

.cwp-payment-balance-grids .cwp-payment-withdraw-button .payment-withdraw {
    background: #FFFFFF 0 0 no-repeat padding-box;
    box-shadow: 0 12px 16px #04428b4d;
    border-radius: 16px;
    height: 23px;
    font-weight: normal;
    font-size: 12px;
    line-height: 26px;
    color: #0050ae;
    padding: 0 10px;
    margin: 0;
    border: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
}

.cwp-payment-balance-grids .cwp-payment-withdraw-button .payment-withdraw svg {
    width: 12px;
    height: auto;
    margin-right: 6px;
}

/* top grids css end*/
.cubewp-all-payments-details h4 {
    font-size: 16px;
    margin: 15px 0 0 0;
    color: #262626;
    text-transform: capitalize;
}

.cubewp-all-payments-details p {
    margin: 0;
    font-size: 14px;
    color: #262626c4;
}

/* Transaction filter styles */
.cubewp-wallet-transactions-filter {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.cubewp-wallet-filter-description {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #666;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-field {
    flex: 1;
    min-width: 140px;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #262626;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-actions {
    display: flex;
    gap: 10px;
}

.cubewp-wallet-filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cubewp-wallet-filter-btn:hover {
    opacity: 0.9;
}

.cubewp-wallet-filter-reset {
    background: #e5e5e5;
    color: #333;
}

.cubewp-wallet-filter-submit {
    background: #156CD2;
    color: #fff;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method {
    padding: 16px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method h3 {
    font-size: 19px;
    color: #262626;
    font-weight: 500;
    margin: 0 0;
    line-height: 32px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method h4 {
    font-size: 13px;
    margin: 2px 0 2px 0;
    line-height: 16px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method .cwp-payment-icon {
    background: #ffa456 0 0 no-repeat padding-box;
    margin-right: 12px;
    margin-top: -52px;
}

.cwp-payment-cards-title .change-method {
    font-size: 12px;
    color: #ffa456;
    text-decoration: underline;
    margin-top: 4px;
    cursor: pointer;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method .cwp-payment-cards-title {
    margin-top: -8px;
}

.cubewp-all-payments table.payment-main-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 0 0;
}

tr.payment-table-rows.headings {
    background: aliceblue;
}

.cubewp-all-payments .payment-main-table .payment-table-rows .payment-table-headings {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    outline: none;
    box-shadow: none;
    border-collapse: inherit;
    border-spacing: 0;
    padding: 16px 10px;
    white-space: nowrap;
}

.payment-main-table .payment-table-details {
    background: #f3f3f340;
    padding: 16px 12px;
    font-size: 13px;
    border: none;
    text-transform: capitalize;
    max-width: calc(100% / 8);
}

.cubewp-all-payments {
    border-radius: 13px;
    overflow: auto;
    margin: 20px 0;
    box-shadow: 0px 0px 7px 1px #00000024;
    background: #fff;
}

.cubewp-all-payments .payment-main-table .payment-table-rows {
    border-bottom: 1px solid #ebebeb;
    position: relative;
}

.cubewp-all-payments .payment-main-table .payment-table-rows:last-child {
    border-bottom: none;
}

.cwp-payment-recent-withdraw .header-withdraw h3 {
    text-transform: capitalize;
    font-size: 18px;
    color: #262626;
    font-weight: 500;
    margin: 0 0;
    line-height: 32px;
}

.cwp-payment-recent-withdraw .header-withdraw {
    background: aliceblue;
    border-bottom: 1px solid #e1dfdf;
    padding: 12px;
}

.cwp-payment-recent-withdraw {
    box-shadow: 0px 0px 7px 1px #00000024;
    border-radius: 11px;
    overflow: hidden;
    margin-top: 24px;
    background: #fff;
}

.cubewp-all-payments .payment-main-table .payment-table-rows .payment-table-headings:first-child {
    width: 160px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method .cwp-payment-cards-title a.cubewp-modal-trigger {
    font-size: 14px;
    text-decoration: underline;
}

.cwp-payment-recent-content {
    padding: 20px 16px 0 16px;
}

.cwp-payment-recent-content:last-child {
    padding-bottom: 20px;
}

.cwp-payment-withdraw-box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 1px 1px #00000024;
}

.cwp-payment-recent-content .payment-amount {
    background: aliceblue;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cwp-payment-recent-content .payment-amount .cwp-price span {
    color: #262626;
    font-size: 14px;
    margin: 2px 0 2px 0;
    line-height: 17px;
}

.cwp-payment-recent-content .payment-amount .cwp-price h4 {
    font-size: 20px;
    margin: 2px 0;
    color: #262626;
}

.cwp-payment-recent-content .payment-amount .cwp-price h4 bdi {
    color: #353535;
    font-size: 14px;
    margin: 2px 0 2px 0;
    line-height: 17px;
    font-weight: 500;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    align-items: center;
    justify-content: space-around;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful.successful svg {
    background: #29dc5f;
    fill: #fff;
    padding: 9px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful.pending svg {
    background: #ffa456;
    padding: 9px;
    fill: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful.fail svg {
    background: #ff4f4f;
    padding: 9px;
    fill: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.cwp-payment-withdraw-box .list-payment {
    list-style: none;
    padding: 2px 12px;
    display: flex;
    margin: 8px 0;
    justify-content: space-between;
    font-size: 13px;
}

.cubewp-wallet-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 0 15px 0;
}

.cubewp-wallet-inputs label {
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 5px 0;
}

.cubewp-wallet-inputs select,
.cubewp-wallet-inputs input,
.cubewp-wallet-inputs textarea {
    width: 100%;
    margin: 0 0 0 0;
    font-size: 14px;
}

.cubewp-wallet-inputs p {
    font-size: 0.8em;
    margin: 5px 0 0 0;
}

.cubewp-wallet-inputs textarea {
    resize: none;
    height: 100px;
}

#cubewp_wallet_withdrawal,
#cubewp_wallet_payout_methods {
    width: 100%;
    margin: 0 0 0 0;
}

#cubewp_wallet_withdrawal [type=submit],
#cubewp_wallet_payout_methods [type=submit] {
    width: 100%;
    margin: 0 0 0 0;
    min-height: 50px;
}

.cubewp-wallet-payout-methods {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method {
    padding: 5px 15px;
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method span {
    font-size: 14px;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method.cwp-active {
    border-color: #156cd2;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method.cwp-active span {
    color: #156cd2;
}

.cubewp-wallet-payout-method-form-container .cubewp-wallet-payout-method-form:not(.cwp-active) {
    display: none;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method .cubewp-wallet-payout-remove-method {
    font-size: 20px;
    line-height: 20px;
    margin: 0 0 0 10px;
    cursor: pointer;
}

.cubewp-wallet-processing-ajax {
    width: 100%;
    height: 100px;
    position: relative;
}

.cubewp-wallet-processing-ajax:before {
    content: "\f463";
    animation: rotation 2s infinite linear;
    display: inline-block;
    font: normal 40px/1 dashicons;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: top;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    color: #333;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

.cubewp-wallet-inputs select, .cubewp-wallet-inputs input, .cubewp-wallet-inputs textarea {
    width: 100%;
    margin: 0 0 0 0;
    font-size: 14px;
    padding: 0.6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 13%);
}

.cubewp-wallet-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.cubewp-wallet-pagination ul li {
    padding: 0 0 0 0;
    font-size: 16px;
    line-height: 18px;
    margin: 0 5px;
}

.cubewp-wallet-pagination ul li .page-numbers {
    background: #ebebeb;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
}

.cubewp-wallet-pagination ul li .page-numbers.current {
    background: #d3d3d3;
    cursor: not-allowed;
}

.cwp-payment-recent-withdraw-container .cubewp-wallet-not-found {
    padding: 0 10px;
    font-size: 16px;
    line-height: 1.3em;
    font-weight: 500;
    margin: 10px 0;
}

.cubewp-wallet-pagination .pagination {
    border-top: 1px solid #d3d3d3;
}

.pagination .page-numbers, .comments-pagination .page-numbers {
    display: flex !important;
}

.cube-earning-grids {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cube-earning-grids .cwp-payment-balance-grids {
    width: calc((100% / 4) - 15px);
    margin: 0 15px 15px 0;
    min-width: 200px;
}

@media only screen and (max-width: 1200px) {
    .cwp-payment-recent-withdraw-container .cwp-payment-recent-content .cwp-price {
        line-height: 1rem;
    }
}

@media only screen and (max-width: 990px) {
    .cube-earning-grids .cwp-payment-balance-grids,
    .cwp-container .cwp-col-md-9 {
        width: 100%;
    }

    #cubewp-wallet-withdraw-modal .cubewp-modal-content,
    #cubewp-wallet-payout-modal .cubewp-modal-content {
        width: 85%;
    }
}


/* Transaction filter */
.cubewp-all-payments-details {
    position: relative;
}
.cubewp-wallet-transactions-filter-header {
    margin-top: 12px;
    margin-bottom: 12px;
}
.cubewp-wallet-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #d3d3d3;
    background: #f0f8ff;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.cubewp-wallet-filter-toggle:hover {
    background: #e6f2ff;
}
.cubewp-wallet-transactions-filter-panel {
    padding: 16px;
    margin: 12px 0;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.cubewp-wallet-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
}
.cubewp-wallet-filter-field {
    flex: 1;
    min-width: 140px;
}
.cubewp-wallet-filter-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}
.cubewp-wallet-filter-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.cubewp-wallet-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 0;
}
.cubewp-wallet-filter-reset,
.cubewp-wallet-filter-apply {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ccc;
}
.cubewp-wallet-filter-reset {
    background: #f0f8ff;
    color: #333;
}
.cubewp-wallet-filter-reset:hover {
    background: #e6f2ff;
}
.cubewp-wallet-filter-apply {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}
.cubewp-wallet-filter-apply:hover {
    background: #135e96;
}
 
 
.cwp-payment-balance-grids {
    padding: 18px 14px;
    box-shadow: 0 0 7px 1px #00000024;
    border-radius: 12px;
    margin: 22px 0;
    background: #fff;
}

.payment-balance {
    background: #156CD2 0 0 no-repeat padding-box;
}

.cwp-payment-balance-grids .cwp-payment-cards-earnings h3 {
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    margin: 16px 0 0 0;
    line-height: 21px;
}

.cwp-payment-balance-grids .cwp-payment-cards-earnings h3,
.cwp-payment-balance-grids .cwp-payment-cards-title h4 {
    color: #262626;
}

.cwp-payment-balance-grids.payment-balance .cwp-payment-cards-earnings h3 {
    color: #fff;
}

.cwp-payment-balance-grids.payment-balance .cwp-payment-cards-title h4 {
    color: #fff;
    margin: 0;
}

.cwp-payment-balance-grids .cwp-payment-cards-title h4 {
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    margin: 18px 0 0 0;
    line-height: 13px;
    opacity: 0.8;
}

.cwp-payment-balance-grids.payment-hold .cwp-payment-icon {
    background: #29DC5F 0 0 no-repeat padding-box;
}

.cwp-payment-icon svg {
    fill: #fff;
}

.cwp-payment-balance-grids.payment-Withdraw .cwp-payment-icon {
    background: #A538D3 0 0 no-repeat padding-box;
}

.payment-balance .cwp-payment-icon {
    background: #ffffff57;
    width: fit-content;
    padding: 7px;
    border-radius: 7px;
    margin-right: 10px;
}

.cwp-payment-icon {
    background: #156cd2;
    padding: 10px;
    border-radius: 7px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.cwp-payment-balance {
    display: flex;
    align-items: center;
}

.cwp-payment-balance {
    display: flex;
    align-items: center;
}

.cwp-payment-balance-grids .cwp-payment-withdraw-button .payment-withdraw {
    background: #FFFFFF 0 0 no-repeat padding-box;
    box-shadow: 0 12px 16px #04428b4d;
    border-radius: 16px;
    height: 23px;
    font-weight: normal;
    font-size: 12px;
    line-height: 26px;
    color: #0050ae;
    padding: 0 10px;
    margin: 0;
    border: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
}

.cwp-payment-balance-grids .cwp-payment-withdraw-button .payment-withdraw svg {
    width: 12px;
    height: auto;
    margin-right: 6px;
}

/* top grids css end*/
.cubewp-all-payments-details {
    position: relative;
}

.cubewp-all-payments-details h4 {
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    color: #35353B;
    margin: 0px 0 10px 0;
    text-transform: capitalize;
    width: fit-content;
}

.cubewp-all-payments-details p {
    text-align: left;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #858F99;
    margin-bottom: 15px;
    width: fit-content;

}

/* Transaction filter styles */
.cubewp-wallet-transactions-filter {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.cubewp-wallet-filter-description {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #666;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-field {
    flex: 1;
    min-width: 140px;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #262626;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.cubewp-wallet-filter-form .cubewp-wallet-filter-actions {
    display: flex;
    gap: 10px;
}

.cubewp-wallet-filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cubewp-wallet-filter-btn:hover {
    opacity: 0.9;
}

.cubewp-wallet-filter-reset {
    background: #e5e5e5;
    color: #333;
}

.cubewp-wallet-filter-submit {
    background: #156CD2;
    color: #fff;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method {
    padding: 16px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method h3 {
    font-size: 19px;
    color: #262626;
    font-weight: 500;
    margin: 0 0;
    line-height: 32px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method h4 {
    font-size: 13px;
    margin: 2px 0 2px 0;
    line-height: 16px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method .cwp-payment-icon {
    background: #ffa456 0 0 no-repeat padding-box;
    margin-right: 12px;
    margin-top: -52px;
}

.cwp-payment-cards-title .change-method {
    font-size: 12px;
    color: #ffa456;
    text-decoration: underline;
    margin-top: 4px;
    cursor: pointer;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method .cwp-payment-cards-title {
    margin-top: -8px;
}

.cubewp-all-payments table.payment-main-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 0 0;
}

tr.payment-table-rows.headings {
    background: aliceblue;
}

.cubewp-all-payments .payment-main-table .payment-table-rows .payment-table-headings {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    outline: none;
    box-shadow: none;
    border-collapse: inherit;
    border-spacing: 0;
    padding: 16px 10px;
    white-space: nowrap;
}

.payment-main-table .payment-table-details {
    background: #f3f3f340;
    padding: 16px 12px;
    font-size: 13px;
    border: none;
    text-transform: capitalize;
    max-width: calc(100% / 8);
}

.cubewp-all-payments {
    border-radius: 13px;
    overflow: auto;
    margin: 20px 0;
    box-shadow: 0px 0px 7px 1px #00000024;
    background: #fff;
}

.cubewp-all-payments .payment-main-table .payment-table-rows {
    border-bottom: 1px solid #ebebeb;
    position: relative;
}

.cubewp-all-payments .payment-main-table .payment-table-rows:last-child {
    border-bottom: none;
}

.cwp-payment-recent-withdraw .header-withdraw h3 {
    text-transform: capitalize;
    font-size: 18px;
    color: #262626;
    font-weight: 500;
    margin: 0 0;
    line-height: 32px;
}

.cwp-payment-recent-withdraw .header-withdraw {
    background: aliceblue;
    border-bottom: 1px solid #e1dfdf;
    padding: 12px;
}

.cwp-payment-recent-withdraw {
    box-shadow: 0px 0px 7px 1px #00000024;
    border-radius: 11px;
    overflow: hidden;
    margin-top: 24px;
    background: #fff;
}

.cubewp-all-payments .payment-main-table .payment-table-rows .payment-table-headings:first-child {
    width: 160px;
}

.cwp-payment-balance-grids.payment-hold.sidebar-change-method .cwp-payment-cards-title a.cubewp-modal-trigger {
    font-size: 14px;
    text-decoration: underline;
}

.cwp-payment-recent-content {
    padding: 20px 16px 0 16px;
}

.cwp-payment-recent-content:last-child {
    padding-bottom: 20px;
}

.cwp-payment-withdraw-box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 1px 1px #00000024;
}

.cwp-payment-recent-content .payment-amount {
    background: aliceblue;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cwp-payment-recent-content .payment-amount .cwp-price span {
    color: #262626;
    font-size: 14px;
    margin: 2px 0 2px 0;
    line-height: 17px;
}

.cwp-payment-recent-content .payment-amount .cwp-price h4 {
    font-size: 20px;
    margin: 2px 0;
    color: #262626;
}

.cwp-payment-recent-content .payment-amount .cwp-price h4 bdi {
    color: #353535;
    font-size: 14px;
    margin: 2px 0 2px 0;
    line-height: 17px;
    font-weight: 500;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    align-items: center;
    justify-content: space-around;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful.successful svg {
    background: #29dc5f;
    fill: #fff;
    padding: 9px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful.pending svg {
    background: #ffa456;
    padding: 9px;
    fill: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.cwp-payment-recent-content .payment-amount .cwp-again-successful.fail svg {
    background: #ff4f4f;
    padding: 9px;
    fill: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.cwp-payment-withdraw-box .list-payment {
    list-style: none;
    padding: 2px 12px;
    display: flex;
    margin: 8px 0;
    justify-content: space-between;
    font-size: 13px;
}

.cubewp-wallet-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 0 15px 0;
}

.cubewp-wallet-inputs label {
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 5px 0;
}

.cubewp-wallet-inputs select,
.cubewp-wallet-inputs input,
.cubewp-wallet-inputs textarea {
    width: 100%;
    margin: 0 0 0 0;
    font-size: 14px;
}

.cubewp-wallet-inputs p {
    font-size: 0.8em;
    margin: 5px 0 0 0;
}

.cubewp-wallet-inputs textarea {
    resize: none;
    height: 100px;
}

#cubewp_wallet_withdrawal,
#cubewp_wallet_payout_methods {
    width: 100%;
    margin: 0 0 0 0;
}

#cubewp_wallet_withdrawal [type=submit],
#cubewp_wallet_payout_methods [type=submit] {
    width: 100%;
    margin: 0 0 0 0;
    min-height: 50px;
}

.cubewp-wallet-payout-methods {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method {
    padding: 5px 15px;
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method span {
    font-size: 14px;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method.cwp-active {
    border-color: #156cd2;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method.cwp-active span {
    color: #156cd2;
}

.cubewp-wallet-payout-method-form-container .cubewp-wallet-payout-method-form:not(.cwp-active) {
    display: none;
}

.cubewp-wallet-payout-methods .cubewp-wallet-payout-method .cubewp-wallet-payout-remove-method {
    font-size: 20px;
    line-height: 20px;
    margin: 0 0 0 10px;
    cursor: pointer;
}

.cubewp-wallet-processing-ajax {
    width: 100%;
    height: 100px;
    position: relative;
}

.cubewp-wallet-processing-ajax:before {
    content: "\f463";
    animation: rotation 2s infinite linear;
    display: inline-block;
    font: normal 40px/1 dashicons;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: top;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    color: #333;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

.cubewp-wallet-inputs select,
.cubewp-wallet-inputs input,
.cubewp-wallet-inputs textarea {
    width: 100%;
    margin: 0 0 0 0;
    font-size: 14px;
    padding: 0.6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 13%);
}

.cubewp-wallet-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.cubewp-wallet-pagination ul li {
    padding: 0 0 0 0;
    font-size: 16px;
    line-height: 18px;
    margin: 0 5px;
}

.cubewp-wallet-pagination ul li .page-numbers {
    background: #ebebeb;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
}

.cubewp-wallet-pagination ul li .page-numbers.current {
    background: #d3d3d3;
    cursor: not-allowed;
}

.cwp-payment-recent-withdraw-container .cubewp-wallet-not-found {
    padding: 0 10px;
    font-size: 16px;
    line-height: 1.3em;
    font-weight: 500;
    margin: 10px 0;
}

.cubewp-wallet-pagination .pagination {
    border-top: 1px solid #d3d3d3;
}

.pagination .page-numbers,
.comments-pagination .page-numbers {
    display: flex !important;
}

.cube-earning-grids {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cube-earning-grids .cwp-payment-balance-grids {
    width: calc((100% / 4) - 15px);
    margin: 0 15px 15px 0;
    min-width: 200px;
}

@media only screen and (max-width: 1200px) {
    .cwp-payment-recent-withdraw-container .cwp-payment-recent-content .cwp-price {
        line-height: 1rem;
    }
}

@media only screen and (max-width: 990px) {

    .cube-earning-grids .cwp-payment-balance-grids,
    .cwp-container .cwp-col-md-9 {
        width: 100%;
    }

    #cubewp-wallet-withdraw-modal .cubewp-modal-content,
    #cubewp-wallet-payout-modal .cubewp-modal-content {
        width: 85%;
    }
}


/* Transaction filter */
.cubewp-all-payments-details {
    position: relative;
}

.cubewp-wallet-transactions-filter-header {
    position: absolute;
    top: 0;
    right: 0;
}

.cubewp-wallet-filter-toggle {
    font-weight: 600;
    font-size: 12px;
    line-height: 31px;
    height: 33px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    color: #858F99;
    background: #FFFFFF;
    border: 1px solid #156cd2;
}

.cubewp-wallet-filter-toggle:hover,
.cubewp-wallet-filter-toggle:focus {
    color: #858F99;
    background: #FFFFFF;
    border-color: #156cd2;
}

.cubewp-wallet-transactions-filter-panel {
    background: #FFFFFF;
    border: 1px solid #EAEEF7;
    border-radius: 10px;
    padding: 25px 25px;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cubewp-wallet-filter-row {
    width: calc(72.67% - 15px);
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 20px;
}

.cubewp-wallet-filter-field {
    width: calc(50% - 15px);
    display: flex;
    gap: 4px;
    min-width: calc(50% - 15px);
    flex-wrap: wrap;
}

.cubewp-wallet-filter-field label {
    display: block;
    margin-bottom: 0px;
    font-size: 11px;
    line-height: 36px;
    font-weight: 600;
    color: #858F99;
    width: 30%;
}

.cubewp-wallet-filter-field input {
    width: calc(70% - 4px);
    background: #F9FAFC;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    outline: none;
    margin: 0;
    padding: 6px 12px;
    color: #555;
    font-size: 13px;
    font-weight: 400;
    line-height: 36px;
    height: 36px;
}

.cubewp-wallet-filter-field input:focus {
    border: 1px solid #C1C1C1;
}

.cubewp-wallet-filter-actions {
    width: calc(27.33% - 15px);
}

.cubewp-wallet-filter-reset,
.cubewp-wallet-filter-apply {
    border-radius: 10px;
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: none;
    outline: none;
    box-shadow: none;
    margin-bottom: 20px;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 400;
    margin: 0 0 4px 0;
    background: #F9FAFC;
    color: #000;
    letter-spacing: 1px;
}

.cubewp-wallet-filter-apply {
    background: #2488FF;
    color: #fff;
    margin-bottom: 0;
}

.cubewp-wallet-filter-reset:hover,
.cubewp-wallet-filter-reset:focus {
    background: #F9FAFC;
    color: #000;
}

.cubewp-wallet-filter-apply:hover,
.cubewp-wallet-filter-apply:focus {
    background: #2488FF;
    color: #fff;
}



@media (max-width: 1200px) {
    .cubewp-wallet-transactions-filter-panel {
        flex-direction: column;
        gap: 30px;
    }

    .cubewp-wallet-filter-row {
        width: 100%;
    }

    .cubewp-wallet-filter-actions {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .cubewp-wallet-filter-reset,
    .cubewp-wallet-filter-apply {
        width: calc(50% - 15px);
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .cubewp-wallet-transactions-filter-header {
        position: relative;
        width: 100%;
        margin-bottom: 15px;
    }
    .cubewp-wallet-filter-toggle {
        width: 100%;
    }
}
@media (max-width: 570px) {
    .cubewp-wallet-filter-field {
        width: 100% !important;
        flex: unset;
    }
}

.cubewp-wallet-filter-actions {
    flex-direction: column;
}