#ovao-chatbot-launcher,
#ovao-chatbot-panel,
#ovao-chatbot-panel * {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: 0;
}

#ovao-chatbot-launcher {
	position: fixed;
	right: 22px;
	bottom: 80px;
	z-index: 99998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border: 0;
	border-radius: 50%;
	background: #123b4a;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(18, 59, 74, 0.28);
}

#ovao-chatbot-panel {
	position: fixed;
	right: 22px;
	bottom: 80px;
	z-index: 99999;
	display: none;
	flex-direction: column;
	width: 380px;
	max-width: calc(100vw - 28px);
	height: 600px;
	max-height: calc(100vh - 28px);
	overflow: hidden;
	border: 1px solid #c7dce3;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(18, 59, 74, 0.22);
	color: #172126;
}

#ovao-chatbot-panel.ovao-chatbot-open {
	display: flex;
}

#ovao-chatbot-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 12px 14px;
	background: #123b4a;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

#ovao-chatbot-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}

#ovao-chatbot-messages {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-height: 0;
	padding: 14px;
	overflow-y: auto;
	background: #f6fafb;
}

.ovao-chatbot-message {
	max-width: 88%;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
	white-space: pre-wrap;
}

.ovao-chatbot-bot {
	align-self: flex-start;
	border: 1px solid #d8e6eb;
	background: #fff;
	color: #172126;
}

.ovao-chatbot-user {
	align-self: flex-end;
	background: #236477;
	color: #fff;
}

.ovao-chatbot-typing {
	align-self: flex-start;
	padding-left: 4px;
	background: transparent;
	color: #5d6f76;
	font-style: italic;
}

#ovao-chatbot-persistent-actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	padding: 8px;
	border-top: 1px solid #e1edf1;
	background: #fff;
}

#ovao-chatbot-composer {
	padding: 10px;
	border-top: 1px solid #e1edf1;
	background: #fff;
}

.ovao-chatbot-choices,
.ovao-chatbot-actions {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ovao-chatbot-choice,
.ovao-chatbot-secondary,
.ovao-chatbot-send,
.ovao-chatbot-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	width: 100%;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.ovao-chatbot-choice {
	justify-content: flex-start;
	border: 1px solid #c7dce3;
	background: #fff;
	color: #123b4a;
	padding: 9px 11px;
}

.ovao-chatbot-choice:hover {
	border-color: #236477;
	background: #eff7f9;
}

.ovao-chatbot-link-button,
.ovao-chatbot-send {
	border: 0;
	background: #1f7a4d;
	color: #fff !important;
	padding: 9px 11px;
}

#ovao-chatbot-persistent-actions .ovao-chatbot-link-button {
	min-height: 32px;
	padding: 7px 4px;
	font-size: 12px;
	background: #edf7f1;
	color: #165a38 !important;
}

.ovao-chatbot-secondary {
	border: 1px solid #c7dce3;
	background: #fff;
	color: #123b4a;
	padding: 9px 11px;
}

.ovao-chatbot-input-form {
	display: flex;
	gap: 7px;
	align-items: stretch;
}

.ovao-chatbot-input {
	flex: 1;
	min-width: 0;
	border: 1px solid #c7dce3;
	border-radius: 6px;
	padding: 9px 10px;
	font-size: 14px;
	line-height: 1.35;
	resize: none;
}

textarea.ovao-chatbot-input {
	min-height: 76px;
}

.ovao-chatbot-send {
	width: auto;
	min-width: 68px;
}

.ovao-chatbot-empty {
	min-height: 38px;
}

@media (max-width: 520px) {
	#ovao-chatbot-panel {
		right: 10px;
		bottom: 10px;
		width: calc(100vw - 20px);
		height: calc(100vh - 20px);
	}

	#ovao-chatbot-launcher {
		right: 16px;
		bottom: 16px;
	}

	.ovao-chatbot-input-form {
		flex-direction: column;
	}

	.ovao-chatbot-send {
		width: 100%;
	}
}
