/* Floating AI gemstone 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%;
	border: 2px solid white;
	background-color: #055916;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#assistant-chat-toggle:hover {
	background-color: #033f0f;
}

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

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

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

#assistant-chat-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

#assistant-chat-close:hover {
	color: #ccc;
}

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

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

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

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

.assistant-chat-form {
	display: flex;
	border-top: 1px solid #ddd;
	padding: 8px;
	background: #fff;
}

.assistant-chat-input {
	flex: 1;
	border: 1px solid #ccc;
	border-radius: 16px;
	padding: 8px 12px;
	font-size: 14px;
	outline: none;
}

.assistant-chat-send {
	margin-left: 8px;
	border: none;
	border-radius: 16px;
	padding: 8px 16px;
	background-color: #055916;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}

.assistant-chat-send:hover {
	background-color: #333;
}
