#yac-chatbot-root, #yac-chatbot-root * {
	box-sizing: border-box;
}

.yac-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.yac-container.bottom-left {
	left: 20px;
	right: auto;
	align-items: flex-start;
}

.yac-bubble {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
}

.yac-bubble img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.yac-window {
	width: 340px;
	max-width: 90vw;
	height: 460px;
	max-height: 70vh;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.yac-header {
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.yac-logo {
	width: 24px;
	height: 24px;
	border-radius: 4px;
}

.yac-messages {
	flex: 1;
	overflow-y: auto;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.yac-msg {
	padding: 8px 12px;
	border-radius: 10px;
	max-width: 80%;
	line-height: 1.4;
	font-size: inherit;
}

.yac-msg.bot {
	align-self: flex-start;
	background: #f5f5f5;
}

.yac-msg.visitor {
	align-self: flex-end;
	color: #fff;
}

.yac-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 4px 0;
}

.yac-suggestion-chip {
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 16px;
	padding: 6px 12px;
	font-size: 0.85em;
	cursor: pointer;
}

.yac-enquire-btn {
	font-weight: 600;
}

.yac-contact-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 4px;
}

.yac-contact-form input {
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.yac-contact-form button,
.yac-cf-submit {
	padding: 8px;
	border: none;
	border-radius: 8px;
	background: #333;
	color: #fff;
	cursor: pointer;
}

.yac-input-row {
	display: flex;
	border-top: 1px solid #eee;
	padding: 8px;
	gap: 6px;
}

.yac-input-row input {
	flex: 1;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.yac-send-btn {
	border: none;
	color: #fff;
	border-radius: 8px;
	padding: 0 14px;
	cursor: pointer;
}

.yac-branding {
	text-align: center;
	font-size: 0.7em;
	color: #999;
	padding: 4px;
}
