.spell-checker-dialog {
	background: #ecece3;
	width: 320px;
	padding: 20px 15px;
	border-radius: 5px;
	font-size: var(--wp--preset--font-size--x-small);
	z-index: 99999;
	border: 1px solid #dadacf;
}

.spell-checker-dialog .dialog-title {
	display: block;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 10px;
}

.spell-checker-dialog .spell-checker-replacement {
	margin-bottom: 10px;
	line-height: 1;
}

.spell-checker-dialog .spell-checker-replacement .spell-checker-existing {
	text-decoration: line-through;
	color: red;
}

.spell-checker-dialog .spell-checker-replacement .spell-checker-new {
	display: inline-block;
	margin-left: 10px;
}

.spell-checker-dialog .spell-checker-other-replacements {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.spell-checker-dialog .spell-checker-other-replacements .spell-checker-other-replacement {
	font-size: 14px;
	padding: 7px 12px;
	line-height: 1;
	border-radius: 5px;
	cursor: pointer;
	background: black;
	color: white;
}

.spell-checker-input {
	background: white;
	border: 1px solid;
	border-radius: 5px;
	padding: 0.5em 1em;
	font-size: inherit;
	line-height: 1.25;
	min-height: 37.58px;
}

.spell-checker-incorrect {
	text-decoration: underline;
	text-decoration-color: red;
	text-decoration-line: 3px;
	text-decoration-style: dashed;
	text-underline-offset: 4px;
	cursor: pointer;
}

.spell-checker-input:focus,
.spell-checker-input:focus-visible {
	outline: 1px solid black !important;
}

/* Placeholder Capability for spell checker inputs */
.spell-checker-input:empty:before {
	content: attr(placeholder);
	pointer-events: none;
	display: block; /* For Firefox */
}
