#mm-ai-chat-root {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mm-chat-hidden {
	display: none !important;
}

.mm-chat-bubble {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	background: #1a1a2e;
	color: #fff;
	font-size: 26px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.mm-chat-bubble:hover {
	opacity: 0.9;
}

.mm-chat-panel {
	width: 340px;
	max-width: calc(100vw - 40px);
	height: 480px;
	max-height: calc(100vh - 100px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.mm-chat-header {
	background: #1a1a2e;
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
}

.mm-chat-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

.mm-chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	background: #f7f7fa;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mm-chat-row {
	display: flex;
}

.mm-chat-row-user {
	justify-content: flex-end;
}

.mm-chat-row-assistant {
	justify-content: flex-start;
}

.mm-chat-bubble-msg {
	max-width: 80%;
	padding: 9px 13px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.4;
	white-space: pre-wrap;
	word-break: break-word;
}

.mm-chat-row-user .mm-chat-bubble-msg {
	background: #1a1a2e;
	color: #fff;
	border-bottom-right-radius: 4px;
}

.mm-chat-row-assistant .mm-chat-bubble-msg {
	background: #fff;
	color: #1a1a2e;
	border: 1px solid #e2e2e8;
	border-bottom-left-radius: 4px;
}

.mm-chat-bubble-msg.mm-chat-error {
	background: #fdeaea;
	border-color: #f3c6c6;
	color: #7a1f1f;
}

.mm-chat-booking-link {
	display: inline-block;
	margin-top: 2px;
	padding: 8px 14px;
	background: #1a1a2e;
	color: #fff !important;
	border-radius: 8px;
	font-size: 13px;
	text-decoration: none;
	font-weight: 600;
}

.mm-chat-form {
	display: flex;
	border-top: 1px solid #e2e2e8;
	padding: 10px;
	gap: 8px;
}

.mm-chat-input {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
}

.mm-chat-input:focus {
	outline: none;
	border-color: #1a1a2e;
}

.mm-chat-send {
	background: #1a1a2e;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0 16px;
	font-size: 14px;
	cursor: pointer;
	font-weight: 600;
}

.mm-chat-send:disabled {
	opacity: 0.6;
	cursor: default;
}

@media (max-width: 480px) {
	#mm-ai-chat-root {
		bottom: 10px;
		right: 10px;
	}
	.mm-chat-panel {
		width: calc(100vw - 20px);
	}
}
