/* General */
@font-face {
	font-family: "affwp-dashicons";
	src: url("../fonts/dashicons.eot");
	src:
		url("../fonts/dashicons.eot?#iefix") format("embedded-opentype"),
		url("../fonts/dashicons.woff") format("woff"),
		url("../fonts/dashicons.ttf") format("truetype"),
		url("../fonts/dashicons.svg#dashicons") format("svg");
}

#adminmenu #toplevel_page_affiliate-wp div.wp-menu-image:before {
	font-family: "affwp-dashicons" !important;
	content: "\e000";
}

.affwp-ajax-search-wrap {
	position: relative;
}

.affwp-ajax {
	position: absolute;
	right: 8px;
	top: 1px;
}

.affwp-hidden {
	display: none;
}

select.affwp-graphs-date-options {
	vertical-align: top;
	height: 26px;
}

table.affwp_table {
	text-align: left;
	width: 100%;
	border: none;
	margin: 0 0 21px;
	border-collapse: collapse;
	table-layout: fixed;
	word-wrap: break-word;
}
table.affwp_table th,
table.affwp_table td {
	text-align: left;
	border: 1px solid #eee;
	color: #666;
	padding: 0.3em 1em;
	max-width: 100%;
}
table.affwp_table th {
	background: #fafafa;
	font-weight: bold;
}
table.affwp_table td a {
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

table.affiliates #status,
table.referrals #status,
table.payouts #status {
	width: 100px;
}

#affwp-dashboard-widgets-wrap .postbox h3 {
	cursor: default;
	font-weight: 600;
	padding-top: 8px;
	padding-bottom: 8px;
}

#affwp-dashboard-widgets-wrap p:last-child:not(.affwp-batch-success) {
	margin-bottom: 0px;
}

#affwp-dashboard-widgets-wrap .muted {
	color: #999;
}

/* Admin Header */
#affwp-header {
	padding: 16px 10px 16px 0;
	margin-left: -20px;
	background: #fff;
	border-bottom: 1px solid #c3c4c7;
	color: #141b38;
}

#affwp-header + #wpbody #screen-meta-links {
	margin-top: -1px;
}

#affwp-header img {
	display: block;
}

#affwp-header-wrapper {
	display: flex;
	justify-content: space-between;
	padding: 0 10px 0 20px;
	align-items: center;
}

button.affwp-round {
	border: none;
}

#affwp-header-actions {
	display: flex;
}

#affwp-header-actions .affwp-round {
	position: relative;
	background-color: #f3f4f5;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 10px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#affwp-header-actions .affwp-round:hover {
	background-color: #e5e5e5;
}

#affwp-header-actions .affwp-round svg,
#affwp-header-actions .affwp-round a {
	width: 20px;
	height: 20px;
	color: inherit;
	box-shadow: none;
}

#affwp-header .affwp-number {
	position: absolute;
	background-color: #df2a4a;
	width: 16px;
	height: 16px;
	font-weight: 600;
	font-size: 10px;
	color: #fff;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	-webkit-animation: affwp-bounce 10s 2s infinite;
	animation: affwp-bounce 10s 2s infinite;
}

#affwp-header .affwp-number:hover {
	background-color: #df2a4a;
}

#affwp-header .affwp-number.affwp-hidden {
	display: none !important;
}

/* Notifications */
.affwp-overlay {
	position: fixed;
	z-index: 1052;
	top: 0;
	right: 0;
	bottom: 0;
	left: 160px;
	background-color: #141b38;
	opacity: 0.5;
	transition: 0.5s;
}

#affwp-notifications-panel.affwp-slide-in {
	transform: translateX(100%);
	-webkit-transform: translateX(100%);
}

#affwp-notifications-panel {
	background-color: white;
	height: 100%;
	width: 100%;
	max-width: 570px;
	position: fixed;
	z-index: 1053;
	top: 0;
	right: 0;
	bottom: 0;
	overflow-x: hidden;
	transition: 0.5s;

	transform: translateX(0%);
	-webkit-transform: translateX(0%);
}

body.admin-bar #affwp-notifications-panel {
	top: 32px;
}

#affwp-notifications-header {
	display: flex;
	align-items: center;
	padding: 0 30px;
	color: #fff;
	background-color: #44a2a7;
}

#affwp-notifications-header h3 {
	color: #fff;
	flex: 1;
}

#affwp-notifications-header .affwp-close {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 0;
}

#affwp-notifications-body {
	padding: 30px;
}

.affwp-notification {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8e8eb;
}

.affwp-notification:last-of-type {
	border-bottom: none;
}

.affwp-notification--icon {
	color: #109365;
}

.affwp-notification--icon.affwp-notification--icon-info {
	color: #44a2a7;
}

.affwp-notification--icon.affwp-notification--icon-warning {
	color: #f29100;
}

.affwp-notification--icon.affwp-notification--icon-error {
	color: #df2a4a;
}

.affwp-notification--body {
	flex: 1;
}

.affwp-notification--header {
	align-items: start;
	display: flex;
	justify-content: space-between;
	gap: 5px;
	margin-bottom: 7px;
	line-height: 1.3;
}

.affwp-notification--title {
	color: #141b38;
	flex: 1;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.affwp-notification--content {
	max-width: 400px;
}

.affwp-notification--date {
	color: #71747e;
	font-size: 12px;
}

.affwp-notification--actions {
	flex-wrap: wrap;
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
}

.affwp-notification--dismiss {
	background: none;
	border: none;
	box-shadow: none;
	color: #71747e;
	cursor: pointer;
	padding: 0 0px;
	text-decoration: underline;
}

.affwp-notification--dismiss:hover {
	text-decoration: none;
}

/* Affiliate Overview */
#affwp-dashboard-widgets-wrap .postbox {
	margin: 0 8px 20px;
}

/* Consumers */
.row-actions span.revoke a {
	color: #a00;
}

/* Creatives */
table.creatives #name {
	width: 240px;
}

table.creatives #creative_id {
	width: 80px;
}

table.creatives #type,
table.creatives #groups {
	width: 100px;
}

table.creatives #status {
	width: 150px;
}

table.creatives .affwp-tooltip-content {
	left: 50%;
}

table.creatives .status .affwp-tooltip-content.active div {
	width: max-content;
}

table.creatives .affwp-tooltip-content::after {
	left: 50%;
	transform: translate(-50%, 100%);
	border-top: 10px solid #222;
}

#affwp_add_creative table,
#affwp_edit_creative table {
	table-layout: fixed;
}

#preview_image {
	margin: 15px 0;
}

#preview_image img {
	height: auto;
	display: block;
	max-width: 100%;
}

.affiliates_page_affiliate-wp-creatives .column-preview {
	float: none;
}

.affiliates_page_affiliate-wp-creatives .column-preview a {
	display: inline-block;
}

.affiliates_page_affiliate-wp-creatives .column-preview img {
	width: 100%;
	max-width: 150px;
	height: auto;
	display: block;
}

.form-table [data-context] {
	display: none;
}

