/* M2 GMB Reviewer — palette pulled directly from the M2 Heating & Cooling mark:
   ink black (wordmark), flame orange + ring blue (accents), white ground. */
.m2gr-widget {
	--m2gr-ink: #1a1a1a;
	--m2gr-orange: #f1592a;
	--m2gr-blue: #1e9fd6;
	--m2gr-paper: #ffffff;
	--m2gr-line: #e6e6e6;
	--m2gr-muted: #6b6b6b;

	max-width: 420px;
	margin: 32px auto;
	background: var(--m2gr-paper);
	border: 1px solid var(--m2gr-line);
	border-radius: 6px;
	padding: 36px 32px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--m2gr-ink);
}

/* A thin flame-to-ring gradient bar echoes the logo's two accent colors
   without redrawing the logo itself. */
.m2gr-widget::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--m2gr-orange), var(--m2gr-blue));
}

.m2gr-eyebrow {
	margin: 0 0 6px;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--m2gr-blue);
}

.m2gr-heading {
	margin: 0 0 8px;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	font-size: 21px;
	line-height: 1.3;
	color: var(--m2gr-ink);
}

.m2gr-subtext {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--m2gr-muted);
}

.m2gr-stars {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 14px;
}

.m2gr-star {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	line-height: 0;
	transition: transform 0.15s ease;
}

.m2gr-star svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: #d5d5d5;
	stroke-width: 1.4;
	transition: fill 0.15s ease, stroke 0.15s ease;
}

.m2gr-star:hover {
	transform: translateY(-2px);
}

.m2gr-star.is-hover svg,
.m2gr-star.is-active svg {
	fill: var(--m2gr-orange);
	stroke: var(--m2gr-orange);
}

.m2gr-status {
	min-height: 20px;
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--m2gr-muted);
}

.m2gr-status.is-error {
	color: #c0392b;
}

.m2gr-status.is-success {
	color: var(--m2gr-blue);
}

/* Feedback form (below-threshold ratings) */
.m2gr-form {
	text-align: left;
}

.m2gr-field {
	display: block;
	margin-bottom: 14px;
}

.m2gr-field span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--m2gr-ink);
}

.m2gr-field input,
.m2gr-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--m2gr-line);
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	color: var(--m2gr-ink);
	background: #fafafa;
}

.m2gr-field input:focus,
.m2gr-field textarea:focus {
	outline: 2px solid var(--m2gr-blue);
	outline-offset: 1px;
	background: #fff;
}

.m2gr-submit {
	display: block;
	width: 100%;
	padding: 12px 18px;
	border: none;
	border-radius: 4px;
	background: var(--m2gr-orange);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	cursor: pointer;
	transition: background 0.15s ease;
}

.m2gr-submit:hover {
	background: #d94b1e;
}

.m2gr-submit:disabled {
	background: #e0a488;
	cursor: default;
}

.m2gr-panel--thanks .m2gr-heading {
	color: var(--m2gr-blue);
}

@media (max-width: 480px) {
	.m2gr-widget {
		margin: 20px 16px;
		padding: 28px 22px 24px;
	}

	.m2gr-star svg {
		width: 32px;
		height: 32px;
	}
}
