@use "freemius" as *;

#hulk_woo_pdil_admin_settings {
	.error-boundary {
		margin: 10px 0;
	}

	td {
		user-select: none;
	}

	label {
		font-size: 14px;
	}

	.max-w-\[350px\] {
		max-width: 350px;
	}

	select, input, textarea {
		font-size: 14px;

		&[disabled] {
			cursor: not-allowed;
			background: white;
			opacity: 0.5;
		}
	}

	.flex {
		display: flex;
	}

	.flex-col {
		flex-direction: column;
	}

	.gap-\[5px\] {
		gap: 5px;
	}

	.mt-\[10px\] {
		margin-top: 10px;
	}

	.components-checkbox-control {
		font-size: 14px;

		.components-base-control__field {
			margin-bottom: 5px;
		}
	}

	.checkbox-control-wrap {
		display: flex;
		align-items: center;
		flex-direction: row;
		gap: 20px;
	}

	.components-checkbox-control__help,
	.components-toggle-control__help {
		font-size: 13px;
		margin-bottom: 10px;
		display: block;
	}

	.components-radio-control {
		.components-flex {
			gap: 0;
			margin: 0;
		}
	}

	.components-range-control {
		max-width: 400px;
	}

	.color-palette {
		max-width: 350px;

		&[aria-disabled="true"] {
			opacity: 0.5;
			position: relative;
			cursor: not-allowed;

			&:before {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				z-index: 10;
				cursor: not-allowed;
			}
		}

		.components-flex {
			gap: 0;
		}

		.components-circular-option-picker__custom-clear-wrapper {
			margin-top: 2px;
		}

		.components-dropdown {
			background-color: white;
		}
	}

	.loader {
		margin-top: 20px;
		font-size: 14px;
	}

	.enable-style {
		margin-bottom: 0;
		margin-top: 10px;

		.components-toggle-control__help {
			margin-bottom: 0;
		}
	}

	.form-notice {
		margin-top: 20px;
		border-top: 1px solid #c3c4c7;
		border-bottom: 1px solid #c3c4c7;
		border-right: 1px solid #c3c4c7;
		box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	}

	.lock-icon {
		margin-left: 10px;
		cursor: pointer;
	}

	.freemius-overlay {
		position: relative;
		z-index: 1;
		cursor: pointer;
		filter: grayscale(1);

		* {
			pointer-events: none;
		}
	}
}
