.dataTables_length {
	margin-bottom: 20px;
}

.apf-wrap {
	padding-left: 24px;
}

.eplugin-table {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 100%;
}

.eplugin-table td,
.eplugin-table th {
	border: 1px solid #ddd;
	padding: 8px;
}

.eplugin-table tr:nth-child(even) {
	background-color: #f2f2f2;
}

.eplugin-table tr:hover {
	background-color: #ddd;
}

.eplugin-table th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #32373c;
	color: white;
}

.apf_goback {
	margin-bottom: 12px;
}


/* main table */

.eplugins-table-wrap table {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 100%;
}

.eplugins-table-wrap table td,
.eplugins-table-wrap table th {
	border: 1px solid #ddd;
	padding: 8px;
}

.eplugins-table-wrap table tr:nth-child(even) {
	background-color: #f2f2f2;
}

.eplugins-table-wrap table tr:hover {
	background-color: #ddd;
}

.eplugins-table-wrap table th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #32373c;
	color: white;
}

#apw-how-to {
	width: 100px;
	height: 20px;
}

#accordion-section {
	height: 40px;
	Width: 100%;
	background-color: white;
	padding-top: 2px;
	padding-left: 4px;
	cursor: pointer;
}

#accordion-section,
h3 {
	margin-top: 10px;
}


.forminp-button .close span{
	color: red;
}
.forminp-button .close{
	cursor: pointer;
	margin-left: 50%;
	
}

table.form-table th, table.form-table td{
	padding-left: 10px;
}

#apf_product_commission{
	margin-top: 40px;
}


#apf_affiliate_products_hidden{
	display: none;
}

img.apf_reject,img.apf_approve {
	cursor :pointer;
}



.apf_payout_btn,.apf_payout_manual_btn{
	cursor: pointer;
	background-color: green;
	width: 100%;
	text-align: center;
	margin-top: 5px;
	border-radius: 4px;
	color: #f2f2f2;
	padding: 5px 5px;
}
.apf_user_pay_paypal{
	margin-top:  5px !important;
}






/* apf_tablinks links */
.apf_tablinks a {
	float: left;
	display: block;
	color: black; /* Link text color */
	text-align: center;
	font-weight: bold;
	background-color: #ddd; /* Hover background color */
	padding: 14px 16px; /* Link padding */
	text-decoration: none;
	transition: background-color 0.3s; /* Smooth color transition */
}

/* apf_tablinks links on hover */
.apf_tablinks a:hover {
	color: #007BFF; /* Hover text color */
}



/* Active link */
.apf-active {
	color: #007BFF !important; /* Active link background color */
	background-color: #f0f0f1 !important; /* Active link text color */
}

/* .apf-wrap{


} */
.apf-faq-wrap, .apf-reg-wrap,.apf-commission,.apf-wrap,#apffaq h2, #apfplace h2{
	
	margin: 2px 3px 2px;
	padding: 1px 12px;
	clear:both;
	
}
#apffaq{
	margin-left: -24px !important;
}



form#apf-reg-table-form, table.wp-list-table.widefat.fixed.striped.table-view-list.toplevel_page_affiliate-setting,.tablenav{
	margin-left: 0.45rem;
	margin-right: 1.5rem;
}

#apf-reg-modal h3,#apf-reg-modal h1,#apf-reg-modal input,#apf-reg-modal{
	text-align: center;

}
#apf-reg-modal img{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}
#apf-reg-modal input{
	padding: 10px 7px;
	border-radius: 5px;
	font-weight: bold;
	margin-right:40px;
	margin-left: 50px;
}
#apf-reg-modal input:hover{
	cursor: pointer;
	color:white;
	background-color: brown;
}

.apf_paypal_msg{
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	background-color: #f4f4f4;
	border-radius: 8px;
	box-shadow: 0 0 10px  rgb(17, 214, 66);
	color: rgb(88, 214, 88);
	font-weight: bold;
}
.apf_paypal_msg_error{
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	background-color: #f4f4f4;
	border-radius: 8px;
	box-shadow: 0 0 10px  rgb(17, 214, 66);
	color: red;
	font-weight: bold;
}

span img.apf_reject{
	margin-left: 10px;
}

#apf_affiliate_assigned_coupon{
	float: none;
}


#overlay{	
	position: fixed;
	top: 0;
	z-index: 100;
	width: 100%;
	height:100%;
	display: none;
	background: rgba(0,0,0,0.6);
	}
	.cv-spinner {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;  
	}
	.spinner {
	width: 40px;
	height: 40px;
	border: 4px #ddd solid;
	border-top: 4px #2e93e6 solid;
	border-radius: 50%;
	animation: sp-anime 0.8s infinite linear;
	}
	@keyframes sp-anime {
	100% { 
		transform: rotate(360deg); 
	}
	}
	.is-hide{
	display:none;
	}
	.apfw_remove_product_amount_button {
    background-color: #d1d1d1;   /* Light gray background */
    border: none;                /* Remove border */
    border-radius: 50%;          /* Circular shape */
    padding: 1px;                /* Padding to increase size without setting width/height */
    display: inline-flex;        /* Flexbox for centering */
    justify-content: center;     /* Center horizontally */
    align-items: center;         /* Center vertically */
    cursor: pointer;             /* Pointer on hover */
    transition: background-color 0.3s ease; /* Smooth background color transition */
    box-shadow: none;            /* Remove shadow */
}

.apfw_remove_product_amount_button .dashicons {
    font-size: 18px;             /* Icon size */
    color: #ffffff !important;   /* White icon color */
    line-height: normal;         /* Reset line-height for icon */
}

.apfw_remove_product_amount_button:hover {
    background-color: #ff4d4d;   /* Red background on hover */
}

/* added code */
#apf_affiliate_users_hidden{
	display: none;
}

#apf_affiliate_cat_users_hidden{
	display: none;
}

#apf_affiliate_categorys_hidden{
	display: none;
}

.apfw_links_popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background: #fff;
    border: 2px solid #007cba;
    padding: 20px;
    z-index: 9999;
    width: 600px;
    max-width: 90%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.apfw_popup_content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 15px;
}

.apfw_popup_content th, .apfw_popup_content td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.apfw_close_popup {
    background: #ff5f5f;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
}