/* Moerverhuur Chatbot, huisstijl blauw #1E3F7C en groen #43A838 */

.mv-cb {
	--mv-blauw: #1e3f7c;
	--mv-groen: #43a838;
	--mv-rand: #d6ddeb;
	--mv-tekst: #22314f;
	font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.mv-cb__bubbel {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99998;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--mv-blauw);
	color: #fff;
	font: 700 15px/1 inherit;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(30, 63, 124, .3);
}

.mv-cb__bubbel:hover { background: #17325f; }
.mv-cb__bubbel-icoon { font-size: 18px; }

.mv-cb__paneel {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	width: 380px;
	max-width: calc(100vw - 32px);
	height: 560px;
	max-height: calc(100vh - 40px);
	overflow: hidden;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 14px 44px rgba(30, 63, 124, .26);
}

.mv-cb__kop {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: var(--mv-blauw);
	color: #fff;
}

.mv-cb__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 50%;
	background: var(--mv-groen);
	font-weight: 800;
}

.mv-cb__titel { font-weight: 800; font-size: 15px; line-height: 1.2; }
.mv-cb__titel small { display: block; font-weight: 400; font-size: 12px; opacity: .85; }

.mv-cb__sluit {
	margin-left: auto;
	border: 0;
	background: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
}
.mv-cb__sluit:hover { opacity: 1; }

.mv-cb__stroom {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	background: #f7f9fd;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mv-cb__bericht {
	max-width: 86%;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--mv-tekst);
	background: #fff;
	border-radius: 14px 14px 14px 4px;
	box-shadow: 0 1px 4px rgba(30, 63, 124, .08);
	align-self: flex-start;
	overflow-wrap: break-word;
}

.mv-cb__bericht--klant {
	align-self: flex-end;
	background: var(--mv-blauw);
	color: #fff;
	border-radius: 14px 14px 4px 14px;
	box-shadow: none;
}

.mv-cb__bericht a { color: var(--mv-groen); font-weight: 700; }
.mv-cb__bericht--klant a { color: #fff; }

.mv-cb__wacht { display: flex; gap: 5px; padding: 14px 16px; }
.mv-cb__wacht span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mv-groen);
	animation: mv-cb-pols 1.1s infinite ease-in-out;
}
.mv-cb__wacht span:nth-child(2) { animation-delay: .18s; }
.mv-cb__wacht span:nth-child(3) { animation-delay: .36s; }

@keyframes mv-cb-pols {
	0%, 100% { opacity: .3; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-3px); }
}

.mv-cb__suggesties { display: flex; flex-direction: column; gap: 8px; }
.mv-cb__suggesties button {
	padding: 10px 13px;
	text-align: left;
	background: #fff;
	border: 1px solid var(--mv-rand);
	border-radius: 10px;
	font: 600 13px/1.4 inherit;
	color: var(--mv-blauw);
	cursor: pointer;
}
.mv-cb__suggesties button:hover { border-color: var(--mv-groen); }

.mv-cb__escalatie {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 12px;
	background: #eef4ec;
	border-top: 1px solid #d8e6d4;
}

.mv-cb__wa {
	padding: 9px 14px;
	border-radius: 8px;
	background: var(--mv-groen);
	color: #fff !important;
	font: 700 13px/1 inherit;
	text-decoration: none;
}

.mv-cb__terug {
	padding: 9px 12px;
	border: 1px solid var(--mv-groen);
	border-radius: 8px;
	background: #fff;
	color: var(--mv-blauw);
	font: 600 13px/1 inherit;
	cursor: pointer;
}

.mv-cb__terugform { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.mv-cb__terugform input {
	flex: 1 1 120px;
	min-width: 0;
	padding: 9px 11px;
	border: 1px solid var(--mv-rand);
	border-radius: 8px;
	font: 400 13px/1.3 inherit;
}
.mv-cb__verstuur-terug {
	padding: 9px 14px;
	border: 0;
	border-radius: 8px;
	background: var(--mv-groen);
	color: #fff;
	font: 700 13px/1 inherit;
	cursor: pointer;
}
.mv-cb__geenwa {
	margin: 0;
	flex: 1 1 100%;
	font-size: 12.5px;
	color: var(--mv-tekst);
}
.mv-cb__geenwa a { color: var(--mv-blauw); font-weight: 700; }

.mv-cb__bedankt { margin: 0; font-size: 13px; color: var(--mv-tekst); }

.mv-cb__invoer {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid #e4e9f2;
	background: #fff;
}

.mv-cb__invoer input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--mv-rand);
	border-radius: 10px;
	font: 400 14px/1.3 inherit;
	color: var(--mv-tekst);
}
.mv-cb__invoer input:focus { outline: 2px solid var(--mv-groen); outline-offset: -1px; }

.mv-cb__invoer button {
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--mv-groen);
	color: #fff;
	font: 800 14px/1 inherit;
	cursor: pointer;
}

.mv-cb__voet {
	margin: 0;
	padding: 0 12px 10px;
	background: #fff;
	color: #93a0b8;
	font-size: 10.5px;
	text-align: center;
}

@media (max-width: 480px) {
	.mv-cb__paneel {
		right: 8px;
		bottom: 8px;
		width: calc(100vw - 16px);
		height: calc(100vh - 24px);
		border-radius: 12px;
	}
	.mv-cb__bubbel { right: 14px; bottom: 14px; }
	.mv-cb__bubbel-tekst { display: none; }
}
