/* Adding CSS classes should be done with consideration and rarely */
@tailwind base;
@tailwind components;
@tailwind utilities;

.extendify-library {
	--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
	--tw-ring-offset-width: 0px;
	--tw-ring-offset-color: transparent;
	--tw-ring-color: var(--ext-design-main, #2c39bd);
	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	--tw-scale-x: 1;
	--tw-scale-y: 1;
}

.extendify-library *,
.extendify-library *:after,
.extendify-library *:before {
	/* no !important */
	box-sizing: border-box;
	border: 0 solid #e5e7eb;
}
.extendify-library.extendify-library-modal {
	@apply fixed inset-0 z-high overflow-y-auto;
}
.extendify-library .components-toggle-group-control [role="presentation"] {
	@apply bg-design-main;
}

/* Style contentType/pageType control in sidebar */
.ext-type-control .components-panel__body-title {
	@apply -mx-5 my-0 bg-transparent p-1 px-5;
	button {
		@apply z-10 rounded border border-solid border-gray-300 shadow-none outline-none ring-design-main focus:ring;
		&[aria-expanded="true"] {
			@apply rounded-b-none border-b-0;
		}
	}
}
