/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.smart-chat-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #0073aa;
	color: #fff;
	padding: 10px 20px;
	border-radius: 20px;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	font-family: sans-serif;
}

.smart-chat-button .dashicons {
	margin-right: 5px;
}

.smart-chat-window {
	position: fixed;
	bottom: 80px;
	right: 20px;
	width: 300px;
	height: 400px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	z-index: 9999;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	display: flex;
	flex-direction: column;
	font-family: sans-serif;
}

.smart-chat-header {
	background-color: #0073aa;
	color: #fff;
	padding: 10px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.smart-chat-header h3 {
	margin: 0;
	font-size: 16px;
}

#smart-chat-close {
	cursor: pointer;
}

.smart-chat-body {
	flex: 1;
	padding: 10px;
	overflow-y: auto;
	background-color: #f9f9f9;
}

.smart-chat-footer {
	padding: 10px;
	border-top: 1px solid #eee;
	display: flex;
}

#smart-chat-input {
	flex: 1;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-right: 5px;
}

#smart-chat-send {
	background-color: #0073aa;
	color: #fff;
	border: none;
	padding: 5px 10px;
	border-radius: 3px;
	cursor: pointer;
}

.smart-chat-message {
	margin-bottom: 10px;
	padding: 8px 12px;
	border-radius: 10px;
	max-width: 80%;
	font-size: 14px;
	line-height: 1.4;
}

.smart-chat-message.bot {
	background-color: #e1e1e1;
	color: #333;
	align-self: flex-start;
	border-bottom-left-radius: 0;
}

.smart-chat-message.user {
	background-color: #0073aa;
	color: #fff;
	align-self: flex-end;
	margin-left: auto;
	border-bottom-right-radius: 0;
}
