#acs-chatbot-root {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.acs-chatbot-bubble {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #2e7d32;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	border: none;
	font-size: 26px;
}

.acs-chatbot-bubble:hover {
	background: #256428;
}

.acs-chatbot-panel {
	display: none;
	flex-direction: column;
	position: fixed;
	bottom: 92px;
	right: 20px;
	width: 340px;
	max-width: calc(100vw - 40px);
	height: 460px;
	max-height: calc(100vh - 140px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.acs-chatbot-panel.acs-chatbot-open {
	display: flex;
}

.acs-chatbot-header {
	background: #2e7d32;
	color: #fff;
	padding: 12px 16px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.acs-chatbot-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}

.acs-chatbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 12px;
	background: #f5f6f7;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.acs-chatbot-msg {
	max-width: 85%;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.4;
	white-space: pre-wrap;
}

.acs-chatbot-msg-user {
	align-self: flex-end;
	background: #2e7d32;
	color: #fff;
	border-bottom-right-radius: 2px;
}

.acs-chatbot-msg-assistant {
	align-self: flex-start;
	background: #fff;
	color: #222;
	border: 1px solid #e0e0e0;
	border-bottom-left-radius: 2px;
}

.acs-chatbot-msg-error {
	align-self: flex-start;
	background: #fdecea;
	color: #611a15;
	border: 1px solid #f5c6cb;
}

.acs-chatbot-typing {
	align-self: flex-start;
	font-size: 13px;
	color: #777;
	font-style: italic;
}

.acs-chatbot-form {
	display: flex;
	border-top: 1px solid #e0e0e0;
	padding: 8px;
	gap: 8px;
}

.acs-chatbot-input {
	flex: 1;
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 8px 14px;
	font-size: 14px;
	resize: none;
}

.acs-chatbot-send {
	background: #2e7d32;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 0 16px;
	cursor: pointer;
	font-size: 14px;
}

.acs-chatbot-send:disabled {
	opacity: 0.6;
	cursor: default;
}
