table.oa-affiliate-profit-table {
    border-right: 1px solid #c3c4c7;
    border-top: 1px solid #c3c4c7;
    border-spacing: 0;
    margin-top: 30px;
    font-size: 14px;
    border-left: 1px solid #c3c4c7;
    width: 100%;
    border-bottom: 1px solid #c3c4c7;
}

table.oa-affiliate-profit-table.frontend {
    margin-top: 0;
}

table.oa-affiliate-profit-table tr {
    background: #fff;
}

table.oa-affiliate-profit-table tr:nth-child(odd) {
    background: #f6f7f7;
}

table.oa-affiliate-profit-table td, table.oa-affiliate-profit-table th {
    padding: 12px 15px;
    text-align: center;
}

table.oa-affiliate-profit-table th {
    background: #fff;
    border-bottom: 1px solid #c3c4c7;
}

table.oa-affiliate-profit-table td .oa-amount {
    font-weight: bold;
    color: blue;
}

table.oa-affiliate-profit-table td .oa-amount.increase, table.oa-affiliate-profit-table td .oa-amount.increase span.amount {
    color: green !important;
}

table.oa-affiliate-profit-table td .oa-amount.decrease, table.oa-affiliate-profit-table td .oa-amount.decrease span.amount {
    color: red !important;
}

.affiliate-reports {
    display: flex;
    margin-bottom: 30px;
}

.affiliate-reports.frontend {
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
}

.affiliate-reports .item {
    width: 25%;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    margin-right: 30px;
    box-shadow: 0 0 3px 0px #999;
    position: relative;
    bottom: unset;
    right: unset;
}

.affiliate-reports .item.ref-link {
    background: #f6f7f7;
    text-align: center;
}

.affiliate-reports .item.ref-link a {
    display: inline-block;
    position: relative;
}

.affiliate-reports .item.ref-link a.ref-link img {
    background: #afafaf;
    color: #fff;
    border-radius: 100px;
    padding: 6px;
    transition: all .4s;
    width: 30px;
}

.affiliate-reports .item.ref-link a.ref-link .tooltip {
    position: absolute;
    color: #fff;
    background: #000;
    border-radius: 4px;
    font-size: 12px;
    padding: 0 10px;
    right: -56px;
    top: -35px;
    transition: all .4s;
    opacity: 0;
    visibility: hidden;
}

.affiliate-reports .item.ref-link a.ref-link .tooltip.copied {
    right: -17px;
}

.affiliate-reports .item.ref-link a.ref-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.affiliate-reports .item.ref-link a.ref-link:hover i {
    background: #ff6f00;
}

.affiliate-reports.frontend .item {
    width: 100%;
}

.affiliate-reports.three-col .item {
    width: 33.3333%;
}

.affiliate-reports .item div div {
    display: flex;
    font-size: 14px;
    align-items: center;
}

