.aibs-chat-widget {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aibs-chat-toggle {
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 24px;
	padding: 12px 20px;
	cursor: pointer;
	font-size: 14px;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.2 );
}

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

.aibs-chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 12px;
}

.aibs-msg {
	margin-bottom: 8px;
	padding: 8px 12px;
	border-radius: 12px;
	max-width: 80%;
	font-size: 13px;
	line-height: 1.4;
}

.aibs-msg-user {
	background: #2271b1;
	color: #fff;
	margin-left: auto;
}

.aibs-msg-assistant {
	background: #f0f0f1;
	color: #1e1e1e;
}

.aibs-chat-input-row {
	display: flex;
	border-top: 1px solid #dcdcde;
}

.aibs-chat-input-row input {
	flex: 1;
	border: none;
	padding: 10px;
	font-size: 13px;
}

.aibs-chat-input-row button {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 0 16px;
	cursor: pointer;
}

.aibs-chat-inline-panel {
	display: flex;
	flex-direction: column;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	max-width: 480px;
}
