.mtx-core-icons__preview {
	align-items: center;
	aspect-ratio: 1;
	color: currentColor;
	display: inline-flex;
	height: auto;
	justify-content: center;
	line-height: 0;
	max-width: 100%;
	width: 100%;
}

.mtx-core-icons__preview svg {
	box-sizing: border-box;
	display: block;
	fill: currentColor;
	height: 100%;
	max-width: none;
	width: 100%;
}

.mtx-core-icons__preview-svg {
	box-sizing: border-box;
	display: block;
	fill: currentColor;
	height: 100%;
	max-width: none;
	width: 100%;
}

.mtx-core-icons__preview--dashicon {
	font-size: 100%;
	height: 100%;
	line-height: 1;
	width: 100%;
}

.mtx-core-icons__preview--dashicon::before {
	font-size: inherit;
	height: inherit;
	line-height: 1;
	width: inherit;
}

.mtx-core-icons__native-controls-proxy {
	display: none;
}

.mtx-core-icons__preview svg[fill="none"],
.mtx-core-icons__preview svg [fill="none"],
.mtx-core-icons__preview-svg[fill="none"],
.mtx-core-icons__preview-svg [fill="none"],
.mtx-core-icons__library-item-preview svg[fill="none"],
.mtx-core-icons__library-item-preview svg [fill="none"],
.mtx-core-icons__custom-svg-preview svg[fill="none"],
.mtx-core-icons__custom-svg-preview svg [fill="none"] {
	fill: none !important;
}

.mtx-core-icons__preview svg[stroke="currentColor"],
.mtx-core-icons__preview svg [stroke="currentColor"],
.mtx-core-icons__preview-svg[stroke="currentColor"],
.mtx-core-icons__preview-svg [stroke="currentColor"],
.mtx-core-icons__library-item-preview svg[stroke="currentColor"],
.mtx-core-icons__library-item-preview svg [stroke="currentColor"],
.mtx-core-icons__custom-svg-preview svg[stroke="currentColor"],
.mtx-core-icons__custom-svg-preview svg [stroke="currentColor"] {
	stroke: currentColor !important;
}

.mtx-core-icons__custom-svg-preview {
	align-items: center;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	color: currentColor;
	display: inline-flex;
	justify-content: center;
	margin-top: 8px;
	min-height: 72px;
	min-width: 72px;
	padding: 12px;
}

.mtx-core-icons__custom-svg-preview svg {
	display: block;
	height: 48px;
	max-width: none;
	width: 48px;
}

.mtx-core-icons__library-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
	max-height: 320px;
	margin-top: 8px;
	overflow-y: auto;
	padding-right: 4px;
}

.mtx-core-icons__library-item {
	align-items: center;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	color: #1e1e1e;
	cursor: pointer;
	display: flex;
	justify-content: center;
	min-height: 48px;
	padding: 8px;
	text-align: center;
}

.mtx-core-icons__library-item:hover {
	border-color: #2271b1;
}

.mtx-core-icons__library-item.is-selected {
	border-color: #2271b1;
	box-shadow: inset 0 0 0 1px #2271b1;
}

.mtx-core-icons__library-item-preview {
	align-items: center;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.mtx-core-icons__library-item-preview svg {
	display: block;
	height: 100%;
	max-width: none;
	overflow: visible;
	width: 100%;
}

.mtx-core-icons__library-item-preview.dashicons {
	font-size: 24px;
	height: 24px;
	width: 24px;
}

.mtx-core-icons__library-item-preview.dashicons::before {
	font-size: inherit;
	height: inherit;
	line-height: 1;
	width: inherit;
}

.mtx-core-icons__library-item-label {
	display: none;
}

.mtx-core-icons__loading-state {
	padding: 8px 0;
}
