.et-whatsapp-widget {
	position: fixed;
	right: 18px;
	bottom: 24px;
	z-index: 99990;
	font-family: inherit;
	box-sizing: border-box;
}

.et-whatsapp-widget *,
.et-whatsapp-widget *::before,
.et-whatsapp-widget *::after {
	box-sizing: border-box;
}

.et-whatsapp-widget button.et-whatsapp-fab {
	width: 58px !important;
	height: 58px !important;
	min-width: 58px !important;
	max-width: 58px !important;
	min-height: 58px !important;
	max-height: 58px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #25d366 !important;
	color: #fff !important;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	transition: none;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 0 !important;
	flex: 0 0 58px !important;
	aspect-ratio: 1 / 1;
}

.et-whatsapp-fab:hover,
.et-whatsapp-fab:focus,
.et-whatsapp-fab:active {
	background: #25d366 !important;
	color: #fff !important;
	transform: none !important;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
	outline: none;
}

.et-whatsapp-fab svg {
	display: block;
}

.et-whatsapp-panel {
	position: absolute;
	right: 0;
	bottom: 72px;
	width: min(340px, calc(100vw - 36px));
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: min(520px, calc(100vh - 120px));
}

.et-whatsapp-panel[hidden] {
	display: none !important;
}

.et-whatsapp-panel-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px 14px 16px;
	background: #075e54;
	color: #fff;
	flex: 0 0 auto;
}

.et-whatsapp-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	flex: 0 0 40px;
	color: #fff;
}

.et-whatsapp-meta {
	flex: 1 1 auto;
	min-width: 0;
}

.et-whatsapp-team,
.et-whatsapp-meta strong {
	display: block;
	font-size: 15px;
	line-height: 1.2;
	color: #fff !important;
	font-weight: 600;
}

.et-whatsapp-status {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.9);
	margin-top: 2px;
}

.et-whatsapp-widget button.et-whatsapp-close {
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1 !important;
	cursor: pointer;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	max-width: 28px !important;
	min-height: 28px !important;
	max-height: 28px !important;
	border-radius: 50%;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	flex: 0 0 28px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.et-whatsapp-close:hover,
.et-whatsapp-close:focus,
.et-whatsapp-close:active {
	background: rgba(255, 255, 255, 0.22) !important;
	color: #fff !important;
}

.et-whatsapp-messages {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 16px;
	background: #e5ddd5;
	min-height: 160px;
}

.et-whatsapp-bubble {
	max-width: 85%;
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.45;
	word-break: break-word;
}

.et-whatsapp-bubble.is-in {
	background: #fff;
	color: #111;
	border-top-left-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.et-whatsapp-bubble.is-out {
	background: #dcf8c6;
	color: #111;
	margin-left: auto;
	border-top-right-radius: 4px;
}

.et-whatsapp-typing {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 16px 12px;
	background: #e5ddd5;
	font-size: 12px;
	color: #667781;
	flex: 0 0 auto;
}

.et-whatsapp-typing[hidden] {
	display: none !important;
}

.et-whatsapp-typing-dots {
	display: inline-flex;
	gap: 3px;
}

.et-whatsapp-typing-dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #90a4ae;
	animation: etWaTyping 1.2s infinite ease-in-out;
}

.et-whatsapp-typing-dots span:nth-child(2) {
	animation-delay: 0.15s;
}

.et-whatsapp-typing-dots span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes etWaTyping {
	0%, 80%, 100% {
		transform: translateY(0);
		opacity: 0.45;
	}
	40% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

.et-whatsapp-form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	margin: 0;
	background: #f0f2f5;
	border-top: 1px solid #dfe5e7;
	flex: 0 0 auto;
}

.et-whatsapp-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	border: 0;
	border-radius: 24px;
	padding: 11px 16px;
	font-size: 14px;
	line-height: 1.3;
	outline: none;
	background: #fff;
	color: #111;
	min-height: 44px;
	height: 44px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.et-whatsapp-widget button.et-whatsapp-send {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #25d366 !important;
	color: #fff !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	flex: 0 0 44px !important;
	transition: none;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 0 !important;
	aspect-ratio: 1 / 1;
}

.et-whatsapp-send:hover,
.et-whatsapp-send:focus,
.et-whatsapp-send:active {
	background: #25d366 !important;
	color: #fff !important;
	transform: none !important;
}

body.splash-open .et-whatsapp-widget,
body.splash-pending .et-whatsapp-widget {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media only screen and (max-width: 767px) {
	.et-whatsapp-widget {
		right: 14px;
		bottom: 14px;
	}

	.et-whatsapp-panel {
		width: min(320px, calc(100vw - 28px));
		bottom: 68px;
	}
}
