/* =========================================================
   chat.php — moderne messenger / app-feeling (esp. mobiel)
   ========================================================= */

:root {
	--chat-ink: #1e1a17;
	--chat-muted: #6a635c;
	--chat-line: #e6e2dc;
	--chat-bg: #ebe8e3;
	--chat-panel: #ffffff;
	--chat-mine: #5cb85c;
	--chat-mine-text: #fff;
	--chat-theirs: #ffffff;
	--chat-theirs-border: #ddd8d1;
	--chat-theirs-text: #2f2a26;
	--chat-accent: #2d8cde;
	--chat-warn-bg: #fff8e8;
	--chat-warn-border: #f0d9a0;
	--chat-warn-text: #6b5420;
	--chat-radius: 1.1rem;
	--chat-nav-offset: 60px;
}

#chat {
	color: var(--chat-muted);
	padding-bottom: 0;
	background: var(--chat-bg);
	min-height: calc(100vh - var(--chat-nav-offset));
}
/* Extra ademruimte onder vaste navigatie (lijst + desktop) */
#chat.identifier {
	padding-top: 72px;
}
body.has-profile-nudge #chat.identifier {
	padding-top: 140px !important;
}
@media (max-width: 767px) {
	body.has-profile-nudge #chat.identifier {
		padding-top: 168px !important;
	}
	/* Gesprek: geen extra marge onder de nav */
	body.chat-thread #chat.identifier,
	#chat.chat-app--thread.identifier {
		padding-top: var(--chat-nav-offset) !important;
	}
	body.has-profile-nudge.chat-thread #chat.identifier,
	body.has-profile-nudge #chat.chat-app--thread.identifier {
		padding-top: calc(var(--chat-nav-offset) + 48px) !important;
	}
}

#chat .chat-app__shell {
	max-width: 720px;
	margin: 0 auto;
	background: var(--chat-panel);
	min-height: calc(100vh - var(--chat-nav-offset));
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

#chat .chat-app__top {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--chat-line);
	background: var(--chat-panel);
	position: relative;
	z-index: 5;
	flex-shrink: 0;
}

#chat .chat-app__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--chat-ink) !important;
	background: var(--chat-bg);
	text-decoration: none !important;
	flex-shrink: 0;
}
#chat .chat-app__back:hover {
	background: var(--chat-line);
}

#chat .chat-app__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--chat-ink);
	line-height: 1.25;
}
#chat .chat-app__title a {
	color: var(--chat-ink) !important;
	text-decoration: none !important;
}
#chat .chat-app__title a:hover {
	color: var(--chat-accent) !important;
}
#chat .chat-app__subtitle {
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--chat-muted);
	margin-top: 0.1rem;
}

#chat .chat-app__report {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: var(--chat-bg);
	color: var(--chat-muted);
	flex-shrink: 0;
	cursor: pointer;
	padding: 0;
}
#chat .chat-app__report:hover,
#chat .chat-app__report:focus {
	color: #b91c1c;
	background: rgba(185, 28, 28, 0.08);
	outline: none;
}
#chat .chat-app__report.is-reported {
	opacity: 0.45;
	pointer-events: none;
}

/* Legacy title/hr hidden — vervangen door chat-app__top */
#chat .chat-title,
#chat > .container-fluid > .container > hr,
#chat .chatProfile {
	display: none !important;
}

#chat hr {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--chat-line);
}

#chat .container.bg-default,
#chat .chat-app__shell.bg-default {
	background: var(--chat-panel) !important;
}

#chat .container:first-child {
	margin: 0;
	padding: 0;
	border-radius: 0;
}

/* Inbox timestamps blijven zichtbaar; thread-timestamps: zie #chatContent regels */
#chat #message-overview .chat-clock {
	font-size: 0.7rem;
	color: var(--chat-muted);
}

.chat .fix-chat-message {
	height: auto;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.92rem;
	color: var(--chat-muted) !important;
}

