input[type="checkbox"].custom-price-display-toggle-switch {
	opacity: 0;
	position: absolute;
	margin: 8px 0 0 16px;
}

input[type="checkbox"].custom-price-display-toggle-switch + label {
	cursor: pointer;
	position: relative;
	padding: 5px 0 0 50px;
	line-height: 2.0em;
}

input[type="checkbox"].custom-price-display-toggle-switch + label:before {
	content: "";
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	width: 44px;
	height: 25px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #d9d9d9;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

input[type="checkbox"].custom-price-display-toggle-switch + label:after {
	content: "";
	position: absolute;
	display: block;
	left: 5px;
	top: 3px;
	width: 20px;
	height: 19px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #d9d9d9;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

input[type="checkbox"].custom-price-display-toggle-switch:checked + label:after {
	margin-left: 16px;
	border-color: #2d73a8;
}

input[type="checkbox"].custom-price-display-toggle-switch:checked + label:before {
	background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
}

input[type="checkbox"].custom-price-display-toggle-switch + label > [data-custom-price-display-toggle-switch-on] {
	display: none;
}

input[type="checkbox"].custom-price-display-toggle-switch:checked + label > [data-custom-price-display-toggle-switch-on] {
	display: inline;
}

input[type="checkbox"].custom-price-display-toggle-switch:checked + label > [data-custom-price-display-toggle-switch-off] {
	display: none;
}

.custom-price-display-template-label {
	padding: 7px 20px !important;
	border: 1px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));;
	border-right: none;
	color: #646970;
	margin: 0 !important;
	width: auto !important;
}

.custom-price-display-switch-options {
	display: flex;
}

.custom-price-display-template-option {
	display: none !important;
}

.custom-price-display-template-label:hover {
	cursor: pointer;
	background: #F5F5F5;
}

.custom-price-display-switch-option:last-child .custom-price-display-template-label {
	border-right: 1px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
	border-radius: 0 5px 5px 0;
}

.custom-price-display-switch-option:first-child .custom-price-display-template-label {
	border-radius: 5px 0 0 5px;
}

.custom-price-display-template-option:checked + .custom-price-display-template-label {
	background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
	color: #fff;
	font-weight: 500;
}

.custom-price-display-switch-option {
	flex: 0 0 auto;
}

@media screen and (max-width: 1024px) {
	.custom-price-display-switch-options {
		flex-direction: column;
		gap: 5px;
	}

	.custom-price-display-switch-option {
		border-radius: 0;
	}

	.custom-price-display-switch-option label {
		width: 100% !important;
		box-sizing: border-box;
		border-radius: 0 !important;
		border-right: 1px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
	}
}

.custom-price-display-selected-products-section {
	background: #fff;
	padding: 1px 30px 30px 30px;
	max-width: 800px;
	overflow: hidden;
	box-sizing: border-box;
}

.custom-price-display-selected-products-section__title {
	margin: 20px 0;
	border-bottom: 1px solid #e8e8e8;
	font-size: 1.35em;
	font-weight: 300;
	padding: 15px 0;
}

.custom-price-display-selected-products-section__hint {
	padding: 10px 10px;
	border: 1px solid var(--wp-admin-theme-color-darker-10, #2c3e50);
	background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
	color: #fff;
	margin-bottom: 20px;
}

.custom-price-display-selected-products-section-row {
	margin: 10px 0;
	display: flex;
	gap: 30px;
	padding-right: 15px;
}

.custom-price-display-selected-products-section-row__label {
	width: 20%;
	min-width: 150px;
	white-space: nowrap;
	font-size: .8rem;
}

.custom-price-display-selected-products-section-row__value {
	width: 100%;
}

.custom-price-display-selected-products .wc-product-search {
	width: 100% !important;
}

#woocommerce-product-data ul.wc-tabs li.custom-price-display-tab_tab a::before {
	content: "\f323" !important;
}