.form-table[data-current-context="image"] [data-context="image"],
.form-table[data-current-context="text_link"] [data-context="text_link"] {
	display: block;
}

.form-table[data-current-context="qr_code"] [data-row="text"],
.form-table[data-current-context="qr_code"] [data-row="url"],
.form-table:not([data-current-context="qr_code"]) [data-row="qr_preview"],
.form-table:not([data-current-context="image"]) [data-row="image"] {
	display: none;
}

.form-row td label,
.form-row #qr-code p {
	margin-bottom: 0.5rem;
}

.form-row td label {
	display: block;
}

#qr-preview {
	width: 200px;
	height: 200px;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #8c8f94;
	margin-bottom: 1.5rem;
}

.qr-code-updated {
	animation: qrCodeUpdated 0.2s forwards;
}

@keyframes qrCodeUpdated {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(0.9);
		opacity: 0;
	}
	100% {
		transform: scale(1);
	}
}

.affwp-schedule-description {
	font-weight: 600;
}
.schedule-creative-date-fields {
	display: grid;
	gap: 10px;
}

/* Referrals page */

#affwp-referrals-export-form,
#affwp_unpaid_counts,
#affwp_unpaid_earnings,
#affwp_total_earnings,
#affwp_affiliate_stats,
.affwp-gray-form {
	clear: both;
	background: #f5f5f5;
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		from(#f5f5f5),
		to(#fafafa)
	);
	background-image: -webkit-linear-gradient(bottom, #f5f5f5, #fafafa);
	background-image: -moz-linear-gradient(bottom, #f5f5f5, #fafafa);
	background-image: -o-linear-gradient(bottom, #f5f5f5, #fafafa);
	background-image: linear-gradient(to top, #f5f5f5, #fafafa);
	border-color: #dfdfdf;
	margin: 8px 0;
	padding: 12px 12px 22px;
	border-width: 1px;
	border-style: solid;
	border-radius: 3px;
	font-size: 13px;
	line-height: 2.1em;
}

#affwp-referrals-export-wrap h2 {
	margin-top: 0em;
}

.affwp-required-import-field {
	background-color: #fadedc !important;
}

#affwp-referrals-filter-form select.affwp-referral-type-select {
	float: none;
}

#affwp_edit_affiliate input:disabled {
	background: rgba(255, 255, 255, 0.3);
}

/* Visits page */
#affwp-visits-filter #url {
	width: 30%;
}

.visit-converted i {
	display: inline-block;
	position: relative;
	top: 2px;
	left: 2px;
}
.visit-converted i:before {
	font-family: "dashicons";
	font-style: normal;
}
.visit-converted.yes i:before {
	content: "\f147";
	color: #5e95ef;
}
.visit-converted.no i:before {
	content: "\f158";
	color: #ef6c5e;
}

/* Reports */
#reports-nav {
	background-color: #fff;
	margin: 20px 0 10px;
	overflow: auto;
	padding: 10px;
	border: 1px solid #ddd;
}

#affwp-reports-widgets-wrap #dashboard-widgets {
	overflow: visible;
}

#affwp-reports-widgets-wrap #dashboard-widgets .postbox-container {
	width: 33.3%;
}

#affwp-reports-widgets-wrap
	#dashboard-widgets
	.postbox-container
	.empty-container {
	margin-top: 1px;
}

#affwp-reports-widgets-wrap #dashboard-widgets #primary-sortables {
	margin-left: 0;
}

#affwp-reports-widgets-wrap #dashboard-widgets #tertiary-sortables {
	margin-right: 0;
}

#affwp-reports-widgets-wrap .metabox-holder .empty-container {
	height: 127px;
}

#affwp-reports-widgets-wrap #dashboard-widgets .postbox,
#affwp-reports-widgets-wrap #dashboard-widgets .meta-box-sortables {
	min-height: 127px;
}

#affwp-reports-widgets-wrap #dashboard-widgets .postbox.closed {
	min-height: 0;
}

#affwp-reports-widgets-wrap h2.hndle {
	padding: 8px 36px;
	text-align: center;
	font-weight: normal;
	color: #999;
}

#affwp-reports-widgets-wrap .postbox .inside {
	text-align: center;
}

#affwp-reports-widgets-wrap .inside span {
	display: block;
}

#affwp-reports-widgets-wrap .inside .tile-value {
	color: #21759b;
	font-size: 3em;
	line-height: 1;
}

#affwp-reports-widgets-wrap .inside .tile-value.tile-no-data {
	color: #888;
	font-size: 1.5em;
	line-height: 1;
}

#affwp-reports-widgets-wrap .inside .tile-value.tile-url {
	font-size: 1.5em;
}

#affwp-reports-widgets-wrap .inside .tile-compare {
	color: #333;
	padding-top: 10px;
	font-size: 1.1em;
}

.reports-filters {
	padding: 25px 20px;
	background-color: #fff;
	margin-bottom: 10px;
	box-sizing: content-box;
}

.affwp-inline-button {
	position: relative;
	left: 8px;
}

/* WooCommerce Admin Tweaks */
.affwp-woo-coupon-field .affwp-ajax-search-wrap {
	position: relative;
	display: block;
	width: 100%;
}
.affwp-woo-coupon-field input#user_name.affwp-user-search {
	width: 50%;
}
.affwp-woo-coupon-field .affwp-woo-coupon-input-wrap {
	position: relative;
}

.widefat .column-referral {
	width: 110px;
}

/* Tools */

#affwp-system-info-textarea {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	display: block;
	font-family: Menlo, Monaco, monospace;
	height: 400px;
	overflow: auto;
	white-space: pre;
	width: 800px;
}

/* Batch Processor */

.affwp-batch-progress {
	background: #ddd;
	height: 15px;
}
.affiliates_page_affiliate-wp-referrals .affwp-batch-progress {
	position: relative;
}
.affwp-batch-progress div {
	background: #ccc;
	height: 100%;
	width: 0;
}
.notice-wrap {
	border-style: solid;
	border-width: 1px 0;
	border-color: #eae9e9;
	padding: 12px 12px 12px 0;
	overflow: auto;
}
.notice-wrap #affwp-batch-success {
	margin: 5px 0;
}
form .spinner {
	margin: 4px 10px 8px;
	position: relative;
	float: none;
}
.affwp-batch-form--has-choices .affwp-batch-form__submit-container {
	margin: 1rem 0;
}
.admin-color-fresh .affwp-batch-progress div {
	background: #0073aa;
}
.admin-color-light .affwp-batch-progress div {
	background: #888;
}
.admin-color-blue .affwp-batch-progress div {
	background: #096484;
}
.admin-color-coffee .affwp-batch-progress div {
	background: #c7a589;
}
.admin-color-ectoplasm .affwp-batch-progress div {
	background: #a3b745;
}
.admin-color-midnight .affwp-batch-progress div {
	background: #e14d43;
}
.admin-color-sunrise .affwp-batch-progress div {
	background: #dd823b;
}
.wc-order-preview-affwp-referral {
	padding: 1em 1.5em;
	text-align: left;
	border-top: 1px solid #eee;
	width: 100%;
	margin: 0;
}
.wc-order-preview-affwp-referral strong {
	display: block;
}