.move-up {
	display: none !important;
}

.removeConversation {
	position: absolute;
	bottom: auto;
	top: 50%;
	right: 0.35rem;
	transform: translateY(-50%);
	opacity: 0.35;
	transition: opacity 0.15s ease;
}
#chat #message-overview .chat li:hover .removeConversation,
#chat #message-overview .chat li:focus-within .removeConversation {
	opacity: 1;
}
.removeConversation .btn {
	line-height: 1;
	cursor: pointer;
	border: 0;
	padding: 0.55rem;
	border-radius: 50%;
	background: transparent;
	width: 40px;
	height: 40px;
}
.removeConversation .fa-trash {
	color: var(--chat-muted);
}
.removeConversation:hover .btn {
	background: var(--chat-bg);
}

/* ---- Inbox list ---- */
#chat #message-overview {
	flex: 1;
	padding: 0.35rem 0 1.5rem;
}
#chat #message-overview .chat {
	list-style: none;
	margin: 0;
	padding: 0;
}
#chat #message-overview .chat li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.85rem 3rem 0.85rem 1rem;
	border-bottom: 1px solid var(--chat-line);
	background: var(--chat-panel);
	transition: background 0.12s ease;
}
#chat #message-overview .chat li:active {
	background: var(--chat-bg);
}
#chat #message-overview .chat-img {
	position: relative;
	flex-shrink: 0;
	float: none !important;
}
#chat #message-overview .chat li img,
#chat #message-overview .img-circle-chat {
	height: 52px !important;
	width: 52px !important;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}
#chat #message-overview .datic-thumb {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: block;
}
#chat #message-overview .datic-thumb .datic-thumb-img {
	width: 100% !important;
	height: 100% !important;
}
#chat #message-overview .unread-circle {
	position: absolute;
	top: 2px;
	left: 2px;
	z-index: 2;
	font-size: 0.55rem;
}
#chat #message-overview .chat-body {
	flex: 1;
	min-width: 0;
	text-decoration: none !important;
	color: inherit;
}
#chat #message-overview .chat-body .header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.2rem;
	padding-right: 4.5rem; /* ruimte voor tijd + trash */
}
#chat #message-overview .primary-font {
	font-size: 1rem;
	font-weight: 700;
	color: var(--chat-ink);
}
#chat #message-overview .chat-clock {
	position: absolute;
	top: 0.85rem;
	right: 3rem;
	margin: 0;
	font-size: 0.7rem;
}
#chat #message-overview .emptyMessage {
	display: block;
	padding: 2.5rem 1.25rem;
	text-align: center;
	color: var(--chat-muted);
}

/* ---- Thread messages (bubbles) ---- */
#chat #chatMessages {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}
#chat #chatContent {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.15rem 1.25rem;
	background:
		radial-gradient(ellipse 80% 40% at 50% 0%, rgba(92,184,92,0.07), transparent 55%),
		var(--chat-bg);
}
#chat #chatContent .col-xs-12 {
	padding-left: 0;
	padding-right: 0;
}
#chat #chatContent .chat {
	list-style: none;
	margin: 0;
	padding: 0;
	height: auto;
	overflow: visible;
}
#chat #chatContent .chat li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.85rem;
	padding: 0;
	border: 0 !important;
	max-width: 100%;
	clear: both;
	cursor: default;
}
#chat #chatContent .chat li.left {
	justify-content: flex-start;
}
#chat #chatContent .chat li.right {
	flex-direction: row-reverse;
	justify-content: flex-start;
}
#chat #chatContent .chat li.chat-sys-warn {
	justify-content: center;
	margin: 0.35rem 0 1rem;
}
#chat #chatContent .chat li.chat-sys-warn .chat-body {
	max-width: min(92%, 440px);
	width: 100%;
	background: #fff6e5;
	color: #5c4a1f;
	border: 1px solid #e6c97a;
	box-shadow: none;
	padding: 0.75rem 0.95rem !important;
	border-radius: 0.85rem;
	text-align: center;
}
#chat #chatContent .chat li.chat-sys-warn .chat-body p {
	font-size: 0.88rem;
	line-height: 1.4;
	color: inherit !important;
}
#chat #chatContent .chat-img {
	display: none !important;
}
#chat #chatContent .chat-body {
	margin: 0 !important;
	float: none !important;
	max-width: min(78%, 400px);
	width: auto;
	flex: 0 1 auto;
}
#chat #chatContent .chat li.right .chat-body .pull-right {
	float: none !important;
	width: 100%;
}

