.occ-chat {
	bottom: 18px;
	position: fixed;
	right: 18px;
	z-index: 9999;
}

.occ-chat__button {
	background: #111827;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 26px rgba(17, 24, 39, 0.22);
	color: #fff;
	cursor: pointer;
	font: 700 14px/1.2 Arial, sans-serif;
	padding: 12px 16px;
}

.occ-chat__panel {
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.14);
	border-radius: 10px;
	bottom: 54px;
	box-shadow: 0 18px 46px rgba(17, 24, 39, 0.22);
	position: absolute;
	right: 0;
	width: min(340px, calc(100vw - 24px));
}

.occ-chat__header {
	align-items: center;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	padding: 12px;
}

.occ-chat__header button {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 22px;
}

.occ-chat__messages {
	max-height: 260px;
	overflow: auto;
	padding: 12px;
}

.occ-chat__message {
	border-radius: 8px;
	font: 14px/1.4 Arial, sans-serif;
	margin-bottom: 8px;
	padding: 8px 10px;
}

.occ-chat__message--user {
	background: #111827;
	color: #fff;
	margin-left: 28px;
}

.occ-chat__message--bot,
.occ-chat__message--system {
	background: #f3f4f6;
	color: #111827;
	margin-right: 28px;
}

.occ-chat__message--typing {
	align-items: center;
	background: #f3f4f6;
	display: inline-flex;
	gap: 5px;
	margin-right: 28px;
	min-height: 34px;
	width: auto;
}

.occ-chat__message--typing span {
	animation: occTyping 1s infinite ease-in-out;
	background: #6b7280;
	border-radius: 50%;
	display: block;
	height: 7px;
	width: 7px;
}

.occ-chat__message--typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.occ-chat__message--typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes occTyping {
	0%,
	80%,
	100% {
		opacity: 0.35;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
		transform: translateY(-4px);
	}
}

.occ-chat__actions {
	border-top: 1px solid #eef0f3;
	padding: 10px 12px 0;
}

.occ-chat__whatsapp {
	align-items: center;
	background: #128c7e;
	border-radius: 8px;
	box-sizing: border-box;
	color: #fff !important;
	display: flex;
	font: 700 14px/1.2 Arial, sans-serif;
	justify-content: center;
	min-height: 40px;
	text-decoration: none !important;
	width: 100%;
}

.occ-chat__form {
	display: grid;
	gap: 8px;
	padding: 12px;
}

.occ-chat__form input,
.occ-chat__form textarea {
	border: 1px solid #d1d5db;
	border-radius: 6px;
	box-sizing: border-box;
	font: 14px/1.4 Arial, sans-serif;
	padding: 9px;
	width: 100%;
}

.occ-chat__form textarea {
	min-height: 86px;
	resize: vertical;
}

.occ-chat__form button {
	background: #111827;
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: 10px;
}
