.asc-chatbot {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	--asc-primary: #2563eb;
	--asc-secondary: #f1f5f9;
}

.asc-chat-toggle {
	width: 56px;
	height: 56px;
	border-radius: 9999px;
	background: var(--asc-primary);
	color: #fff;
	border: none;
	box-shadow: 0 10px 20px rgba(0,0,0,.15);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.asc-chat-toggle svg { width: 24px; height: 24px; color: #fff; }

.asc-chat-window {
	position: absolute;
	bottom: 72px;
	right: 0;
	width: 320px;
	max-height: 520px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0,0,0,.18);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.asc-chat-header {
	background: var(--asc-primary);
	color: #fff;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.asc-chat-title {
	font-weight: 600;
}

.asc-chat-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

.asc-chat-messages {
	background: var(--asc-secondary);
	padding: 12px;
	overflow-y: auto;
	flex: 1 1 auto;
}

.asc-message {
	display: flex;
	margin: 8px 0;
}

.asc-message.asc-user { justify-content: flex-end; }
.asc-message.asc-bot { justify-content: flex-start; }

.asc-bubble {
	max-width: 80%;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
	background: #fff;
	color: #111827;
	box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.asc-bot .asc-bubble { background: #fff; }
.asc-user .asc-bubble { background: var(--asc-primary); color: #fff; }

.asc-chat-input {
	display: flex;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid #e5e7eb;
	background: #fff;
}

.asc-chat-input input[type="text"] {
	flex: 1 1 auto;
	border: 1px solid #e5e7eb;
	border-radius: 9999px;
	padding: 10px 12px;
	font-size: 14px;
}

.asc-chat-input button[type="submit"] {
	border: none;
	border-radius: 9999px;
	background: var(--asc-primary);
	color: #fff;
	padding: 10px 14px;
	cursor: pointer;
}

.asc-typing { display: inline-flex; gap: 3px; align-items: center; }
.asc-typing span { width: 6px; height: 6px; background: #9ca3af; border-radius: 9999px; display: inline-block; animation: asc-blink 1s infinite ease-in-out; }
.asc-typing span:nth-child(2) { animation-delay: .15s; }
.asc-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes asc-blink {
	0%, 80%, 100% { opacity: .2; }
	40% { opacity: 1; }
}

