#boat-faq-chatbot-root {
	position: fixed;
	bottom: 24px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.boat-faq-position-bottom-right {
	right: 24px;
}

.boat-faq-position-bottom-left {
	left: 24px;
}

.boat-faq-bubble {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: none;
	background: var(--boat-faq-bubble-color, #0073aa);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: width 0.3s ease, height 0.3s ease;
}

.boat-faq-bubble.is-large {
	width: 96px;
	height: 96px;
}

.boat-faq-bubble-icon {
	width: 60%;
	height: 60%;
	display: block;
}

.boat-faq-teaser {
	position: absolute;
	bottom: 108px;
	width: 220px;
	max-width: calc(100vw - 48px);
	background: #fff;
	color: #222;
	padding: 10px 14px;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.boat-faq-teaser[hidden] {
	display: none;
}

.boat-faq-teaser::after {
	content: "";
	position: absolute;
	bottom: -7px;
	width: 14px;
	height: 14px;
	background: #fff;
	transform: rotate(45deg);
}

.boat-faq-position-bottom-right .boat-faq-teaser {
	right: 0;
}

.boat-faq-position-bottom-right .boat-faq-teaser::after {
	right: 32px;
}

.boat-faq-position-bottom-left .boat-faq-teaser {
	left: 0;
}

.boat-faq-position-bottom-left .boat-faq-teaser::after {
	left: 32px;
}

.boat-faq-window {
	position: absolute;
	bottom: 68px;
	width: 320px;
	max-width: 90vw;
	max-height: 480px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.boat-faq-window[hidden] {
	display: none;
}

.boat-faq-position-bottom-right .boat-faq-window {
	right: 0;
}

.boat-faq-position-bottom-left .boat-faq-window {
	left: 0;
}

.boat-faq-header {
	background: var(--boat-faq-bubble-color, #0073aa);
	color: #fff;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
}

.boat-faq-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

.boat-faq-disclaimer {
	font-size: 11px;
	color: #666;
	padding: 6px 16px;
	background: #f5f5f5;
	border-bottom: 1px solid #eee;
}

.boat-faq-messages {
	flex: 1;
	overflow-y: auto;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 180px;
}

.boat-faq-message {
	max-width: 85%;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.boat-faq-message-assistant {
	background: #f0f0f0;
	color: #222;
	align-self: flex-start;
}

.boat-faq-message-assistant a {
	color: var(--boat-faq-bubble-color, #0073aa);
}

.boat-faq-starters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-self: flex-start;
	max-width: 100%;
}

.boat-faq-starter {
	border: 1px solid var(--boat-faq-bubble-color, #0073aa);
	background: #fff;
	color: var(--boat-faq-bubble-color, #0073aa);
	border-radius: 14px;
	padding: 6px 10px;
	font-size: 12px;
	cursor: pointer;
	line-height: 1.3;
}

.boat-faq-starter:hover {
	background: var(--boat-faq-bubble-color, #0073aa);
	color: #fff;
}

.boat-faq-message-user {
	background: var(--boat-faq-bubble-color, #0073aa);
	color: #fff;
	align-self: flex-end;
}

.boat-faq-typing {
	opacity: 0.6;
}

.boat-faq-form {
	display: flex;
	border-top: 1px solid #eee;
}

.boat-faq-input {
	flex: 1;
	border: none;
	padding: 10px 12px;
	font-size: 14px;
	outline: none;
}

.boat-faq-send {
	border: none;
	background: var(--boat-faq-bubble-color, #0073aa);
	color: #fff;
	padding: 0 16px;
	cursor: pointer;
	font-size: 14px;
}

.boat-faq-send:disabled,
.boat-faq-input:disabled {
	opacity: 0.6;
	cursor: default;
}

.boat-faq-contact-links {
	display: flex;
	border-top: 1px solid #eee;
}

.boat-faq-email-link,
.boat-faq-whatsapp-link {
	flex: 1;
	display: block;
	text-align: center;
	font-size: 12px;
	padding: 8px;
	color: var(--boat-faq-bubble-color, #0073aa);
	text-decoration: none;
}

.boat-faq-email-link:hover,
.boat-faq-whatsapp-link:hover {
	text-decoration: underline;
}

.boat-faq-whatsapp-link:not([hidden]) {
	border-left: 1px solid #eee;
}

@media (max-width: 480px) {
	.boat-faq-window {
		width: calc(100vw - 32px);
	}
}
