/* Floating AI chat search assistant widget */
#assistant-chat-widget {
	position: fixed;
	right: 20px;
	bottom: 80px;
	z-index: 9999;
	font-family: Arial, Helvetica, sans-serif;
}

#assistant-chat-toggle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #113c66;
	color: #fff;
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#assistant-chat-toggle:hover {
	background-color: #0d2c4d;
}

.assistant-chat-panel {
	display: none;
	position: absolute;
	right: 0;
	bottom: 70px;
	width: 320px;
	height: 420px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	flex-direction: column;
}

.assistant-chat-panel.open {
	display: flex;
}

.assistant-chat-header {
	background-color: #113c66;
	color: #fff;
	padding: 12px 16px;
	font-weight: bold;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#assistant-chat-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin-left: 12px;
}

#assistant-chat-close:hover {
	opacity: 0.75;
}

.assistant-chat-messages {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 12px;
	background: #f7f7f7;
}

.assistant-chat-message {
	margin-bottom: 10px;
	max-width: 85%;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.4;
	word-wrap: break-word;
}

.assistant-msg-user {
	background-color: #113c66;
	color: #fff;
	margin-left: auto;
	border-bottom-right-radius: 2px;
}

.assistant-msg-bot {
	background-color: #e6e6e6;
	color: #222;
	margin-right: auto;
	border-bottom-left-radius: 2px;
}

.assistant-chat-form {
	flex: 0 0 auto;
	display: flex;
	border-top: 1px solid #ddd;
}

.assistant-chat-form input[type="text"] {
	flex: 1 1 auto;
	border: none;
	padding: 10px 12px;
	font-size: 13px;
	outline: none;
}

.assistant-chat-form button {
	flex: 0 0 auto;
	background-color: #113c66;
	color: #fff;
	border: none;
	padding: 0 16px;
	cursor: pointer;
}

.assistant-chat-form button:hover {
	background-color: #0d2c4d;
}