.affiliate-reports .item div div.qrcode {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.affiliate-reports .item div div.qrcode a {
    font-weight: bold;
    color: #ff6f00;
}

.affiliate-reports .item div div span.qrcode svg {
    width: 50px;
    height: 50px;
    float: left;
}

.affiliate-reports .item div div label {
    font-weight: bold;
    width: 120px;
    text-align: left;
    margin: 0;
}

.affiliate-reports .item:last-child {
    margin-right: 0;
}

.affiliate-reports .item > * {
    display: block;
    margin: 0;
    line-height: 30px;
    font-size: 20px;
}

.affiliate-reports .item > .number {
    font-weight: bold;
    font-size: 30px;
    margin-top: 10px;
}

.affiliate-reports .item.click > .number {
    color: red;
}

.affiliate-reports .item.cta > .number {
    color: #279e00;
}

.affiliate-reports .item > .text {
    font-weight: bold;
    font-size: 16px;
}

.affiliate-reports .item > .number.total, .affiliate-reports .item > .number.total span {
    color: #2271b1;
}

.affiliate-reports .item > a.absolute {
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    bottom: 20px;
    text-decoration: none;
}

.affiliate-reports .item a strong, .affiliate-reports .item a strong i {
    color: #ff6f00;
}

body.withdraw-overlay::before {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: #0009;
    z-index: 9999;
}

.popup-withdraw {
    position: fixed;
    top: 0;
    padding: 20px;
    box-shadow: 0 0 3px 2px #999;
    width: 400px;
    right: -400px;
    background: #fff;
    transition: all .4s;
    height: 100%;
    box-sizing: border-box;
    z-index: 99999;
}

.popup-withdraw.show {
    right: 0;
}

.oa-customers-table {
    margin: 20px 0 0 0 !important;
    width: 100%
}
.oa-customers-table td {
    vertical-align: middle;
}
.oa-customers-table .email, .oa-customers-table .phone {
    color: #2271b1;
}
.oa-customers-table .active-label {
    color: #fff;
    background: #159f4d;
    font-size: 11px;
    padding: 4px;
    border-radius: 3px;
}
.oa-customers-table tr.requested {
	background: #fee1e1 !important;
}
.oa-customers-table .lock-label {
    color: #fff;
    background: #eb6565;
    font-size: 11px;
    padding: 4px;
    border-radius: 3px;
}
.table-menu-icon {
    display: flex;
    justify-content: right;
    position: relative;
}
.table-menu-icon .icon {
    display: flex;
    font-size: 22px;
    cursor: pointer;
}
.table-menu-icon .icon > div {
    font-family: 'dashicons';
}
.table-menu-icon .icon > div.dashicons-arrow-down::before {
    display: block;
    position: relative;
    left: -6px;
}
.table-menu-icon .sub-menu {
    position: absolute;
    background: #fff;
    padding: 0 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 2px 0px #ccc;
    top: 20px;
    right: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
    z-index: 10;
}
.table-menu-icon .sub-menu li.sep {
    height: 1px;
    background: #ccc;
}
.table-menu-icon.show .sub-menu {
    opacity: 1;
    visibility: visible;
}
.table-menu-icon .sub-menu a {
    color: #000;
}
.table-menu-icon .sub-menu a:hover {
    color: #2271b1;
}
.oa-search-box-wrapper .search-box {
    margin-bottom: 20px;
}
.popup-withdraw label {
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

.popup-withdraw .form-group {
    margin-bottom: 15px;
}

.popup-withdraw .form-group input, .popup-withdraw .form-group select {
    width: 100%;
}

.edit-customer-discount-percent-form {
    height: 0;
    transition: all .4s;
    overflow: hidden;
    background: #fccd90;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    display: inline-block;
    width: 100%;
}

.edit-customer-discount-percent-form form {
    margin: 0;
}

.edit-customer-discount-percent-form.show {
    height: auto;
    opacity: 1;
    visibility: visible;
    padding: 20px 20px 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.qrcode-popup {
    position: fixed;
    width: 200px;
    height: 200px;
    z-index: 999999;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    opacity: 0;
    transition: all .4s;
    visibility: hidden;
}

.qrcode-popup img {
	width: 100%;
}

.qrcode-popup svg {
    width: 200px;
    height: 200px;
}

.qrcode-popup.show {
    opacity: 1;
    visibility: visible;
}

.affiliate-reports .item div div span.qrcode {
	display: flex;
	align-items: center;
}

.affiliate-reports .item div div span.qrcode a {
	display: inline-block;
	font-weight: bold;
	font-size: 12px;
}

.affiliate-reports .item div div span.qrcode a.zoomout-qrcode-btn {
	width: 30px;
	margin: 0 10px 0 10px;
}

.affiliate-reports .item div div span.qrcode a.zoomout-qrcode-btn img {
    width: 100%;
    float: left;
}

.affiliate-reports .item .qrcode svg {
    width: 100%;
}

.affiliate-back-btn {
	float: right;
	line-height: 33px;
	font-size: 16px;
}

.my-account-affliate .tab-nav a {
    padding: 4px 20px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #f2f2f2;
    border-radius: 5px 5px 0 0;
    margin-right: 2px;
  }
  .my-account-affliate .tab-nav {
    margin-bottom: 15px;
    display: flex;
  }
  .my-account-affliate .tab-nav a.active {
    background: #9f9f9f;
    border-radius: 5px 5px 0 0;
    color: #fff;
  }
  .my-account-affliate .tab-nav a:last-child {
    border-right: 0;
  }

/* Credit */
.pl-credit {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background: #DAF3F7;
    color: #000;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 80%;
    width: 60%;
    justify-content: center;
    float: right;
}
.pl-credit img {
    height: 12px;
    margin: 0 9px;
}
.pl-credit a {
    font-weight: bold;
    display: flex;
    align-items: center;
}
.pl-credit a span {
    letter-spacing: -2px;
    margin-left: 6px;
}
/* End Credit */

/* Remove Change Password From Edit Account */
form.woocommerce-EditAccountForm fieldset {
    display: none;
}
/****************************/

/* Remove Last Name From Edit Account */
.woocommerce-last-name-row {
    display: none;
}
/***************************/
/* Customize My Account Menu Links */
.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: red !important;
}
/*******************************/

@media(max-width: 420px) {
    table.oa-affiliate-profit-table.frontend thead {
        display: none;
    }
    
    table.oa-affiliate-profit-table.frontend td {
        width: 100%;
        display: block;
        padding: 8px 15px;
        border-bottom: 0;
        position: relative;
    }
    table.oa-affiliate-profit-table.frontend td::before {
        content: attr(title);
        position: absolute;
        left: 12px;
        font-weight: bold;
        color: #000;
    }
    table.oa-affiliate-profit-table.frontend td:last-child {
        border-bottom: 1px solid #ccc;
    }
}