/* Bubbel op chat-body (betrouwbaarder dan alleen op <p>) */
#chat #chatContent .chat li.left .chat-body {
	background: var(--chat-theirs);
	color: var(--chat-theirs-text);
	border: 1px solid var(--chat-theirs-border);
	box-shadow: 0 1px 3px rgba(30, 26, 23, 0.06);
	padding: 0.7rem 0.95rem !important;
	border-radius: 1.15rem;
	border-bottom-left-radius: 0.35rem;
}
#chat #chatContent .chat li.right .chat-body {
	background: var(--chat-mine);
	color: var(--chat-mine-text);
	border: 1px solid transparent;
	box-shadow: 0 1px 3px rgba(92, 184, 92, 0.25);
	padding: 0.7rem 0.95rem !important;
	border-radius: 1.15rem;
	border-bottom-right-radius: 0.35rem;
}
#chat #chatContent .chat-body .header {
	display: none !important;
}
#chat #chatContent .chat-body p,
#chat #chatContent .chat-body p.pull-right,
#chat #chatContent .chat-body p.fix-chatBox-message,
#chat #chatContent .chat-body p.fix-chatBox-message {
	float: none !important;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 0.98rem;
	line-height: 1.45;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	color: inherit !important;
}
#chat #chatContent .chat-clock,
#chat #chatContent .chat-clock-left {
	position: static;
	width: auto;
	display: block;
	margin: 0;
	padding: 0;
	font-size: 0.7rem;
	line-height: 1.2;
	color: var(--chat-muted);
	white-space: nowrap;
	flex-shrink: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-4px);
	transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
	pointer-events: none;
}
#chat #chatContent .chat li.right .chat-clock-left {
	text-align: right;
	transform: translateX(4px);
}
#chat #chatContent .chat li:hover .chat-clock,
#chat #chatContent .chat li:hover .chat-clock-left,
#chat #chatContent .chat li.is-time-visible .chat-clock,
#chat #chatContent .chat li.is-time-visible .chat-clock-left {
	opacity: 0.9;
	visibility: visible;
	transform: translateX(0);
}
@media (hover: none) {
	/* Touch: alleen via tap (.is-time-visible) */
	#chat #chatContent .chat li:hover .chat-clock,
	#chat #chatContent .chat li:hover .chat-clock-left {
		opacity: 0;
		visibility: hidden;
	}
	#chat #chatContent .chat li.is-time-visible .chat-clock,
	#chat #chatContent .chat li.is-time-visible .chat-clock-left {
		opacity: 0.9;
		visibility: visible;
		transform: translateX(0);
	}
}

