/* Smile More Review Popups — frontend toast styles */

.smrp-toast {
	position: fixed;
	z-index: 99990;
	width: 330px;
	max-width: calc(100vw - 32px);
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.20);
	padding: 14px 40px 14px 14px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.45s ease, transform 0.45s ease;
	pointer-events: none;
}

.smrp-toast.smrp-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.smrp-bottom-left { left: 16px; bottom: 16px; }
.smrp-bottom-right { right: 16px; bottom: 16px; }

.smrp-g {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f1f3f4;
	display: flex;
	align-items: center;
	justify-content: center;
}

.smrp-g svg { width: 20px; height: 20px; display: block; }

.smrp-body { flex: 1 1 auto; min-width: 0; }

.smrp-name {
	font-size: 13px;
	font-weight: 600;
	color: #202124;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.smrp-stars { margin: 2px 0 4px; line-height: 1; }
.smrp-stars svg { width: 14px; height: 14px; display: inline-block; }

.smrp-text {
	font-size: 13px;
	line-height: 1.45;
	color: #5f6368;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.smrp-via {
	margin-top: 6px;
	font-size: 11px;
	color: #9aa0a6;
	display: flex;
	align-items: center;
	gap: 4px;
}

.smrp-via svg { width: 14px; height: 14px; flex: none; }

.smrp-close {
	position: absolute;
	top: 6px;
	right: 8px;
	border: 0;
	background: transparent;
	color: #9aa0a6;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

.smrp-close:hover { color: #202124; }

@media (max-width: 480px) {
	.smrp-toast {
		width: calc(100vw - 32px);
	}
	.smrp-toast.smrp-hide-mobile { display: none; }
}

/* Popup size variants (setting: Review Popups > Popup size) */
.smrp-toast.smrp-size-small { width: 260px; padding: 10px 34px 10px 10px; }
.smrp-toast.smrp-size-small .smrp-name { font-size: 12px; }
.smrp-toast.smrp-size-small .smrp-text { font-size: 12px; -webkit-line-clamp: 2; }
.smrp-toast.smrp-size-small .smrp-g { flex-basis: 28px; width: 28px; height: 28px; }
.smrp-toast.smrp-size-large { width: 400px; padding: 18px 44px 18px 18px; }
.smrp-toast.smrp-size-large .smrp-name { font-size: 14px; }
.smrp-toast.smrp-size-large .smrp-text { font-size: 14px; -webkit-line-clamp: 4; }
/* medium = default 330px styles above */
