#apc-chat-bubble {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	background: #1e88e5;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(30, 136, 229, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	z-index: 99999;
}

#apc-chat-panel {
	position: fixed;
	bottom: 90px;
	right: 24px;
	width: 340px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	border: 1px solid #e0e0e0;
	display: none;
	flex-direction: column;
	z-index: 99999;
	font-family: "Inter", system-ui, sans-serif;
}

#apc-chat-panel.visible {
	display: flex;
}

#apc-chat-header {
	padding: 16px;
	border-bottom: 1px solid #eee;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

#apc-token-usage {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	font-size: 12px;
	color: #555;
	font-weight: 500;
}

#apc-chat-history {
	height: 280px;
	overflow-y: auto;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.apc-message {
	padding: 10px 14px;
	border-radius: 12px;
	max-width: 86%;
	line-height: 1.4;
}

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

.apc-message.bot {
	align-self: flex-start;
	background: #f5f5f5;
	color: #222;
	border-bottom-left-radius: 4px;
}

#apc-professionals {
	background: #fafafa;
	border-top: 1px solid #eee;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.apc-professional-card {
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
	font-size: 13px;
}

#apc-input-bar {
	display: flex;
	border-top: 1px solid #eee;
}

#apc-input-bar textarea {
	flex: 1;
	border: none;
	padding: 10px 12px;
	resize: none;
	font-family: inherit;
	min-height: 48px;
}

#apc-input-bar textarea:focus {
	outline: none;
}

#apc-send-button {
	border: none;
	background: #1e88e5;
	color: #fff;
	padding: 0 20px;
	cursor: pointer;
	font-weight: 600;
}

#apc-welcome {
	font-size: 12px;
	color: #666;
	padding: 0 16px 12px;
}