/* ---- Safety tip (fake profiles) — onder de verzendbalk ---- */
.chat-safety {
	margin: 0.65rem 0.85rem 0.75rem;
	border: 1px solid var(--chat-warn-border);
	border-radius: 14px;
	background: var(--chat-warn-bg);
	color: var(--chat-warn-text);
	overflow: hidden;
	flex-shrink: 0;
}
.chat-safety summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.65rem 0.85rem;
	font-size: 0.88rem;
	font-weight: 600;
	user-select: none;
}
.chat-safety summary::-webkit-details-marker {
	display: none;
}
.chat-safety summary::before {
	content: "\f071";
	font-family: FontAwesome;
	font-weight: normal;
	font-size: 0.95rem;
	color: #c9952a;
}
.chat-safety summary::after {
	content: "\f107";
	font-family: FontAwesome;
	margin-left: auto;
	opacity: 0.7;
	transition: transform 0.15s ease;
}
.chat-safety[open] summary::after {
	transform: rotate(180deg);
}
.chat-safety__body {
	padding: 0 0.85rem 0.85rem;
	font-size: 0.86rem;
	line-height: 1.45;
}
.chat-safety__body ul {
	margin: 0.4rem 0 0.55rem;
	padding-left: 1.15rem;
}
.chat-safety__body li {
	margin-bottom: 0.2rem;
}
.chat-safety__note {
	margin: 0;
	font-weight: 600;
}

/* ---- Composer ---- */
.chat-composer {
	flex-shrink: 0;
	padding: 0;
	background: transparent;
	border-top: 0;
	box-shadow: none;
}
.chat-composer__dock {
	padding: 0.65rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
	background: var(--chat-panel);
	border-top: 1px solid var(--chat-line);
	box-shadow: 0 -6px 20px rgba(0,0,0,0.04);
}
.chat-composer .form-group {
	margin-bottom: 0.5rem;
}
#chat #chatReply {
	width: 100%;
	min-height: 48px;
	max-height: 140px;
	resize: none;
	border: 1px solid var(--chat-line);
	border-radius: 1.1rem;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.35;
	background: var(--chat-bg);
	color: var(--chat-ink);
	box-shadow: none;
}
#chat #chatReply:focus {
	outline: none;
	border-color: var(--chat-mine);
	background: #fff;
}
#chat #chatReply:disabled {
	opacity: 0.75;
	background: #eee;
}
.chat-composer__input-row {
	display: flex;
	align-items: flex-end;
	gap: 0.45rem;
	margin-bottom: 0.55rem;
}
.chat-composer__input-row .chat-emoji-wrap {
	flex: 0 0 auto;
	margin-bottom: 0.15rem;
}
.chat-composer__input-row #chatReply {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
.chat-composer .cb-emoji-panel {
	left: 0;
	right: auto;
}
.chat-composer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: nowrap;
}
.chat-composer__enter {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--chat-muted);
	cursor: pointer;
	line-height: 1.3;
	max-width: calc(100% - 8rem);
}
.chat-composer__enter input[type="checkbox"] {
	position: static;
	flex-shrink: 0;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	accent-color: var(--chat-mine);
}
.chat-composer__enter span {
	color: var(--chat-muted);
}
#chat .btnSend {
	border: 0;
	border-radius: 999px;
	padding: 0.65rem 1.35rem;
	font-weight: 700;
	background: var(--chat-mine) !important;
	border-color: var(--chat-mine) !important;
	color: #fff !important;
	min-width: 6.5rem;
	flex-shrink: 0;
	margin-left: auto;
}
#chat .btnSend:hover,
#chat .btnSend:focus {
	background: #449d44 !important;
	border-color: #419641 !important;
}

/* Nested containers from legacy markup — zelfde breedte als header/composer */
#chat #chatMessages,
#chat #chatMessages.container,
#chat .chat-app__body.container,
#chat .chat-app__body > .container {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* Bootstrap .row heeft negatieve margins → breder dan header */
#chat #chatContent.row,
#chat #chatContent {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100%;
	max-width: 100%;
}
#chat #chatContent > [class*="col-"] {
	padding-left: 0;
	padding-right: 0;
	width: 100%;
	max-width: 100%;
	flex: none;
}

