/* Rentifi chat launcher: stands in for the website chat until the visitor asks to chat,
   so no chat script or browser storage loads before then. Brand: dark green #125213,
   logo green #2FCE30. */
.rf-chat-launcher {
	position: fixed;
	right: 1.1rem;
	bottom: 1.1rem;
	z-index: 2147483000;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 20px 0 12px;
	border: 0;
	border-radius: 999px;
	background: #125213;
	color: #fff;
	font-family: var(--display, inherit);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 6px 24px rgba(20, 30, 20, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rf-chat-launcher:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 28px rgba(20, 30, 20, 0.34);
}

.rf-chat-launcher:focus-visible {
	outline: 3px solid #2FCE30;
	outline-offset: 3px;
}

.rf-chat-launcher__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #2FCE30;
	flex: 0 0 auto;
}

.rf-chat-launcher__icon svg {
	width: 16px;
	height: 16px;
}

.rf-chat-launcher[aria-busy="true"] {
	cursor: progress;
	opacity: 0.85;
}

/* Keep the site's "back to top" button clear of the chat button and chat bubble. */
.rentifi-chat-on .to-top {
	bottom: 5.25rem;
}

.rf-chat-fallback {
	position: fixed;
	right: 1.1rem;
	bottom: 5rem;
	z-index: 2147483000;
	max-width: 280px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	color: #1B1B1C;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: 0 6px 24px rgba(20, 30, 20, 0.2);
}

.rf-chat-fallback a {
	color: #125213;
	font-weight: 700;
}

/* Phones: the site has a call-to-action bar fixed at the bottom, so the chat button
   becomes a round icon above it, and "back to top" moves above the chat button. */
@media (max-width: 760px) {
	.rf-chat-launcher {
		right: 0.75rem;
		bottom: calc(5rem + env(safe-area-inset-bottom));
		width: 52px;
		padding: 0;
		justify-content: center;
	}

	.rf-chat-launcher__icon {
		width: 52px;
		height: 52px;
		background: #125213;
	}

	.rf-chat-launcher__icon svg {
		width: 22px;
		height: 22px;
	}

	.rf-chat-launcher__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.rentifi-chat-on .to-top {
		bottom: calc(9.25rem + env(safe-area-inset-bottom));
	}

	.rf-chat-fallback {
		right: 0.75rem;
		left: 0.75rem;
		bottom: calc(9rem + env(safe-area-inset-bottom));
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rf-chat-launcher {
		transition: none;
	}

	.rf-chat-launcher:hover {
		transform: none;
	}
}

@media print {
	.rf-chat-launcher,
	.rf-chat-fallback {
		display: none;
	}
}
