/* Consent card for Google Analytics (see includes/consent.php). */
.qls-consent {
	position: fixed;
	z-index: 99990;
	left: 24px;
	bottom: 24px;
	width: 340px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	padding: 16px;
	background: #fff;
	color: #15211a;
	border: 1px solid #dde3d9;
	border-radius: 16px;
	box-shadow: 0 14px 40px rgba(21, 33, 26, 0.14);
	font-family: Switzer, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.45;
	text-align: start;
}

.qls-consent[hidden] {
	display: none;
}

.qls-consent__text {
	margin: 0;
	color: #3e4a43;
	font: inherit;
}

.qls-consent__text a {
	color: #194a35;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.qls-consent__buttons {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.qls-consent__button {
	flex: 1 1 0;
	min-height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid #194a35;
	border-radius: 999px;
	background: #fff;
	color: #194a35;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.qls-consent__button--yes {
	background: #194a35;
	color: #fff;
}

.qls-consent__button:hover {
	background: #eef2ea;
	color: #194a35;
}

.qls-consent__button--yes:hover {
	background: #123a29;
	color: #fff;
}

.qls-consent__button:focus-visible,
.qls-consent__text a:focus-visible {
	outline: 2px solid #194a35;
	outline-offset: 2px;
}

/* Phones: full width, above the "Ask QuoteLane" button. */
@media (max-width: 600px) {
	.qls-consent {
		left: 16px;
		right: 16px;
		bottom: 76px;
		width: auto;
		max-width: none;
	}
}
