/* Highlight marks — editor + front-end */
mark.highlighter-mark {
	background-color: #DFFF00; /* fallback to neon yellow */
	padding: 0.05em 0.15em;
	border-radius: 2px;
}

/* Popover */
.highlighter-popover-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px;
	min-width: 160px;
}

.highlighter-color-button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: none;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.4;
	width: 100%;
	text-align: left;
}

.highlighter-color-button:hover {
	background-color: #f0f0f0;
}

.highlighter-color-button.is-selected {
	border-color: #1e1e1e;
	font-weight: 600;
}

.highlighter-color-swatch {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

.highlighter-color-label {
	flex: 1;
}

.highlighter-remove-button {
	display: block;
	width: 100%;
	padding: 6px 8px;
	margin-top: 4px;
	border: none;
	border-top: 1px solid #e0e0e0;
	background: none;
	cursor: pointer;
	font-size: 13px;
	color: #cc1818;
	text-align: center;
}

.highlighter-remove-button:hover {
	background-color: #fff0f0;
}
