.fn-chat {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	font-family: "Nunito", "Segoe UI", sans-serif;
}

.fn-chat-toggle {
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 50%;
	background: #00b29c;
	color: #fff;
	box-shadow: 0 10px 24px rgba(0, 178, 156, 0.35);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.fn-chat-toggle:hover {
	background: #089a87;
}

.fn-chat-panel {
	display: none;
	position: absolute;
	right: 0;
	bottom: 70px;
	width: min(360px, calc(100vw - 28px));
	height: 480px;
	max-height: calc(100vh - 110px);
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(16, 25, 29, 0.18);
	overflow: hidden;
	flex-direction: column;
}

.fn-chat.is-open .fn-chat-panel {
	display: flex;
}

.fn-chat-head {
	background: #00b29c;
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.fn-chat-head strong {
	display: block;
	font-size: 16px;
}

.fn-chat-head span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	opacity: 0.9;
}

.fn-chat-close {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.fn-chat-log {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	background: #f7fafb;
}

.fn-chat-msg {
	max-width: 88%;
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 700;
}

.fn-chat-msg.is-bot {
	background: #fff;
	color: #18252b;
	border: 1px solid #e6eeee;
}

.fn-chat-msg.is-user {
	margin-left: auto;
	background: #00b29c;
	color: #fff;
}

.fn-chat-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: -4px 0 10px;
}

.fn-chat-links a,
.fn-chat-suggestions button {
	display: inline-block;
	border: 1px solid #b7e4dc;
	background: #e9faf5;
	color: #0d5c52;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
}

.fn-chat-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 14px 10px;
	background: #f7fafb;
}

.fn-chat-form {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid #e6eeee;
	background: #fff;
}

.fn-chat-form input {
	flex: 1;
	min-width: 0;
	border: 1px solid #d7e3e1;
	border-radius: 999px;
	padding: 11px 14px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
}

.fn-chat-form button {
	border: 0;
	border-radius: 999px;
	background: #00b29c;
	color: #fff;
	padding: 0 16px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
}

.fn-chat-form button:hover {
	background: #089a87;
}
