.company-ai-chatbot-widget {
	position: fixed;
	z-index: 99999;
	bottom: 24px;
	right: 24px;
	font-family: Arial, sans-serif;
}

.company-ai-chatbot-widget--bottom-left {
	right: auto;
	left: 24px;
}

.company-ai-chatbot-toggle {
	border: 0;
	border-radius: 999px;
	padding: 14px 16px;
	cursor: pointer;
	background: #2563eb;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.company-ai-chatbot-window {
	display: none;
	width: min(360px, calc(100vw - 32px));
	margin-bottom: 12px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.company-ai-chatbot-widget.is-open .company-ai-chatbot-window {
	display: block;
}

.company-ai-chatbot-window__header {
	padding: 16px;
	background: #1d4ed8;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.company-ai-chatbot-window__header p {
	margin: 4px 0 0;
	font-size: 13px;
	opacity: 0.9;
}

.company-ai-chatbot-window__close {
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.company-ai-chatbot-window__body {
	padding: 16px;
	max-height: 320px;
	overflow: auto;
	background: #f8fafc;
}

.company-ai-chatbot-message {
	padding: 10px 12px;
	border-radius: 12px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.company-ai-chatbot-message--bot {
	background: #e0f2fe;
	color: #0f172a;
}

.company-ai-chatbot-window__footer {
	padding: 12px;
	border-top: 1px solid #e2e8f0;
}

.company-ai-chatbot-form {
	display: flex;
	gap: 8px;
}

.company-ai-chatbot-form__input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
}

.company-ai-chatbot-form__button {
	border: 0;
	border-radius: 999px;
	background: #2563eb;
	color: #fff;
	padding: 10px 14px;
	cursor: pointer;
}

.company-ai-chatbot-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.company-ai-chatbot-actions a {
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
}

@media (max-width: 768px) {
	.company-ai-chatbot-widget {
		bottom: 16px;
		right: 16px;
	}

	.company-ai-chatbot-widget--bottom-left {
		left: 16px;
	}
}
