.chat-container {
	width: 100%;
	max-width: 800px;
	height: 40vh;
	max-height: 800px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.chat-header {
	background: linear-gradient(135deg, #2d5a3d, #4a8b5c);
	color: #fff;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.chat-header .avatar {
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.chat-header .info h1 {
	font-size: 16px;
	font-weight: 600;
}

.chat-header .info .status {
	font-size: 12px;
	opacity: 0.85;
	display: flex;
	align-items: center;
	gap: 6px;
}

.chat-header .status::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6eff8a;
}

.chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
	background: #f8faf8;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.message {
	max-width: 80%;
	padding: 10px 14px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 1.5;
	word-wrap: break-word;
	white-space: pre-wrap;
	animation: fadeIn 0.2s ease-in;
}

.message.bot {
	background: #fff;
	color: #333;
	border: 1px solid #e0e7e0;
	border-bottom-left-radius: 4px;
	align-self: flex-start;
}

.message.user {
	background: #2d5a3d;
	color: #fff;
	border-bottom-right-radius: 4px;
	align-self: flex-end;
}

.message strong {
	font-weight: 600;
}

.typing {
	display: flex;
	gap: 4px;
	padding: 14px;
	background: #fff;
	border: 1px solid #e0e7e0;
	border-radius: 16px;
	border-bottom-left-radius: 4px;
	align-self: flex-start;
	width: fit-content;
}

.typing span {
	width: 8px;
	height: 8px;
	background: #aaa;
	border-radius: 50%;
	animation: bounce 1.4s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

.quick-replies {
	padding: 0 20px 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	background: #f8faf8;
}

.quick-reply {
	background: #fff;
	border: 1px solid #2d5a3d;
	color: #2d5a3d;
	padding: 6px 12px;
	border-radius: 16px;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.15s;
}

.quick-reply:hover {
	background: #2d5a3d;
	color: #fff;
}

.chat-input {
	display: flex;
	padding: 12px;
	background: #fff;
	border-top: 1px solid #e0e7e0;
	gap: 8px;
}

.chat-input input {
	flex: 1;
	border: 1px solid #d0d8d0;
	border-radius: 24px;
	padding: 10px 16px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.15s;
}

.chat-input input:focus {
	border-color: #2d5a3d;
}

.chat-input button {
	background: #2d5a3d;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.chat-input button:hover {
	background: #1f3f2a;
}

.chat-input button:disabled {
	background: #aaa;
	cursor: not-allowed;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
	0%, 60%, 100% { transform: translateY(0); }
	30% { transform: translateY(-6px); }
}

/* Scrollbar */
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }