.dcl-rekbot-root {
	--dcl-orange: #f07d1a;
	--dcl-navy: #1b2430;
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	font-family: 'Exo 2', Arial, sans-serif;
}

.dcl-rekbot-toggle {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: none;
	background: var(--dcl-orange);
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
}

.dcl-rekbot-toggle:hover {
	transform: scale(1.06);
}

.dcl-rekbot-icon-close {
	display: none;
}

.dcl-rekbot-root.is-open .dcl-rekbot-icon-open {
	display: none;
}

.dcl-rekbot-root.is-open .dcl-rekbot-icon-close {
	display: inline;
}

.dcl-rekbot-panel {
	position: absolute;
	bottom: 72px;
	right: 0;
	width: 340px;
	max-width: calc(100vw - 40px);
	height: 460px;
	max-height: calc(100vh - 140px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.dcl-rekbot-header {
	background: var(--dcl-navy);
	color: #fff;
	padding: 14px 16px;
	font-size: 14px;
	letter-spacing: 0.02em;
}

.dcl-rekbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #f7f7f8;
}

.dcl-rekbot-msg {
	max-width: 85%;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.4;
}

.dcl-rekbot-msg.bot {
	align-self: flex-start;
	background: #eef0f2;
	color: var(--dcl-navy);
	border-bottom-left-radius: 2px;
}

.dcl-rekbot-msg.user {
	align-self: flex-end;
	background: var(--dcl-orange);
	color: #fff;
	border-bottom-right-radius: 2px;
}

.dcl-rekbot-msg.bot a {
	color: var(--dcl-orange);
}

.dcl-rekbot-quickreplies {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 14px 10px;
	background: #f7f7f8;
}

.dcl-rekbot-quickreplies:empty {
	display: none;
	padding: 0;
}

.dcl-rekbot-qr-btn {
	border: 1px solid var(--dcl-orange);
	background: #fff;
	color: var(--dcl-orange);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 12.5px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.dcl-rekbot-qr-btn:hover {
	background: var(--dcl-orange);
	color: #fff;
}

.dcl-rekbot-form {
	display: flex;
	border-top: 1px solid #e5e5e5;
}

.dcl-rekbot-form input[type="text"] {
	flex: 1;
	border: none;
	padding: 12px 14px;
	font-size: 13.5px;
	font-family: inherit;
}

.dcl-rekbot-form input[type="text"]:focus {
	outline: none;
}

.dcl-rekbot-form button {
	border: none;
	background: var(--dcl-navy);
	color: #fff;
	width: 48px;
	cursor: pointer;
	font-size: 16px;
}

.dcl-rekbot-form button:hover {
	background: var(--dcl-orange);
}

.dcl-rekbot-typing {
	align-self: flex-start;
	color: #999;
	font-size: 12px;
	font-style: italic;
}

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