.dalt-chatbot-shell {
	--dalt-chatbot-widget-background: #ffffff;
	--dalt-chatbot-widget-border: #e2e8f0;
	--dalt-chatbot-widget-text: #0f172a;
	--dalt-chatbot-primary: #0f172a;
	--dalt-chatbot-primary-text: #ffffff;
	--dalt-chatbot-secondary: #d1e9ff;
	--dalt-chatbot-secondary-text: #0f172a;
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
}

.dalt-chatbot-launcher-row {
	display: flex;
	align-items: center;
	gap: 4px ;
	position: relative;
	bottom: 24px;
}

.dalt-chatbot-intro {
	background: #ffffff;
	border: 1px solid var(--dalt-chatbot-widget-border);
	color: #3C3E43;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
	padding: 0.85rem 1rem;
	max-width: 260px;
	position: relative;
	cursor: pointer;
}

.dalt-chatbot-intro br {
	display: block;
}

.dalt-chatbot-intro:empty {
	display: none;
}

@media (max-width: 767px) {
	.dalt-chatbot-intro {
		display: none;
	}
}

.dalt-chatbot-shell[data-dalt-chatbot-active="1"] .dalt-chatbot-launcher {
	opacity: 0;
	pointer-events: none;
}

.dalt-chatbot-shell[data-dalt-chatbot-active="1"] .dalt-chatbot-intro {
	opacity: 0;
	pointer-events: none;
}

.dalt-chatbot-launcher {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--dalt-chatbot-widget-border);
	background: var(--dalt-chatbot-primary);
	color: var(--dalt-chatbot-primary-text);
	font-size: 1.45rem;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.dalt-chatbot-launcher-row {
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.dalt-chatbot-launcher-row:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.dalt-chatbot-launcher:focus-visible {
	outline: 2px solid #bae6fd;
	outline-offset: 2px;
}

.dalt-chatbot-launcher-icon {
	width: 22px;
	height: 16px;
	background: #fff;
	border-radius: 4px;
	display: block;
	position: relative;
}

.dalt-chatbot-shell.dalt-chatbot-has-logo .dalt-chatbot-launcher {
	background: #ffffff;
	color: #0f172a;
}

.dalt-chatbot-shell.dalt-chatbot-has-logo .dalt-chatbot-launcher-icon {
	background: transparent;
}

.dalt-chatbot-shell.dalt-chatbot-has-logo .dalt-chatbot-launcher-icon::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #ffffff;
	background-image: var(--dalt-chatbot-launcher-logo);
	background-size: cover;
	background-position: center;
}

.dalt-chatbot-shell.dalt-chatbot-has-logo .dalt-chatbot-launcher-icon::after {
	display: none;
}

.dalt-chatbot-launcher-icon::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 5px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
}

.dalt-chatbot-widget {
	background: white;
	border-radius: 1rem 1rem 0.75rem 0.75rem;
	border: 1px solid var(--dalt-chatbot-widget-border);
	box-shadow: 0 1.5rem 2.5rem rgba(15, 23, 42, 0.25);
	display: none;
	flex-direction: column;
	width: clamp(424px, 22vw, 460px);
	height: 400px;
	max-height: 80vh;
	margin: 0;
	font-family: "Inter", "Maison Neue", system-ui, sans-serif;
	position: relative;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px) scale(0.95);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.dalt-chatbot-widget--open {
	display: flex;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.dalt-chatbot-widget--open .dalt-chatbot-header,
.dalt-chatbot-widget--open .dalt-chatbot-form,
.dalt-chatbot-widget--open .dalt-chatbot-body {
	pointer-events: auto;
}

.dalt-chatbot-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	position: absolute;
	top: 5px;
	left: 0;
	right: 0;
	z-index: 10;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.00) 100%);
	padding-left: 1rem;
	padding-right: 1rem;
	height: 48px;
	border-radius: 1rem 1rem 0 0;
	pointer-events: none;
}

.dalt-chatbot-header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}

.dalt-chatbot-link {
	color: var(--dalt-chatbot-primary);
	text-align: center;
	font-family: 'Barlow', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	text-decoration: none;
}