.affwp-dashboard-widget .dataset {
	width: 50%;
	float: left;
	padding: 0 15px;
	box-sizing: border-box;
}

.affwp-textcenter {
	text-align: center;
}

/* Dashboard Widgets */
.affwp-dashboard-widget .dataset-recent-referrals,
.affwp-dashboard-widget table,
.affwp-dashboard-widget dl {
	width: 100%;
	margin-block-start: 0;
	margin-block-end: 0;
}

.affwp-dashboard-widget dd {
	margin-left: 0;
	margin-bottom: 5px;
}

#dashboard-widgets .affwp-dashboard-widget .dataset h4 {
	color: #777;
	border-bottom: 1px solid #ececec;
	font-size: 13px;
	padding: 3px 0;
	margin-bottom: 3px;
	margin-top: 3px;
}

#dashboard-widgets .dataset-referrals-totals {
	margin-bottom: 30px;
}

#dashboard-widgets .affwp-dashboard-widget h3 {
	display: inline;
	margin-left: 10px;
	color: #777;
}

#dashboard-widgets .dataset-title {
	width: 100%;
	border-bottom: 1px solid #ececec;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

#dashboard-widgets .affwp-dashboard-widget dt,
#dashboard-widgets .affwp-dashboard-widget dd {
	width: 50%;
	margin-bottom: 5px;
}

#dashboard-widgets .affwp-dashboard-widget dt {
	float: left;
	clear: left;
	font-size: 12px;
	color: #777;
	margin-bottom: 15px;
}

#dashboard-widgets .affwp-dashboard-widget dd {
	float: right;
	text-align: right;
	font-size: 14px;
	font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
	font-weight: 400;
}

/* Tooltips */

.affwp-tooltip {
	cursor: help;
	position: relative;
	color: #404040;
	z-index: 99;
}

.affwp-tooltip.icon {
	margin-left: 5px;
	display: inline-block;
}

.affwp-tooltip.text {
	display: inline;
}

.affwp-tooltip.icon.warning .dashicons {
	color: #c39500;
}

.affwp-tooltip.icon.critical .dashicons {
	color: #d25a5a;
}

.affwp-tooltip-content {
	background: #222;
	border-radius: 2px;
	box-shadow: 1px 1px 20px #000000a6;
	display: block;
	visibility: hidden;
	font-family: system-ui;
	color: #d8d8d8 !important;
	font-size: 13px !important;
	text-rendering: auto;
	font-weight: 400;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: unset;
	left: 6px;
	line-height: 1.4;
	overflow-wrap: break-word;
	letter-spacing: 0;
	width: max-content;
	max-width: 200px;
	opacity: 0;
	padding: 0.5rem 1rem;
	position: absolute;
	text-align: center;
	top: -1rem;
	transform: translate(-50%, -100%);
	z-index: -1;
}

.affwp-tooltip-content.text {
	transform: translate(-50%, -100%);
	position: absolute;
	left: 38%;
}

.affwp-tooltip-content.active {
	opacity: 1;
	z-index: 100;
	visibility: visible;
}

.affwp-tooltip-content::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	border-top: 10px solid #222;
	display: block;
	position: absolute;
	left: calc(50% - 7px);
	bottom: 0;
	transform: translateY(100%);
}

/* Modify tooltip to display below ? mark */

.affwp-tooltip-content.overflow-top {
	top: 35px;
	transform: translate(-50%, 0);
}

.affwp-tooltip-content.overflow-top::after {
	border-bottom: 10px solid #111;
	border-top: initial;
	top: 0;
	transform: translateY(-100%);
	bottom: initial;
}

/* Modify tooltip to justify content to the left of the ? mark */

.affwp-tooltip-content.overflow-right {
	right: 0;
	left: initial;
	transform: translate(0, -100%);
}

.affwp-tooltip-content.overflow-right::after {
	right: 3px;
	left: initial;
}

/* Modify tooltip to justify content to both left and under the ? mark */

.affwp-tooltip-content.overflow-right.overflow-top {
	top: 30px;
	transform: none;
}

#affwp-reports-widgets-wrap::after {
	display: block;
	content: "";
	clear: both;
}

.affwp-admin-notice-top-of-page {
	font-size: 15px;
	line-height: 1.5;
	color: #fff;
	margin-left: -20px;
	padding: 13px 20px;
	background: #60b9b3;
	display: none;
	position: relative;
	text-align: center;
}

.affwp-admin-notice-top-of-page a {
	color: #fff;
	font-weight: bold;
}

.affwp-admin-notice-top-of-page a:hover {
	text-decoration: none;
}

.affwp-admin-notice-top-of-page .button-link {
	position: absolute;
	top: calc(50% - 18px);
	right: 0;
	font-size: 20px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	margin-left: 5px;
	padding: 8px 12px;
	line-height: 1;
}

.affwp-admin-notice-top-of-page .button-link:hover,
.affwp-admin-notice-top-of-page .button-link:active,
.affwp-admin-notice-top-of-page .button-link:focus {
	color: #fff;
	text-decoration: none;
}

/* Terms of Use Generator */

.wp-create-terms-of-use-page {
	max-width: 640px;
}

.wp-create-terms-of-use-page label,
.wp-create-terms-of-use-page .description {
	display: block;
}

.wp-create-terms-of-use-page .description {
	margin-bottom: 8px;
}

.wp-create-terms-of-use-page label {
	font-weight: bold;
	margin-bottom: 4px;
	font-weight: 600;
}

#terms-of-use-preview {
	max-height: 400px;
	overflow-y: scroll;
	padding: 1rem;
	margin-bottom: 1.5rem;
	background: #f0f0f1;
	border: 1px solid #8c8f94;
}

#terms-of-use-preview ul {
	list-style-type: disc;
	padding-left: 1rem;
}

#terms-of-use-preview li {
	margin-bottom: 1rem;
}

#terms-of-use-preview p {
	margin: 0 0 1.5rem 0;
}

#terms-of-use-preview h1,
#terms-of-use-preview h2 {
	margin: 0 0 1rem 0;
	padding: 0;
}

.affwp-admin-contents {
	padding-top: 20px;
}

.affwp-admin-contents *,
.affwp-admin-contents *::before,
.affwp-admin-contents *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.affwp-admin-section {
	margin: 0 0 20px 0;
	background: #ffffff;
	border: 1px solid #dddddd;
}

.affwp-admin-section h3 {
	line-height: 1.6;
	font-size: 24px;
	margin: 0 0 20px;
	color: #23282c;
}

.affwp-admin-section p {
	font-size: 16px;
}

.affwp-admin-section p:last-child {
	margin-bottom: 0;
}

.affwp-admin-figure {
	display: inline-flex;
	flex-direction: column;
	margin: 0;
}

.affwp-admin-figure img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.affwp-admin-figure figcaption {
	font-size: 14px;
	color: #888888;
	margin-top: 15px;
	text-align: center;
	line-height: initial;
}

