/* LawTip Honest Ratings — עיצוב בצבעי המותג (navy + זהב) */

.hsr-widget {
	direction: rtl;
	text-align: center;
	margin: 28px auto;
	padding: 20px 16px;
	max-width: 420px;
	border: 1px solid rgba(10, 26, 47, 0.12);
	border-radius: 12px;
	background: #fdfcf9;
	font-family: inherit;
}

.hsr-question {
	font-size: 15px;
	font-weight: 600;
	color: #0A1A2F;
	margin-bottom: 10px;
}

.hsr-stars {
	position: relative;
	display: inline-block;
	font-size: 32px;
	line-height: 1;
	letter-spacing: 4px;
	user-select: none;
	-webkit-user-select: none;
}

.hsr-stars-bg {
	color: #d8d5cd;
}

.hsr-stars-fill {
	position: absolute;
	top: 0;
	right: 0; /* RTL: המילוי מתחיל מימין */
	overflow: hidden;
	white-space: nowrap;
	color: #C9A24B;
	transition: width 0.15s ease;
	pointer-events: none;
}

.hsr-stars-fill.hsr-hover {
	color: #E6C879;
}

.hsr-hit-areas {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: row-reverse; /* RTL: כוכב 1 מימין */
}

.hsr-hit {
	flex: 1;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	appearance: none;
}

.hsr-hit:focus-visible {
	outline: 2px solid #C9A24B;
	outline-offset: 2px;
	border-radius: 4px;
}

.hsr-meta {
	margin-top: 8px;
	font-size: 14px;
	color: #4a5568;
}

.hsr-avg {
	font-weight: 700;
	color: #0A1A2F;
}

.hsr-sep {
	margin: 0 6px;
	color: #a0aec0;
}

.hsr-empty {
	color: #718096;
}

.hsr-msg {
	min-height: 20px;
	margin-top: 6px;
	font-size: 13px;
	color: #2f6f4f;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.hsr-msg.hsr-msg-show {
	opacity: 1;
}

.hsr-msg.hsr-msg-error {
	color: #b32d2e;
}

.hsr-busy .hsr-hit {
	cursor: wait;
}

.hsr-voted .hsr-stars-fill {
	color: #C9A24B;
}

/* תווית מצב הדגמה — חייבת להיות בולטת וגלויה (דרישת שקיפות) */
.hsr-demo-label {
	margin-top: 10px;
	display: inline-block;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	border-radius: 999px;
}

@media (max-width: 480px) {
	.hsr-stars {
		font-size: 38px; /* אזורי מגע גדולים יותר במובייל */
	}
}