.dalt-chatbot-contact-link {
	color: var(#000000);
	background: var(--dalt-chatbot-secondary);
	text-align: center;
	font-family: 'Barlow', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.dalt-chatbot-contact-link:hover,
.dalt-chatbot-contact-link:focus-visible {
	filter: brightness(0.95);
}

.dalt-chatbot-header p {
	color: #475569;
	font-size: 0.95rem;
	margin: 0;
	line-height: 1.4;
}

.dalt-chatbot-close {
	border: 1px solid var(--dalt-chatbot-widget-border);
	background: #f9f8f7;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: opacity 0.2s ease;
	border-radius: 9999px;
}

.dalt-chatbot-close::before,
.dalt-chatbot-close::after {
	content: '';
	position: absolute;
	width: 14px;
	height: 2px;
	background: #000000;
	border-radius: 1px;
}

.dalt-chatbot-close::before {
	transform: rotate(45deg);
}

.dalt-chatbot-close::after {
	transform: rotate(-45deg);
}

.dalt-chatbot-close:hover,
.dalt-chatbot-close:focus-visible {
	opacity: 0.7;
}

.dalt-chatbot-body {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 5.5rem;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 1rem;
	padding-top: 4.5rem;
	padding-bottom: 1rem;
	display: flex;
	flex-direction: column;
	pointer-events: none;
}

.dalt-chatbot-body::-webkit-scrollbar {
	width: 6px;
}

.dalt-chatbot-body::-webkit-scrollbar-track {
	background: transparent;
}

.dalt-chatbot-body::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.dalt-chatbot-body::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.dalt-chatbot-body {
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

.dalt-chatbot-messages {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.dalt-chatbot-message-row {
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 0.75rem;
}

.dalt-chatbot-message-row--typing {
	display: none;
}

.dalt-chatbot-message-row--typing.dalt-chatbot-typing-visible {
	display: flex;
}

.dalt-chatbot-message-row--user {
	justify-content: flex-end;
}

.dalt-chatbot-message {
	padding: 0.5rem 0.75rem;
	border-radius: 0.55rem;
	font-size: 0.95rem;
	line-height: 1.4;
	max-width: 90%;
}

.dalt-chatbot-message p {
	margin: 0;
	line-height: 1.3;
}

.dalt-chatbot-message p + p {
	margin-top: 0.25rem;
}

.dalt-chatbot-message--user {
	background: var(--dalt-chatbot-primary);
}

.dalt-chatbot-message--user p{
	color: var(--dalt-chatbot-primary-text);
}

.dalt-chatbot-message--assistant {
	background: #E7E3DF;
}

.dalt-chatbot-message--assistant p {
	color: #000000;
}

.dalt-chatbot-message-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #ffffff;
	background-image: var(--dalt-chatbot-assistant-logo);
	background-size: 24px 24px;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid rgba(15, 23, 42, 0.1);
	display: block;
	flex-shrink: 0;
}

.dalt-chatbot-message--assistant a,
.dalt-chatbot-message--error a {
	color: #0f172a;
	text-decoration: underline;
}

.dalt-chatbot-message--user a {
	color: var(--dalt-chatbot-primary-text);
	text-decoration: underline;
}

.dalt-chatbot-list {
	font-size: 0.9rem;
	padding: 0;
	color: #000000;
}

.dalt-chatbot-list li {
	margin-bottom: 0 !important;
	margin-left: 1rem;
}

.dalt-chatbot-typing-indicator {
	display: none;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.35rem;
	justify-content: flex-start;
}

.dalt-chatbot-typing-indicator--visible {
	display: flex;
}

.dalt-chatbot-typing-indicator span {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #000000;
	display: inline-flex;
	animation: dalt-chatbot-bounce 0.95s infinite ease-in-out;
}

.dalt-chatbot-typing-indicator span:nth-child(2) {
	animation-delay: 0.15s;
}

.dalt-chatbot-typing-indicator span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes dalt-chatbot-bounce {
	0%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-4px);
	}
}

.dalt-chatbot-message--error {
	background: #fee2e2;
	color: #b91c1c;
	align-self: flex-start;
}

.dalt-chatbot-form {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	padding-right: 8px;
	border-top: 1px solid var(--dalt-chatbot-widget-border);
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	padding-top: 8px;
	background: #f9f8f7;
	pointer-events: none;
}

.dalt-chatbot-form-row {
	display: flex;
	align-items: center;
	position: relative;
}

.dalt-chatbot-suggestions {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
}

.dalt-chatbot-suggestions--hidden {
	display: none;
}

.dalt-chatbot-suggestions-list {
	display: none;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.35rem;
	border-radius: 0.5rem;
}

.dalt-chatbot-suggestions.dalt-chatbot-suggestions--visible .dalt-chatbot-suggestions-list {
	display: flex;
}

.dalt-chatbot-suggestions-toggle {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--Utilities-Accent-01, #1D4459);
	font-family: 'Barlow', sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	text-align: left;
	text-decoration: none;
}

.dalt-chatbot-form input {
	flex: 1;
	border-radius: 8px;
	background-color: #f9f8f7;
	border: 1px solid var(--dalt-chatbot-widget-border);
	padding: 12px 48px 12px 12px;
	color: #000000;
	font-size: 14px;
	font-family: 'Barlow', sans-serif;
	line-height: 20px;
	width: 100%;
}

.dalt-chatbot-form input::placeholder {
	color: #000000 !important;
}

.dalt-chatbot-form input:focus {
	outline: none;
	border-color: var(--dalt-chatbot-primary);
}

.dalt-chatbot-form button {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	color: var(--dalt-chatbot-widget-text);
	padding: 0;
	width: 24px;
	height: 24px;
	cursor: pointer;
	transition: opacity 0.2s ease;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
}

.dalt-chatbot-form button::before {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 2L11 13"/><path d="M22 2L15 22L11 13L2 9L22 2Z"/></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.dalt-chatbot-form button:hover {
	opacity: 0.7;
}

.dalt-chatbot-form button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.dalt-chatbot-suggestion {
	border-radius: 4px;
	border: 1px solid var(--Gray-300, #D0D2D6);
	background: var(--Base-White, #FFF);
	display: flex;
	padding: 6px 8px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	text-align: center;
	color: #000000;
	font-family: 'Barlow', sans-serif;
	font-size: 12px;
	width: fit-content;
	line-height: 20px;
	cursor: pointer;
	text-decoration: none;
}

.dalt-chatbot-sync {
	color: #475569;
	font-size: 0.75rem;
}

.dalt-chatbot-widget::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(120deg, rgba(15, 23, 42, 0.05), transparent);
}

@media (max-width: 768px) {
	.dalt-chatbot-shell {
		right: 1rem;
		left: 1rem;
		bottom: 1rem;
		align-items: stretch;
		gap: 0.5rem;
	}

	.dalt-chatbot-widget {
		width: 100%;
	}

	.dalt-chatbot-launcher {
		position: relative;
		margin-left: auto;
	}
}