/* ---- Mobile app shell ---- */
@media (max-width: 767px) {
	body:has(#chat) footer.navbar-fixed-bottom,
	body.chat-page footer.navbar-fixed-bottom,
	body.chat-page footer.datic-site-footer {
		display: none !important;
	}
	body:has(#chat) .wrapper,
	body.chat-page .wrapper {
		padding-bottom: 0 !important;
		min-height: 100% !important;
		height: auto;
	}

	/* Geen Enter-optie op touch */
	#chat .chat-composer__enter {
		display: none !important;
	}

	#chat {
		margin-bottom: 0;
	}
	#chat .chat-app__shell {
		min-height: calc(100vh - var(--chat-nav-offset));
		border-radius: 0;
		box-shadow: none;
	}

	/*
	 * Gespreksvenster: vult het scherm onder de nav.
	 * Geen pagina-scroll; alleen #chatContent scrollt.
	 */
	html:has(body.chat-thread),
	body.chat-thread {
		height: 100%;
		overflow: hidden !important;
		overscroll-behavior: none;
	}
	body.chat-thread .wrapper {
		height: 100% !important;
		min-height: 100% !important;
		overflow: hidden !important;
	}
	#chat.chat-app--thread,
	body.chat-thread #chat {
		height: 100dvh;
		max-height: 100dvh;
		min-height: 0;
		margin: 0;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
	}
	@supports not (height: 100dvh) {
		#chat.chat-app--thread,
		body.chat-thread #chat {
			height: 100vh;
			max-height: 100vh;
		}
	}
	#chat.chat-app--thread > .container-fluid,
	body.chat-thread #chat > .container-fluid {
		flex: 1 1 auto;
		min-height: 0;
		height: 100%;
		padding: 0 !important;
		display: flex;
		flex-direction: column;
	}
	#chat.chat-app--thread .chat-app__shell,
	body.chat-thread #chat .chat-app__shell {
		flex: 1 1 auto;
		min-height: 0;
		height: 100%;
		max-height: none;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		border-radius: 0;
		box-shadow: none;
	}
	#chat.chat-app--thread .chat-app__top {
		flex: 0 0 auto;
	}
	#chat.chat-app--thread #chatMessages,
	body.chat-thread #chatMessages {
		flex: 1 1 auto;
		min-height: 0;
		height: auto;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}
	#chat.chat-app--thread #chatContent,
	body.chat-thread #chatContent {
		flex: 1 1 auto;
		min-height: 0;
		max-height: none !important;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0.75rem 0.85rem 0.85rem;
	}
	#chat.chat-app--thread .chat-composer,
	body.chat-thread .chat-composer {
		flex: 0 0 auto;
		background: var(--chat-panel);
		border-top: 1px solid var(--chat-line);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	#chat.chat-app--thread .chat-composer__dock {
		position: relative;
		z-index: 5;
		flex-shrink: 0;
		padding: 0.55rem 0.75rem 0.65rem;
	}
	/* Tips niet in viewport — voorkomt pagina-scroll */
	#chat.chat-app--thread .chat-safety,
	body.chat-thread .chat-safety {
		display: none !important;
	}

	#chat #message-overview .chat li {
		padding: 0.8rem 2.75rem 0.8rem 0.85rem;
	}
	#chat #message-overview .chat li img {
		height: 48px !important;
		width: 48px !important;
	}
	#chat #message-overview .chat-clock {
		right: 2.75rem;
	}
	#chat #chatContent .chat-body {
		max-width: 88%;
	}
	#chat .btnSend {
		margin-left: auto;
	}
}

@media (min-width: 768px) {
	#chat {
		padding: 0.75rem 0 2rem;
	}
	#chat .chat-app__shell {
		border-radius: 16px;
		/* geen overflow:hidden — dat liet header/menu overlappen */
		min-height: 70vh;
		box-shadow: 0 12px 40px rgba(30, 26, 23, 0.08);
	}
	#chat.chat-app--thread .chat-app__shell {
		min-height: 75vh;
		max-height: calc(100vh - var(--chat-nav-offset) - 2rem);
		display: flex;
		flex-direction: column;
	}
	#chat.chat-app--thread #chatContent {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	#chat #chatContent {
		padding: 1.15rem 1.35rem 1.4rem;
	}
	#chat .chat-composer {
		padding: 0;
	}
	#chat .chat-composer__dock {
		padding: 0.85rem 1.15rem 1rem;
	}
	#chat .chat-safety {
		margin: 0.65rem 1.15rem 1rem;
	}
}

