#crcb-widget-root {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.crcb-teaser {
	position: absolute;
	bottom: 8px;
	right: 76px;
	width: max-content;
	max-width: 260px;
	background: #fff;
	color: #2D2D2D;
	padding: 12px 30px 12px 14px;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
	animation: crcb-teaser-in 0.25s ease-out;
}

.crcb-teaser::after {
	content: '';
	position: absolute;
	right: -6px;
	bottom: 18px;
	width: 12px;
	height: 12px;
	background: #fff;
	transform: rotate(45deg);
	box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.04);
}

.crcb-teaser-close {
	position: absolute;
	top: 6px;
	right: 8px;
	background: none;
	border: none;
	font-size: 16px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 2px 4px;
}

.crcb-teaser-close:hover {
	color: #555;
}

@keyframes crcb-teaser-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
	.crcb-teaser {
		right: 68px;
		max-width: min(260px, calc(100vw - 100px));
	}
}

.crcb-launcher {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: none;
	background-color: #fff;
	background-image: url('https://recesspartywithprince.club/wp-content/uploads/2026/08/Malith_AB_Logo-07-removebg-preview-e1787523661284.png');
	background-size: 145%;
	background-position: center 42%;
	background-repeat: no-repeat;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px #2A9D8F;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.crcb-launcher:hover {
	transform: scale(1.08);
}

.crcb-panel {
	display: none;
	position: absolute;
	bottom: 70px;
	right: 0;
	width: 320px;
	max-width: calc(100vw - 40px);
	height: 420px;
	max-height: 70vh;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	flex-direction: column;
	overflow: hidden;
}

.crcb-panel.crcb-open {
	display: flex;
}

.crcb-header {
	background: #F4A261;
	color: #fff;
	padding: 12px 16px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.crcb-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

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

.crcb-msg {
	max-width: 80%;
	padding: 8px 12px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.4;
	word-wrap: break-word;
}

.crcb-msg-bot {
	background: #E9F5F3;
	color: #1E5B54;
	align-self: flex-start;
	border-bottom-left-radius: 4px;
}

.crcb-msg-user {
	background: #2A9D8F;
	color: #fff;
	align-self: flex-end;
	border-bottom-right-radius: 4px;
}

.crcb-input-row {
	display: flex;
	gap: 6px;
	padding: 10px;
	border-top: 1px solid #eee;
	align-items: flex-end;
}

.crcb-input {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 14px;
	resize: none;
	font-family: inherit;
}

.crcb-input:focus {
	outline: none;
	border-color: #2A9D8F;
}

.crcb-send {
	background: #2A9D8F;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.crcb-send:hover {
	background: #23857A;
}

.crcb-lead-note {
	align-self: center;
	background: #FFF3E0;
	color: #8A5A1F;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 10px;
	text-align: center;
}

.crcb-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

@media (max-width: 480px) {
	.crcb-panel {
		width: calc(100vw - 24px);
		right: -8px;
	}
}
