.affwp-tab-content {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-size: 13px;
}
button.toggle-row {
	display: none;
}
.afwpo-order-status {
	border-radius: 4px;
	text-align: center;
	padding: 5px 10px;
	text-wrap: nowrap;
	width: max-content;
}
.afwpo-order-status-pending {
	background: #ebe9eb;
    color: #2e4453;
}
.afwpo-order-status-processing {
	background: #c6e1c6;
    color: #5b841b;
}
.afwpo-order-status-cancelled {
	background: #e5e5e5;
    color: #777;
}
.afwpo-order-status-completed {
	background: #c8d7e1;
    color: #2e4453;
}
.afwpo-order-status-failed {
	background: #eba3a3;
    color: #761919;
}
.tablenav-pages {
	float: right;
    margin: 0 0 9px;
    font-size: 14px;
}
#current-page-selector {
    text-align: center;
}
#afwpo_search {
	width: 340px;
	border: 1px solid #d2d6dc;
    border-radius: 0.3rem;
	padding-left: 14px;
}
.afwpo-filter-action {
	margin-top: 12px;
}
.afwpo-orders .button {
    padding: 0.618em 1em;
    font-weight: 700;
    border-radius: 3px;
    border: 0;
    color: #515151;
    background-color: #ebe9eb;
	font-size: 12px;
}
.afwpo-order-link {
	text-decoration: underline;
	font-weight: 600;
}
#afwpo_date_from_picker,
#afwpo_date_to_picker {
	width: 160px;
	border: 1px solid #d2d6dc;
    border-radius: 0.3rem;
}
.afwpo-date-from-wrapper,
.afwpo-date-to-wrapper {
	display: inline-block;
}
.afwpo-date-to-wrapper {
	margin-left: 16px;
}
.afwpo-filters-wrapper  {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-size: 14px;
	/* float: left; */
}
.afwpo-filters-wrapper input,
.afwpo-filters-wrapper select {
	padding: 4px 8px;
}

.tablenav .bulkactions {
	display: none;
}
#post-query-submit {
	padding: 2px 13px;
}
.afwpo-order-wrapper {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-size: 15px;
	font-weight: 400;
}
.afwpo-order-header {
	font-size: 18px;
	font-weight: 600;
	margin-right: 14px;
}
.afwpo-order-customer {
	margin-bottom: 16px;
}
.afwpo-order-address {
	
}
.afwpo-order-data-field {
	margin-top: 3px;
}
.afwpo-order-data-field-name {
	font-weight: 600;
}
.afwpo-order-date {
	font-size: 16px;
	font-weight: 600;
	margin-left: 14px;
}
.afwpo-note {
	list-style-type: none;
	padding: 4px 10px;
	margin-top: 10px;
	border: 1px solid #d2d6dc;
    border-radius: 0.3rem;
	width: 100%;
	color: #424242;
}
.afwpo-note-content {
	font-size: 16px;
	font-weight: 600;
}
.afwpo-system-note .afwpo-note-content {
	/*color: blue;*/
}
.afwpo-customer-note .afwpo-note-content {
	/*color: red;*/
}
.afwpo-order-items {
	width: 100%;
	margin-top: 16px;
	margin-bottom: 16px;
}
.afwpo-order-items td {
	padding: 6px 6px 2px 6px;
}
.afwpo-woocommerce_order_items thead tr {
	background-color: #F8F8F8;
}
.afwpo-order-data-row {
	border-bottom: 1px solid #dfdfdf;
    background: #F8F8F8;
    line-height: 2em;
    text-align: right;
}
.afwpo-order-totals {
    margin: 0 !important;
}
.afwpo-order-totals td {
	padding: 2px 6px;
}
.afwpo-label {
	font-weight: 600;
}
.afwpo-total {
	width: 10em;
    margin: 0 0 0 0.5em;
    box-sizing: border-box;
}
.afwpo-order-edit-line-item {
	width: 10em;
    margin: 0 0 0 0.5em;
    box-sizing: border-box;
}

