#jtvet-chatbot {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	font-family: Roboto, Lato, Arial, sans-serif;
}

#jtvet-chatbot-toggle {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: none;
	background: #21cc76;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

#jtvet-chatbot-toggle:hover {
	transform: scale(1.06);
}

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

#jtvet-chatbot[data-visible="true"] #jtvet-chatbot-window {
	display: flex;
}

#jtvet-chatbot-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #21cc76;
	color: #fff;
	padding: 14px 16px;
	line-height: 1.3;
}

#jtvet-chatbot-header-text {
	min-width: 0;
}

#jtvet-chatbot-header strong {
	display: block;
	font-size: 15px;
}

#jtvet-chatbot-header span {
	display: block;
	font-size: 12px;
	opacity: 0.9;
}

#jtvet-chatbot-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
	margin-left: 10px;
	border-radius: 4px;
	flex-shrink: 0;
}

#jtvet-chatbot-close:hover {
	background: rgba(0, 0, 0, 0.15);
}

#jtvet-chatbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	background: #f6f7f9;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#jtvet-chatbot-messages .msg {
	max-width: 82%;
	padding: 9px 12px;
	border-radius: 14px;
	font-size: 13.5px;
	line-height: 1.45;
	white-space: pre-wrap;
	word-wrap: break-word;
}

#jtvet-chatbot-messages .msg.user {
	align-self: flex-end;
	background: #21cc76;
	color: #fff;
	border-bottom-right-radius: 4px;
}

#jtvet-chatbot-messages .msg.bot {
	align-self: flex-start;
	background: #fff;
	color: #333;
	border-bottom-left-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#jtvet-chatbot-messages .msg.typing {
	color: #999;
	font-style: italic;
}

#jtvet-chatbot-form {
	display: flex;
	border-top: 1px solid #e5e5e5;
	background: #fff;
}

#jtvet-chatbot-input {
	flex: 1;
	border: none;
	padding: 13px 14px;
	font-size: 14px;
	outline: none;
}

#jtvet-chatbot-send {
	border: none;
	background: #21cc76;
	color: #fff;
	padding: 0 18px;
	font-size: 14px;
	cursor: pointer;
	font-weight: 600;
}

#jtvet-chatbot-send:disabled {
	opacity: 0.6;
	cursor: default;
}

@media (max-width: 480px) {
	#jtvet-chatbot-window {
		right: 10px;
		bottom: 78px;
		width: calc(100vw - 20px);
		height: 70vh;
	}
	#jtvet-chatbot-toggle {
		right: 10px;
		bottom: 10px;
	}
}