.affwp-admin-section .affwp-admin-about-section-hero-main {
	background-color: #fafafa;
	border-bottom: 1px solid #dddddd;
}

.affwp-admin-section .affwp-admin-about-section-hero-main > * {
	max-width: 870px;
}

.affwp-admin-about-section,
.affwp-admin-getting-started-section {
	padding: 30px;
}

.affwp-admin-getting-started-section figure {
	max-width: 20rem;
	width: 100%;
}

.affwp-admin-flex {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

.affwp-admin-features-list {
	display: flex;
	gap: 4rem;
}

.affwp-admin-about-section .bigger {
	font-size: 18px;
}

.affwp-admin-about-section h4 {
	font-size: 18px;
	margin: 0;
}

.affwp-admin-features-list {
	list-style: none;
}

.affwp-admin-features-list ul {
	margin: 0;
}

.affwp-admin-features-list li {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 0.5rem;
	display: flex;
}

.affwp-admin-features-list li::before {
	content: " ";
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.6061 3.10638L6.12473 10.5674L3.39387 7.8156C3.25164 7.70213 3.02407 7.70213 2.91028 7.8156L2.08534 8.6383C1.97155 8.75177 1.97155 8.97872 2.08534 9.12057L5.89716 12.8936C6.03939 13.0355 6.23851 13.0355 6.38074 12.8936L14.9147 4.38298C15.0284 4.2695 15.0284 4.04255 14.9147 3.90071L14.0897 3.10638C13.9759 2.96454 13.7484 2.96454 13.6061 3.10638Z' fill='%2344A2A7'/%3E%3C/svg%3E%0A");
	margin-right: 1rem;
	margin-top: 0.25rem;
	padding-right: 1rem;
	width: 1rem;
	height: 1rem;
	display: inline-block;
	background-repeat: no-repeat;
}

.affwp-admin-section .discount {
	color: #6ab255;
}

.affwp-admin-section hr {
	margin: 30px 0;
}

.affwp-admin-plan-comparison {
	padding: 0;
}
.affwp-admin-plan-comparison table {
	border-spacing: 0;
}

.affwp-admin-plan-footer,
.affwp-admin-plan-comparison thead {
	background: #fafafa;
}

.affwp-admin-plan-comparison th,
.affwp-admin-plan-comparison td {
	padding: 20px;
	width: 33.333%;
	font-size: 16px;
	border-bottom: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
}

.affwp-admin-plan-comparison td {
	vertical-align: top;
}

.affwp-admin-plan-comparison td.affwp-admin-feature-icon {
	padding-left: 50px;
}

.affwp-admin-feature-icon {
	background-repeat: no-repeat;
	background-size: 14px auto;
	background-position: 26px 31px;
}
.affwp-admin-feature-icon--full {
	background-image: url("../images/about/icon-full.svg");
}

.affwp-admin-feature-icon--partial {
	background-image: url("../images/about/icon-partial.svg");
	background-size: 22px auto;
	background-position: 22px 25px;
}

.affwp-admin-feature-icon--none {
	background-image: url("../images/about/icon-none.svg");
	background-position-y: 29px;
}

.affwp-admin-plan-comparison th:nth-child(3n),
.affwp-admin-plan-comparison td:nth-child(3n) {
	border-right: 0;
}

.affwp-admin-plan-comparison tr:last-child td {
	border-bottom: 0;
}

.affwp-admin-plan-comparison th {
	border-bottom: 1px solid #dddddd;
	font-size: 18px;
	font-weight: 600;
}
.affwp-admin-plan-header,
.affwp-admin-plan-footer {
	padding: 30px;
	text-align: center;
	border-bottom: 1px solid #dddddd;
}
.affwp-admin-plan-header strong {
	font-size: 22px;
}

.affwp-admin-plan-footer {
	border-top: 1px solid #dddddd;
	border-bottom: 0;
}

.affwp-admin-plan-footer h3 {
	margin-bottom: 5px;
}

.affwp-admin-plan-footer p {
	color: #666666;
}

.affwp-admin-plan-footer p span {
	color: #6ab255;
}

#affwp-admin-about-page .tab-active--about .affwp-admin-section {
	margin-bottom: 5px;
}

.affwp-addon-action {
	position: relative;
}

.affwp-addon-action.affwp-addon-action--ok::before,
.affwp-addon-action.affwp-addon-action--error::before {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: #f7f7f7;
	content: attr(data-content);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #00a32a;
	padding: 20px;
}

.affwp-addon-action.affwp-addon-action--error::before {
	color: #d63638;
}

.affwp-addon-action .status-active {
	color: #00a32a;
}

.affwp-action-button {
	outline: none;
}

.affwp-action-button.loading::before {
	content: "";
	width: 16px;
	height: 11px;
	display: inline-block;
	background: url("../images/loading.gif") no-repeat;
}

.affwp-action-button.disabled {
	cursor: default !important;
}

/* Media Queries */
@media screen and (min-width: 1024px) {
	.affwp-admin-features-list ul {
		width: 50%;
	}

	.affwp-admin-getting-started-section figure {
		margin-right: 4rem;
	}

	.affwp-admin-flex {
		flex-direction: row;
		gap: 4rem;
	}
}

@media screen and (max-width: 1024px) {
	#affwp-reports-widgets-wrap #dashboard-widgets .postbox-container {
		width: 50%;
	}

	#affwp-reports-widgets-wrap #dashboard-widgets .postbox-container:last-child {
		width: 99%;
	}

	#affwp-reports-widgets-wrap #dashboard-widgets #tertiary-sortables {
		margin-left: 0;
	}

	#affwp-reports-widgets-wrap #dashboard-widgets .postbox {
		min-height: 0;
	}

	.affwp-admin-notice-top-of-page {
		text-align: center;
	}

	.affwp-admin-notice-top-of-page {
		padding: 10px 46px 10px 22px;
	}
}

@media screen and (max-width: 960px) {
	.affwp-overlay {
		left: 36px;
	}
}

@media screen and (max-width: 782px) {
	#affwp-affiliates-filter .column-affiliate_id,
	#affwp-affiliates-filter .column-rate,
	#affwp-affiliates-filter .column-referrals,
	#affwp-affiliates-filter .column-visits {
		display: none;
	}

	#affwp-affiliates-filter .column-actions span {
		display: block;
	}

	#affwp-reports-widgets-wrap #dashboard-widgets .postbox-container {
		width: 99%;
	}

	#affwp-reports-widgets-wrap #dashboard-widgets #primary-sortables,
	#affwp-reports-widgets-wrap #dashboard-widgets #secondary-sortables,
	#affwp-reports-widgets-wrap #dashboard-widgets #tertiary-sortables {
		margin-left: 0;
		margin-right: 0;
	}
	.affwp-overlay {
		left: 0;
	}
	body.admin-bar #affwp-notifications-panel {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	#affwp-header {
		position: relative;
		top: 46px;
	}
	body.admin-bar #affwp-notifications-panel {
		top: 46px;
	}
}

