#angie-cb-container-b68cfc24 {
	position: fixed;
	bottom: var(--cb-bottom-offset-b68cfc24, 20px);
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#angie-cb-container-b68cfc24.cb-pos-right {
	right: var(--cb-side-offset-b68cfc24, 20px);
}

#angie-cb-container-b68cfc24.cb-pos-left {
	left: var(--cb-side-offset-b68cfc24, 20px);
}

/* Trigger Bubble */
#angie-cb-trigger-b68cfc24 {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: var(--cb-bubble-bg-b68cfc24, #0284c7);
	color: var(--cb-bubble-icon-b68cfc24, #ffffff);
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

#angie-cb-trigger-b68cfc24:hover {
	transform: scale(1.05);
}

/* Chat Window */
#angie-cb-window-b68cfc24 {
	position: absolute;
	bottom: 75px;
	width: 330px;
	max-height: 480px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.15);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

#angie-cb-container-b68cfc24.cb-pos-right #angie-cb-window-b68cfc24 {
	right: 0;
}

#angie-cb-container-b68cfc24.cb-pos-left #angie-cb-window-b68cfc24 {
	left: 0;
}

/* Header */
.cb-header {
	background: var(--cb-primary-b68cfc24, #0284c7);
	color: var(--cb-text-b68cfc24, #ffffff);
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cb-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: inherit;
}

#angie-cb-close-window-b68cfc24 {
	background: none;
	border: none;
	color: inherit;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}

/* Body */
.cb-body {
	flex: 1;
	padding: 15px;
	overflow-y: auto;
	max-height: 250px;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cb-message {
	display: flex;
	flex-direction: column;
	max-width: 85%;
}

.cb-bot-message {
	align-self: flex-start;
}

.cb-user-message {
	align-self: flex-end;
}

.cb-msg-bubble {
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
}

.cb-bot-message .cb-msg-bubble {
	background: #e2e8f0;
	color: #1e293b;
	border-bottom-left-radius: 2px;
}

.cb-user-message .cb-msg-bubble {
	background: var(--cb-primary-b68cfc24, #0284c7);
	color: var(--cb-text-b68cfc24, #ffffff);
	border-bottom-right-radius: 2px;
}

/* Footer & Actions */
.cb-footer {
	padding: 12px;
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cb-faq-options {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 120px;
	overflow-y: auto;
}

.cb-faq-btn-b68cfc24 {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
	padding: 8px 12px;
	border-radius: 6px;
	text-align: left;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.cb-faq-btn-b68cfc24:hover {
	background: #e2e8f0;
}

.cb-fallback-link {
	display: block;
	text-align: center;
	font-size: 13px;
	color: var(--cb-primary-b68cfc24, #0284c7);
	text-decoration: none;
	font-weight: 500;
	margin-top: 4px;
}

.cb-fallback-link:hover {
	text-decoration: underline;
}

/* Typing Indicator Animation */
.cb-typing-indicator {
	display: flex;
	gap: 4px;
	padding: 4px 8px;
}

.cb-typing-indicator span {
	width: 6px;
	height: 6px;
	background: #94a3b8;
	border-radius: 50%;
	animation: cb-typing 1.4s infinite ease-in-out both;
}

.cb-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.cb-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes cb-typing {
	0%, 80%, 100% { transform: scale(0); }
	40% { transform: scale(1.0); }
}

/* Logged-in WP admin bar handling */
body.admin-bar #angie-cb-container-b68cfc24 {
	/* Avoid overlaps with any potential footer elements or settings */
}