/*
.affiliateorders {
	border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.affiliateorders tr:nth-child(even) {
	background-color: #f2f2f2;
}
.affiliateorders thead tr {
	background-color: #f2f2f2;
}
.affiliateorders {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
.affiliateorders tr {
	font-size: 14px;
}
.affiliateorders thead tr {
	font-size: 15px;
}
.affiliateorders .sorting-indicator {
    margin-left: 7px;
	font-weight:800;
	font-size: 18px;
}
.affiliateorders #order_status {
	width: 130px;
}
*/

/* Styles copied from AffiliateWP */
.afwpo-orders table,
.afwpo-order-wrapper table {
    width: 100%;
    text-align: left;
    border: none;
    margin: 16px 0;
    border-collapse: collapse;
}

.afwpo-orders table th,
.afwpo-orders table td,
.afwpo-order-wrapper table th,
.afwpo-order-wrapper table td {
    text-align: left;
    border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
    color: #666;
    padding: 1em;
    max-width: 100%;
}

.afwpo-orders table th,
.afwpo-order-wrapper table th {
    background: #fafafa;
    font-weight: 700;
}

/********* Add Aug 09, 2023 *********/
.afwpo-referral-status-before {
	width: 10px;
	height: 10px;
	border: 2px solid;
	border-radius: 50%;
	display: inline-block;
	margin-right: 4px;
}
.afwpo-referral-status-unpaid {
	border-color: #5e95ef;
}
.afwpo-referral-status-rejected {
	border-color: #ef6c5e;
}
.afwpo-referral-status-paid {
	border-color: green;
}
.afwpo-referral-status-pending {
	border-color: #d8ecb4;
}

.afwpo-search-wrapper {
	margin: 6px 0;
}
.afwpo-order-status-wrapper {
	margin: 6px 0;
}
#afwpo_order_status {
	width: 160px;
    border: 1px solid #d2d6dc;
    border-radius: 0.3rem;
}
.afwpo-referral-status-wrapper {
	margin: 6px 0;
}
#afwpo_referral_status {
	width: 160px;
    border: 1px solid #d2d6dc;
    border-radius: 0.3rem;
}
.afwpo-per-page-wrapper {
	margin: 6px 0;
}
#afwpo_per_page {
	width: 50px;
    padding: 4px 8px;
    border: 1px solid #d2d6dc;
    border-radius: 0.3rem;
}
.afwpo-order-referrer {
	margin-top: 16px;
	margin-bottom: 16px;
}
#afwpo_order_data .afwpo-referral-amount {
	display: inline-block;
}
#afwpo_order_data .afwpo-referral-status {
	display: inline-block;
	margin-left: 10px;
}
.afwpo-orders .afwpo-order-status {
	display: block;
	margin-top: 4px;
}
.afwpo-per-page-wrapper {
	display: inline-block;
}
.afwpo-orders-label {
	margin-right: 4px;
}
.afwpo-order-data-status {
	margin-bottom: 6px;
}
.afwpo-order-header {
	text-align: center;
}
.afwpo-order-payment-method {
	opacity: 70%;
}
.afwpo-orders td {
	vertical-align: top;
}
/******************************************/
#current-page-selector {
	width: 30px;
}
.afwpo-orders .top {
	display: flex;
    justify-content: space-between;
}
#afwpo_search {
	width: 490px;
    height: 35px;
    margin-left: 8px;
}
.afwpo_status_filters {
	display: flex;
    justify-content: space-between;
}
#afwpo_order_status,
#afwpo_referral_status,
#afwpo_date_from_picker,
#afwpo_date_to_picker {
	height: 35px;
}
.afwpo-dates-wrapper {
	display: flex;
    justify-content: space-between;
}
.top .tablenav-pages {
	margin-top: 130px;
    margin-left: 340px;
}
#afwpo_date_from_picker {
	margin-left: 12px;
}