@media screen and (min-width: 1025px) {
	#affwp-affiliates-filter .column-actions {
		width: 20%;
	}
	#affwp-payouts-filter .column-payout_id {
		width: 8%;
	}
}

@media screen and (min-width: 680px) {
	#affwp-referrals-filter-form .column-actions {
		width: 24%;
	}
}

@media screen and (min-width: 782px) {
	.affwp-admin-notice-top-of-page .button-link {
		right: 8px;
	}
}

/* Keyframes for animation */
@keyframes affwp-bounce {
	/* These percentages cause the animation to occur for 1s, followed by 9s pause. */
	0%,
	5%,
	9% {
		transform: translateX(-50%) translateY(0);
	}
	2%,
	7% {
		transform: translateX(-50%) translateY(-3px);
	}
}

/** Affiliate Groups: Setting the default affiliate group */
tr.group-row.default span.set-default,
tr.group-row .status-default-group {
	display: none;
}

tr.group-row.default .status-default-group,
tr.group-row span.set-default {
	display: inline-block;
}

/* Affiliate Group Selector on Edit/New Creative Screen */
.group-selector-creative_affiliate-group span.select2 {
	min-width: 50% !important;
}

/** Creative Privacy */

.wp-list-table.creatives td.column-name .icon {
	margin-left: 0.5rem;
}

.wp-list-table.creatives td.column-name .icon .dashicon::before {
	display: block;
	font-size: 20px;
	color: #50575e;
}

.wp-list-table.creatives td.column-name span.name-wrap {
	display: flex;
	align-items: start;
	justify-content: space-between;
}

/** / Creative Privacy */

/* Make the Pro label appear on the same line */
.affiliates_page_affiliate-wp-settings .select2-results__option,
#select2-status-container,
#select2-status-results li,
#select2-type-container,
#select2-type-results li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	line-height: unset;
}

/* Make select2 inputs same width */
.affiliates_page_affiliate-wp-settings .select2-container,
#affwp_add_creative .select2-container,
#affwp_edit_creative .select2-container,
.affwp-use-select2 + .select2 {
	width: 175px;
}

/* Make the select2 selection vertically centered */
.affiliates_page_affiliate-wp-settings
	.select2-container--default
	.select2-selection--single,
#affwp_add_creative .select2-container--default .select2-selection--single,
#affwp_edit_creative .select2-container--default .select2-selection--single,
.affwp-use-select2 + .select2 .select2-selection--single {
	display: grid;
}

.affwp-use-select2 + .select2 .select2-selection--single,
#affwp-settings-form .select2-container .select2-selection--single {
	height: 30px;
	min-height: 30px;
	border-color: #8c8f94;
}

.affwp-use-select2
	+ .select2
	.select2-selection--single
	.select2-selection__rendered,
#affwp-settings-form .select2-selection--single .select2-selection__rendered {
	line-height: 28px;
}

.affwp-use-select2
	+ .select2
	.select2-selection--single
	.select2-selection__arrow,
#affwp-settings-form
	.select2-container--default
	.select2-selection--single
	.select2-selection__arrow {
	height: 28px;
}

.affwp-creative-name-field > * {
	vertical-align: middle;
}

/* Status color-coded labels */
.affwp-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 4px;
}

/* Green */
.affwp-status.active,
.affwp-status.paid {
	background-color: rgb(215, 247, 194);
	color: rgb(0, 105, 8);
}

/* Yellow */
.affwp-status.unpaid {
	background-color: rgb(252, 237, 185);
	color: rgb(168, 44, 0);
}

/* Blue */
.affwp-status.scheduled,
.affwp-status.pending,
.affwp-status.processing {
	background-color: rgb(207, 245, 246);
	color: rgb(0, 85, 188);
}

/* Grey */
.affwp-status.inactive {
	background-color: rgb(235, 238, 241);
	color: rgb(65, 69, 82);
}

/* Red */
.affwp-status.rejected,
.affwp-status.failed {
	background-color: rgb(255, 231, 242);
	color: rgb(179, 9, 60);
}

.affwp-status .dashicons {
	display: inline-flex;
	width: auto;
	height: auto;
}

.affwp-status .dashicons.dashicons-clock {
	font-size: 18px;
	align-items: center;
}

/* CTA to upgrade from settings (currently on the Creatives Add/Edit pages) */
.affwp-upgrade-setting-cta h4 {
	margin-top: 8px;
}

#v2160-update-creative-names.button-disabled {
	display: none;
}

#affwp_edit_creative .affwp-tooltip.icon.warning .dashicons,
#the-list .affwp-admin-creative-name-warning .dashicons::before {
	color: #d63638;
}

.affwp-section {
	padding: 0;
	margin-bottom: 2rem;
}

.affwp-section-title {
	border-bottom: 1px solid #e4e4e4;
	padding: 32px 0;
	margin-bottom: 0;
}

.affwp-section .affwp-section-title h2 {
	display: flex;
	gap: 10px;
	align-items: center;
}

.affwp-section:first-child .affwp-section-title {
	border-top: 0;
}

.affwp-section-title h2 {
	color: #222;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
}

.affwp-section-title h2 .affwp-tooltip.icon {
	margin-left: 0;
}

.affwp-activation-link,
.affwp-section-title .affwp-section-help-text {
	margin: 10px 0 0;
	color: #555;
	font-size: 14px;
}

.affwp-activation-link {
	text-decoration: none;
}

/* Admin settings */
.affwp-button--is-loading {
	color: transparent;
	position: relative;
}
.affwp-button--is-loading::before {
	content: url("../images/loading.gif");
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: initial;
	background: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
}

.affwp-section tr[data-visibility] {
	display: none; /* Rows with visibility rules must start hidden to avoid page shifts on page loading */
}

.affwp-missing-addon-for-active-setting {
	padding: 10px;
	background: rgba(255, 255, 255, 0.5);
	display: inline-block;
	margin-top: 10px !important;
	border: 1px solid lightgray;
}

.affwp-missing-addon-for-active-setting::before {
	content: "\f12a";
	font-family: FontAwesome;
	margin-right: 5px;
	color: #d63638;
}

.affwp-missing-addon-for-active-setting span {
	font-weight: bold;
	cursor: pointer;
}

.affwp-admin-affiliate-signup-widget-wrapper {
	display: flex;
	gap: 4rem;
}

.affwp-admin-affiliate-signup-widget-preview {
	max-width: 980px;
	width: 100%;
	margin-top: 28px;
}

/* License Activator Callback */
.affwp-settings-license-activator__status:not(:empty) {
	margin: 10px 0 0 2px;
}

/* Pro label */
.affwp-settings-label-pro {
	border-radius: 4px;
	background: #dcdcde;
	color: #50575e;
	font-size: 12px;
	font-weight: 600;
	display: inline-flex;
	padding: 0.125rem 0.375rem;
	align-items: center;
	text-transform: uppercase;
}

#affwp-settings-form .form-table th > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

/* Accordion */

