/* Enaviya Meet site chatbot widget */
.em-chat-root { position: fixed; right: 18px; bottom: 18px; z-index: 99990; font-family: "Segoe UI", system-ui, sans-serif; }
.em-chat-fab {
	width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
	background: #3d89e8; color: #fff; box-shadow: 0 8px 24px rgba(61,137,232,.34);
	display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1;
}
.em-chat-fab:hover { background: #2f74d4; }
.em-chat-panel {
	display: none; position: absolute; right: 0; bottom: 68px; width: min(380px, calc(100vw - 24px));
	height: min(560px, calc(100vh - 100px)); background: #fff; border: 1px solid #d7e2f2; border-radius: 16px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, .16); overflow: hidden; flex-direction: column;
}
.em-chat-panel.em-chat-open { display: flex; }
.em-chat-head {
	padding: 14px 16px; background: linear-gradient(135deg, #2a6fc4, #4f94e8); color: #fff;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.em-chat-head h2 { margin: 0; font-size: 16px; font-weight: 650; color: #fff; }
.em-chat-head p { margin: 4px 0 0; font-size: 12px; opacity: .92; line-height: 1.35; color: #fff; }
.em-chat-x { border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 2px; }
.em-chat-msgs { flex: 1; overflow: auto; padding: 14px; background: #f4f7fb; }
.em-chat-bubble {
	max-width: 92%; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45;
	white-space: pre-wrap; word-break: break-word;
}
.em-chat-bot { background: #fff; border: 1px solid #dde7f4; color: #0f172a; border-bottom-left-radius: 4px; }
.em-chat-user { background: #3d89e8; color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.em-chat-sys { background: #eaf2fc; color: #23456e; border: 1px solid #cfe0f5; font-size: 12.5px; }
.em-chat-form { display: none; padding: 12px; border-top: 1px solid #dde7f4; background: #fff; gap: 8px; flex-direction: column; }
.em-chat-form.em-chat-show { display: flex; }
.em-chat-form input, .em-chat-askrow input {
	width: 100%; border: 1px solid #c5d4e8; border-radius: 10px; padding: 10px 12px; font-size: 14px; box-sizing: border-box;
}
.em-chat-form button, .em-chat-askrow button, .em-chat-linkbtn {
	border: 0; border-radius: 10px; background: #3d89e8; color: #fff; padding: 10px 12px; font-weight: 600; cursor: pointer; font-size: 13.5px;
}
.em-chat-form button:hover, .em-chat-askrow button:hover, .em-chat-linkbtn:hover { background: #2f74d4; }
.em-chat-linkbtn { background: #e4eefb; color: #2a6fc4; }
.em-chat-askrow { display: none; padding: 10px; border-top: 1px solid #dde7f4; background: #fff; gap: 8px; }
.em-chat-askrow.em-chat-show { display: flex; }
.em-chat-askrow input { flex: 1; }
.em-chat-askrow button { flex: 0 0 auto; }
.em-chat-busy .em-chat-fab, .em-chat-busy button { opacity: .7; pointer-events: none; }
.em-chat-actions { display: none; padding: 8px 12px 12px; border-top: 1px solid #dde7f4; background: #fff; gap: 8px; }
.em-chat-actions.em-chat-show { display: flex; }
.em-chat-actions button { flex: 1; border: 0; border-radius: 10px; padding: 10px 12px; font-weight: 600; cursor: pointer; font-size: 13.5px; }
.em-chat-confirm { background: #0f9d58; color: #fff; }
.em-chat-confirm:hover { background: #0b7a44; }
.em-chat-cancel { background: #e4ebf5; color: #334155; }
.em-chat-cancel:hover { background: #d2dcec; }
@media (max-width: 480px) {
	.em-chat-root { right: 10px; bottom: 10px; }
	.em-chat-panel { height: min(70vh, 560px); }
}
