/* VMSEO rating box — fixed geometry, so it never shifts layout; no web fonts, no images. */
.vmseo-rating {
	--vmseo-rating-on: #f5a623;
	--vmseo-rating-off: #d7d7d7;
	margin: 1.75em auto;
	padding: 14px 18px;
	max-width: 420px;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	background: #fafafa;
	text-align: center;
	font-size: 15px;
	line-height: 1.4;
}

.vmseo-rating__stars {
	position: relative;
	display: inline-block;
	vertical-align: -2px;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 2px;
	color: var(--vmseo-rating-off);
}

.vmseo-rating__stars::before {
	content: "\2605\2605\2605\2605\2605";
}

.vmseo-rating__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--vmseo-rating-on);
}

.vmseo-rating__fill::before {
	content: "\2605\2605\2605\2605\2605";
}

.vmseo-rating__vote {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eee;
}

.vmseo-rating__cta {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	color: #555;
}

.vmseo-rating__star {
	min-width: 40px;
	min-height: 40px;
	padding: 0 4px;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	color: var(--vmseo-rating-off);
	transition: color 0.15s ease;
}

.vmseo-rating__star:focus-visible {
	outline: 2px solid var(--vmseo-rating-on);
	outline-offset: 2px;
}

/* Hover preview: the hovered star and every star before it. */
.vmseo-rating__vote:hover .vmseo-rating__star { color: var(--vmseo-rating-on); }
.vmseo-rating__vote .vmseo-rating__star:hover ~ .vmseo-rating__star { color: var(--vmseo-rating-off); }

.vmseo-rating.is-done .vmseo-rating__vote { opacity: 0.55; pointer-events: none; }

.vmseo-rating__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
}

.vmseo-rating__msg {
	min-height: 1.4em; /* reserved: the message never pushes content down */
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 600;
}

.vmseo-rating__msg.is-error { color: #c0392b; }
.vmseo-rating__msg.is-ok { color: #2e7d32; }

.vmseo-rating.is-empty .vmseo-rating__has,
.vmseo-rating:not(.is-empty) .vmseo-rating__none { display: none; }
