/* Office Ulm Chat – Farben und Chat-Button. Farben aus dem Elementor-Kit von office-ulm.de. */

/*
 * Das Widget definiert seine Variablen auf :root und leitet dort weitere ab
 * (Header, Button, Sprechblasen). Deshalb hier ebenfalls auf :root, mit höherer
 * Spezifität, damit es unabhängig von der Ladereihenfolge gewinnt.
 */
html:root {
	--chat--color--primary: #ab936b;
	--chat--color--primary-shade-50: #9c8560;
	--chat--color--primary--shade-100: #8c7756;
	--chat--color--secondary: #ab936b;
	--chat--color-dark: #32373c;
	--chat--font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
	--chat--heading--font-size: 1.25rem;
}

/* Abstände der Theme-Überschriften im Chat-Header neutralisieren. */
#ou-chat .chat-header h1,
#ou-chat .chat-header p {
	margin: 0;
	line-height: 1.3;
}

/* Platzhalter-Button: sieht aus wie der Button des n8n-Widgets und wird nach dem Laden durch diesen ersetzt. */
#ou-chat-launcher {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--chat--color--primary);
	color: #fff;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}

#ou-chat-launcher:hover,
#ou-chat-launcher:focus-visible {
	background: var(--chat--color--primary-shade-50);
	color: #fff;
	transform: scale(1.05);
}

#ou-chat-launcher.is-loading {
	cursor: progress;
	opacity: 0.7;
}