.affwp-accordion {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.affwp-accordion .affwp-accordion-title {
	cursor: pointer;
	position: relative;
}

.affwp-accordion .affwp-accordion-title h3 {
	margin: 0;
}

.affwp-accordion .affwp-accordion-item {
	min-width: 320px;
}

.affwp-accordion .affwp-accordion-title::after {
	content: "\f077";
	font-family: "FontAwesome";
	font-weight: 900;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.affwp-accordion
	.affwp-accordion-item.affwp-accordion-collapsed
	.affwp-accordion-content,
.affwp-accordion
	.affwp-accordion-item.affwp-accordion-collapsed
	.affwp-accordion-subtitle {
	display: none;
}

.affwp-setting-row {
	border-bottom: 1px solid #e4e4e4;
}

.affwp-setting-row fieldset .affwp-settings-label-pro {
	margin-left: 0.5rem;
}

.affwp-accordion-content .form-table th {
	padding: 32px 10px 32px 0;
}

.affwp-accordion-content .form-table td {
	padding: 24px 10px;
}

.affwp-accordion[data-theme="light"] {
	gap: 10px;
}

.affwp-accordion[data-theme="light"] .affwp-accordion-title {
	background: white;
	padding: 1rem;
	margin: 0;
}

.affwp-accordion[data-theme="light"] .affwp-accordion-title::after {
	right: 20px;
}

.affwp-accordion[data-theme="light"] .affwp-accordion-content {
	padding: 20px;
}

.affwp-accordion
	.affwp-accordion-item.affwp-accordion-collapsed
	.affwp-section-title {
	margin-bottom: 0;
	border-bottom: 0;
}

.affwp-accordion
	.affwp-accordion-item.affwp-accordion-collapsed
	.affwp-accordion-title::after {
	content: "\f078";
	font-family: "FontAwesome";
	font-weight: 900;
}

#growth-tools .affwp-accordion-title {
	border-bottom: 0;
}

#the-list .column-preview .affwp-qrcode-preview {
	width: 80px;
	height: 80px;
	display: block;
}

#qrcode-color-pickers {
	padding-top: 20px;
	display: flex;
	gap: 1rem;
}

#qrcode-color-pickers > div {
	position: relative;
}

#qrcode-color-pickers .wp-picker-holder {
	position: absolute;
	left: 0;
	top: 95px;
	z-index: 10;
}

#qrcode-color-pickers .wp-picker-input-wrap:not(.hidden) {
	display: flex;
}
.qrcode-inline-notice {
	max-width: 1100px;
}

.qrcode-inline-notice-cta {
	padding-bottom: 20px;
}

.affwp-education-modal-input-wrapper {
	position: relative;
	display: inline-block;
}