/* IE / geen :has — fallback via body class uit chat.php */
body.chat-page footer.navbar-fixed-bottom,
body.chat-page footer.datic-site-footer {
	display: none !important;
}
@media (min-width: 768px) {
	body.chat-page footer.navbar-fixed-bottom,
	body.chat-page footer.datic-site-footer {
		display: block !important;
	}
}

/* ---- Warm page: bolletjes zichtbaar ---- */
html.warm-page #chat {
	background: transparent;
}
html.warm-page body.chat-page .wrapper,
html.warm-page body:has(#chat) .wrapper {
	background-color: #f3f1ed !important;
	background-image:
		radial-gradient(circle at 12% 10%, rgba(92, 184, 92, 0.22), transparent 38%),
		radial-gradient(circle at 90% 6%, rgba(45, 140, 222, 0.16), transparent 36%),
		radial-gradient(circle at 82% 68%, rgba(92, 184, 92, 0.14), transparent 42%),
		radial-gradient(circle at 14% 78%, rgba(45, 140, 222, 0.12), transparent 40%),
		radial-gradient(rgba(30, 26, 23, 0.11) 1.4px, transparent 1.5px) !important;
	background-size: auto, auto, auto, auto, 20px 20px !important;
	background-attachment: fixed !important;
}
html.warm-page #chat .chat-app__shell,
html.warm-page #chat .chat-app__top {
	background: rgba(255, 255, 255, 0.92);
	border-color: #e6e2dc;
}
html.warm-page #chat #chatContent {
	background:
		radial-gradient(ellipse 80% 40% at 50% 0%, rgba(92,184,92,0.07), transparent 55%),
		transparent;
}

/* Floating toast: bericht uit ander gesprek */
.datic-chat-toast-host {
	position: fixed;
	top: calc(0.65rem + env(safe-area-inset-top, 0px));
	left: 0.75rem;
	right: 0.75rem;
	z-index: 1200;
	pointer-events: none;
	display: flex;
	justify-content: center;
}
.datic-chat-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
	max-width: 420px;
	margin: 0;
	padding: 0.7rem 0.85rem;
	border: 1px solid #e6e2dc;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 12px 32px rgba(30, 26, 23, 0.16);
	text-align: left;
	color: #1e1a17;
	cursor: pointer;
	transform: translateY(-120%);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
	-webkit-tap-highlight-color: transparent;
	font-family: inherit;
}
.datic-chat-toast.is-in {
	transform: translateY(0);
	opacity: 1;
}
.datic-chat-toast.is-out,
.datic-chat-toast.is-out-up {
	transform: translateY(-120%);
	opacity: 0;
}
.datic-chat-toast__photo {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 44px;
	background: #ebe7e1;
}
.datic-chat-toast__photo--empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #8a8278;
}
.datic-chat-toast__body {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
}
.datic-chat-toast__name {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
}
.datic-chat-toast__preview {
	font-size: 0.85rem;
	color: #6a635c;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.datic-chat-toast__hint {
	font-size: 0.68rem;
	color: #a39b92;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex: 0 0 auto;
}

/* Geen floating dock op chat */
@media (max-width: 767px) {
	body.chat-page .datic-mobile-dock,
	body:has(#chat) .datic-mobile-dock {
		display: none !important;
	}
	body.chat-page.has-mobile-dock,
	body:has(#chat).has-mobile-dock {
		padding-bottom: env(safe-area-inset-bottom, 0px) !important;
	}
}