.affwp-education-modal-input-wrapper .affwp-education-modal {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

/* Product Education | jQuery Confirm Styles */

body div.jconfirm *,
body div.jconfirm *::before,
body div.jconfirm *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	animation: none;
	background: #ffffff;
	border-radius: 6px;
	border-top-style: solid;
	border-top-width: 4px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	padding-top: 34px;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-title-c,
body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-content-pane,
body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-buttons {
	grid-column: 1 / -1;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	a.btn {
	text-decoration: none;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box.jconfirm-type-default {
	border-top-width: 0;
	padding-top: 25px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-default
	.jconfirm-title-c {
	margin-bottom: 20px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-default
	.jconfirm-title-c
	.jconfirm-icon-c {
	font-size: 44px;
	margin-bottom: -6px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-default
	button.btn-confirm,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-default
	.btn.btn-confirm {
	background-color: #44a2a7;
	border-color: #44a2a7;
	color: #fff;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-default
	button.btn-confirm:hover,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-default
	.btn.btn-confirm:hover {
	background-color: #69b6ba;
	border-color: #69b6ba;
	color: #fff;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box.jconfirm-type-red {
	border-top-color: #d63638 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	.jconfirm-title-c
	.jconfirm-icon-c {
	color: #d63638 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	.btn.btn-confirm,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	button.btn-confirm {
	background-color: #d63638;
	border-color: #d63638;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	.btn.btn-confirm:hover,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	button.btn-confirm:hover {
	background-color: #b32d2e;
	border-color: #b32d2e;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box.jconfirm-type-red {
	border-top-color: #e34f43 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	.jconfirm-title-c
	.jconfirm-icon-c {
	color: #e34f43 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	button.btn-confirm {
	background-color: #e34f43;
	border-color: #e34f43;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-red
	button.btn-confirm:hover {
	background-color: rgba(227, 79, 67, 0.9);
	border-color: rgba(227, 79, 67, 0.9);
}

body div.jconfirm .jconfirm-box-container .jconfirm-box.jconfirm-type-yellow {
	border-top-color: #ffb900 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-yellow
	.jconfirm-title-c
	.jconfirm-icon-c {
	color: #ffb900 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-yellow
	button.btn-confirm {
	background-color: #ffb900;
	border-color: #ffb900;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-yellow
	button.btn-confirm:hover {
	background-color: #ffaa00;
	border-color: #ffaa00;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-lightgreen {
	border-top-color: #44a2a7 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-lightgreen
	.jconfirm-title-c
	.jconfirm-icon-c {
	color: #44a2a7 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-lightgreen
	button.btn-confirm {
	background-color: #44a2a7;
	border-color: #44a2a7;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-lightgreen
	button.btn-confirm:hover {
	background-color: #69b6ba;
	border-color: #69b6ba;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box.jconfirm-type-green {
	border-top-color: #00a32a !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-green
	.jconfirm-title-c
	.jconfirm-icon-c {
	color: #00a32a !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-green
	button.btn-confirm {
	background-color: #00a32a;
	border-color: #00a32a;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-green
	button.btn-confirm:hover {
	background-color: #008a20;
	border-color: #008a20;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-closeIcon {
	color: transparent;
	font-family: FontAwesome;
	height: 14px;
	opacity: 1;
	right: 10px;
	top: 10px;
	width: 14px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-closeIcon:after {
	color: #bbbbbb;
	content: "\f00d";
	font-size: 16px;
	left: 0;
	position: absolute;
	top: 0;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-closeIcon:hover:after {
	color: #777777 !important;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-title-c {
	margin: 0 0 20px 0;
	padding: 0;
	font-weight: 600;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-title-c
	.jconfirm-icon-c {
	font-size: 47px;
	margin: 0;
	-ms-transform: none !important;
	transform: none !important;
	-webkit-transition: none !important;
	transition: none !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-title-c
	.jconfirm-icon-c
	+ .jconfirm-title {
	margin-top: 20px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-title-c
	.jconfirm-title {
	color: #444444;
	display: block;
	line-height: 30px;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-content-pane {
	display: block;
	margin-bottom: 1.5rem;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content {
	color: #3c434a;
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 0;
	overflow: inherit;
	text-wrap: pretty;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	p {
	color: #3c434a;
	font-size: 18px;
	padding: 0;
	text-wrap: pretty;
}

.jconfirm.jconfirm-modern .jconfirm-box {
	padding: 32px 40px 16px 40px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	p {
	font-size: inherit;
	line-height: inherit;
	margin: 0 0 16px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	p:last-of-type {
	margin: 0;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	p.large {
	font-size: 18px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	p.small {
	font-size: 14px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="text"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="number"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="email"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="url"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="password"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="search"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	input[type="tel"],
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	textarea,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-content-pane
	.jconfirm-content
	select {
	margin: 10px 2px;
	width: calc(100% - 4px);
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .already-purchased {
	display: block;
	grid-row: 5;
	grid-column: 1 / -1;
	color: #bbbbbb;
	font-size: 14px;
	margin-top: 15px;
	text-decoration: underline;
	text-align: center;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.already-purchased:hover {
	color: #777777;
	text-decoration: underline;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .discount-note {
	grid-row: 4;
	grid-column: 1 / -1;
	margin: 25px 0 0 0;
	text-align: center;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .discount-note p {
	background-color: #fcf9e8;
	color: #777777;
	font-size: 16px;
	margin: 0 -30px;
	padding: 22px 52px 12px 52px;
	position: relative;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .discount-note p:after {
	top: -16px;
	background-color: #ffffff;
	border-radius: 50%;
	color: #00a32a;
	content: "\f058";
	display: inline-block;
	font: normal normal normal 14px FontAwesome;
	font-size: 26px;
	margin-right: -18px;
	padding: 5px 6px;
	position: absolute;
	right: 50%;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .discount-note span {
	color: #00a32a;
	font-weight: 700;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .discount-note a {
	color: #777777;
	display: block;
	margin-top: 12px;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .feature-video {
	margin: 30px 0 0 0;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .pro-feature-video {
	margin: 15px 0 10px 0;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	input[type="text"]:not(.choices__input) {
	display: block;
	width: 99%;
	border: 1px solid #d6d6d6;
	padding: 10px !important;
	box-shadow: none;
	margin: 10px 1px 1px 1px !important;
	line-height: 1 !important;
	outline: 0;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	input[type="text"]:not(.choices__input):focus {
	border-color: #007cba;
	box-shadow: 0 0 0 1px #007cba;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	#affwp-edu-modal-license-key {
	margin-top: 20px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button,
body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-buttons .btn {
	min-width: 83px;
	background: #f8f8f8;
	border: 1px solid #cccccc;
	border-radius: 4px;
	color: #777777;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	outline: none;
	padding: 11px 17px;
	text-transform: none;
	transition-property: all;
	transition-duration: 0.15s;
	transition-timing-function: ease-out;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button:hover,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn:hover {
	background: #eeeeee;
	border-color: #cccccc;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button[disabled] {
	cursor: no-drop;
	pointer-events: none;
	opacity: 0.6;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button.btn-confirm,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn.btn-confirm {
	color: #ffffff;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button.btn-confirm
	.affwp-spinner,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn.btn-confirm
	.affwp-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 5px;
	vertical-align: top;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button
	+ button,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn
	+ .btn {
	margin-left: 20px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button.btn-block,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn.btn-block {
	display: block;
	margin: 0 0 10px 0 !important;
	text-align: center;
	width: 100%;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button.btn-normal-case,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn.btn-normal-case {
	text-transform: none !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	button
	i,
body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-buttons
	.btn
	i {
	margin: 0 10px 0 0;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box .error {
	color: #d63638;
	display: none;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.affwp-providers-account-add-modal
	.jconfirm-content
	.description {
	font-size: 13px;
	line-height: 1.4;
	margin-top: 15px;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box #affwp-embed-shortcode {
	margin: 20px 0;
	text-align: center;
	font-size: 24px;
	padding: 8px 5px;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	#affwp-embed-shortcode:disabled {
	color: #333333;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box button[disabled] {
	cursor: no-drop;
}

body div.jconfirm.jconfirm-affwp-education .jconfirm-content-pane {
	height: auto !important;
	min-height: fit-content;
}

.jconfirm-title:empty {
	display: none !important;
}

.jconfirm-title svg {
	width: 3rem;
	height: 3rem;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-title-c
	.jconfirm-icon-c
	+ .jconfirm-title:has(svg) {
	margin-top: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box
	.jconfirm-title-c
	.jconfirm-icon-c
	+ .jconfirm-title
	svg {
	margin-bottom: 1rem;
	color: #44a2a7;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-blue
	button.btn-confirm {
	background-color: #0399ed;
	border-color: #0399ed;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-blue
	button.btn-confirm:hover {
	background-color: #036aab;
	border-color: #036aab;
}

body div.jconfirm .jconfirm-box-container .jconfirm-box.jconfirm-type-orange {
	border-top-color: #e27730 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-orange
	.jconfirm-title-c
	.jconfirm-icon-c {
	color: #e27730 !important;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-orange
	button.btn-confirm {
	background-color: #e27730;
	border-color: #e27730;
}

body
	div.jconfirm
	.jconfirm-box-container
	.jconfirm-box.jconfirm-type-orange
	button.btn-confirm:hover {
	background-color: #cd6622;
	border-color: #cd6622;
}

/* Spinner styling */
.affwp-spinner {
	margin: auto;
	padding: 0;
	width: 2rem;
	height: 2rem;
}

.affwp-spinner svg {
	width: 100%;
	height: 100%;
	vertical-align: top;
	animation: affwp-spinner-rotate 2s linear infinite;
}

.affwp-spinner svg * {
	stroke-width: 2.75;
	fill: none;
}

.affwp-spinner svg *:first-child {
	stroke: rgba(0, 0, 0, 0.1);
}

.affwp-spinner svg *:last-child {
	stroke: rgba(17, 24, 28, 0.8);
	animation: affwp-spinner-dash 2s ease-in-out infinite;
}

@keyframes affwp-spinner-rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes affwp-spinner-dash {
	0% {
		stroke-dasharray: 1, 150;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -35;
	}
	100% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -124;
	}
}

/* Toggle switch */
.affwp-toggle {
	margin-bottom: 1rem;
}

.affwp-toggle__label-text {
	margin-left: 0.5rem;
	order: 2;
}

.affwp-toggle__switch {
	position: relative;
	display: flex;
	align-items: center;
}

.affwp-toggle__input {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 1;
}

.affwp-toggle__slider {
	position: relative;
	cursor: pointer;
	width: 30px;
	height: 17px;
	background-color: #ccc;
	transition: 0.4s;
}

.affwp-toggle__slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: 0.4s;
}

.affwp-toggle__input:checked + .affwp-toggle__slider {
	background-color: #2196f3;
}

.affwp-toggle__input:focus + .affwp-toggle__slider {
	box-shadow: 0 0 1px #2196f3;
}

.affwp-toggle__input:checked + .affwp-toggle__slider:before {
	transform: translateX(13px);
}

.affwp-toggle__slider--round {
	border-radius: 17px;
}

.affwp-toggle__slider--round:before {
	border-radius: 50%;
}

.affwp-exclamation-icon {
	display: inline-block;
	margin-right: 5px;
	vertical-align: middle;
}

.affwp-exclamation-icon img {
	width: 20px;
	height: auto;
}

.notice-drm.notice-error h2 {
	margin-top: 14px;
	margin-bottom: 5px;
}

.notice-drm.notice-error p:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

.notice-drm .button {
	margin-right: 10px;
}

.affwp-drm-level-locked #wpbody {
	z-index: 0;
}

.affwp-drm-level-locked #wpbody-content {
	filter: blur(4px);
}

#affwp-drm-modal .jconfirm-box {
	padding: 2rem;
}

#affwp-drm-modal .jconfirm-content-pane {
	margin-bottom: 0;
}

@media screen and (max-height: 767px) {
	#affwp-drm-modal .jconfirm-content-pane {
		overflow-y: scroll;
		padding-left: 10px;
		padding-right: 10px;
	}
}

#affwp-drm-modal a:not(.btn) {
	color: #44a2a7;
}

#affwp-drm-modal .jconfirm-content,
#affwp-drm-modal .jconfirm-content p {
	color: #3c434a;
}

#affwp-drm-modal .jconfirm-content p:first-child {
	max-width: 700px;
	margin: 0 auto 1rem auto;
}

#affwp-drm-modal .jconfirm-icon-c {
	color: #d63638;
}

.affwp-drm-locked-features {
	list-style: none;
	padding: 0;
	text-align: left;
	display: inline-block;
	margin: 0 0 1rem 0;
	font-weight: 600;
}

#affwp-drm-modal .jconfirm .affwp-drm-locked-features + p + .jconfirm-buttons {
	padding: 1.5rem 0 2rem 0;
}

.affwp-drm-locked-features li {
	margin-bottom: 0.5rem;
	display: flex;
}

.affwp-drm-locked-features li::before {
	content: "";
	margin-right: 0.5rem;
	content: "\f057";
	font-family: FontAwesome;
	color: #d63638;
	font-size: 1.5rem;
}

#affwp-drm-ajax-license-activation {
	max-width: 400px;
	display: flex;
	flex-direction: row;
	gap: 10px;
	margin: 20px auto 0;
}
#affwp-drm-ajax-license-activation input[type="password"] {
	border: 1px solid #b9c1cf;
	border-radius: 5px;
	color: #444;
	display: block;
	font-size: 16px;
	padding: 5px 10px;
	width: 100%;
	margin: 0;
}

#affwp-drm-ajax-license-activation .btn {
	min-width: unset;
	margin: 0;
}

#affwp-drm-ajax-license-activation .btn .affwp-spinner {
	margin-right: 10px;
	opacity: 0.5;
}

#affwp-drm-ajax-messages {
	margin-top: 5px;
	text-align: center;
	color: green; /* TODO: Change to the final shade */
}

#affwp-drm-ajax-messages[data-type="error"] {
	color: #d63638; /* TODO: Change to the final shade */
}

@media screen and (min-width: 1085px) {
	#affwp-drm-modal .jconfirm-box {
		padding: 4rem;
	}

	.affwp-drm-locked-features {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding: 1.5rem 0;
	}

	.affwp-drm-locked-features li {
		display: inline-flex;
		align-items: center;
		margin: 0;
	}
}

/* Affiliates > Name Column + Gravatar */
body.affiliates_page_affiliate-wp-affiliates
	.wp-list-table
	td.column-name
	.info {
	display: flex;
	align-items: start;
}

body.affiliates_page_affiliate-wp-affiliates
	.wp-list-table
	td.column-name
	.info
	a {
	word-break: break-word;
}

body.affiliates_page_affiliate-wp-affiliates
	.wp-list-table
	td.column-name
	.info
	img {
	margin-right: 10px;
	display: block;
}

/* WooCommerce Order Screen: Affiliate Selector (Select2) */
.select2-container--disabled #select2-affiliatewp-order-affiliate-container {
	cursor: not-allowed !important;
}

/* Tippy tooltip styling */
.tippy-box[data-theme~="affwp"] {
	background-color: #fff;
	color: #3c434a;
	border-radius: 0.25rem;
	min-width: 350px;
	filter: drop-shadow(1px 2px 3px hsla(0, 0%, 0%, 0.05))
		drop-shadow(2px 4px 6px hsl(0 0% 0% / 0.05))
		drop-shadow(4px 8px 12px hsl(0 0% 0% / 0.05));
}

.tippy-box[data-theme~="affwp"][data-placement^="top"] > .tippy-arrow::before {
	border-top-color: #fff;
}

.tippy-box[data-theme~="affwp"][data-placement^="bottom"]
	> .tippy-arrow::before {
	border-bottom-color: #fff;
}

.tippy-box[data-theme~="affwp"] .tippy-content {
	padding: 1rem 1.25rem;
	font-weight: 400;
	line-height: 1.4rem;
	font-size: 14px;
}

.tippy-box[data-theme~="affwp"] .tippy-content *:not(.dashicons) {
	font-size: inherit;
}

.tippy-box[data-theme~="affwp"] .tippy-content p {
	margin-top: 0;
}

.tippy-box[data-theme~="affwp"] .tippy-content a {
	font-weight: 600;
}

.tippy-box[data-theme~="affwp"] .tippy-content *:last-child {
	margin-bottom: 0;
}

.tippy-box[data-theme~="affwp"] a .dashicons {
	text-decoration: none;
}

.dashicons-editor-help:has(+ div) {
	cursor: help;
}

#affwp-settings-form:has(.dashicons-editor-help[aria-expanded="true"]) {
	z-index: 9999;
	position: relative;
}

#affwp-settings-form .affwp-tooltip {
	position: initial;
	z-index: initial;
}

/* Feature benefits list */

.affwp-feature-benefits {
	list-style: none;
	padding: 0;
	text-align: left;
	display: inline-block;
	margin: 0;
}

.affwp-feature-benefits li {
	margin-bottom: 1rem;
	display: flex;
}

.affwp-feature-benefits li::before {
	content: "";
	margin-right: 0.875rem;
	content: "\f00c";
	font-family: FontAwesome;
	color: #44a2a7;
	font-size: 1.5rem;
}

p + .affwp-feature-benefits {
	margin-top: 1.5rem;
}

.affwp-feature-benefits li:last-of-type {
	margin-bottom: 0;
}

.affwp-table-additional-registration-info td:nth-child(1) {
	white-space: nowrap;
	width: auto;
	padding-right: 2rem;
	font-weight: 600;
}

.affwp-table-additional-registration-info td:nth-child(2) {
	width: 100%;
}

@media screen and (max-width: 782px) {
	.affwp-table-additional-registration-info td {
		margin-bottom: 0;
		padding: 15px 10px;
	}

	.affwp-table-additional-registration-info td:nth-child(1) {
		padding-bottom: 0;
	}
}

#affwp-settings-form button.affwp-link-button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	color: #2271b1;
	text-decoration: underline;
	cursor: pointer;
}

#affwp-settings-form button.affwp-link-button:hover,
#affwp-settings-form button.affwp-link-button:focus {
	color: #135e96;
}
