.ghanaye-whatsapp-chat {
	--ghanaye-wa-bg: #18b864;
	--ghanaye-wa-bg-hover: #119c54;
	--ghanaye-wa-color: #fff;
	--ghanaye-wa-panel-bg: #fff;
	--ghanaye-wa-panel-text: #1f2937;
	--ghanaye-wa-muted: #64748b;
	--ghanaye-wa-border: rgba(15, 23, 42, .1);
	--ghanaye-wa-shadow: 0 18px 48px rgba(15, 23, 42, .2);
	--ghanaye-wa-soft-shadow: 0 10px 30px rgba(15, 23, 42, .14);
	position: fixed;
	z-index: 99990;
	bottom: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(350px, calc(100vw - 32px));
	pointer-events: none;
	font-family: inherit;
}

.ghanaye-whatsapp-chat--bottom-right {
	right: 22px;
	align-items: flex-end;
}

.ghanaye-whatsapp-chat--bottom-left {
	left: 22px;
	align-items: flex-start;
}

.ghanaye-whatsapp-chat--bottom-center {
	left: 50%;
	align-items: center;
	transform: translateX(-50%);
}

.ghanaye-whatsapp-chat--dark {
	--ghanaye-wa-bg: #162033;
	--ghanaye-wa-bg-hover: #0f172a;
	--ghanaye-wa-panel-text: #172033;
}

.ghanaye-whatsapp-chat--light {
	--ghanaye-wa-bg: #fff;
	--ghanaye-wa-bg-hover: #f6faf8;
	--ghanaye-wa-color: #12804d;
}

.ghanaye-whatsapp-chat--light .ghanaye-whatsapp-chat__panel-header {
	color: #12804d;
	border-bottom: 1px solid rgba(18, 128, 77, .12);
}

.ghanaye-whatsapp-chat--light .ghanaye-whatsapp-chat__panel-icon {
	color: #fff;
	background: #12804d;
}

.ghanaye-whatsapp-chat--light .ghanaye-whatsapp-chat__button {
	border: 1px solid rgba(18, 128, 77, .16);
}

.ghanaye-whatsapp-chat--brand {
	--ghanaye-wa-bg: #0095eb;
	--ghanaye-wa-bg-hover: #007cc3;
}

.ghanaye-whatsapp-chat__panel {
	width: 100%;
	overflow: hidden;
	color: var(--ghanaye-wa-panel-text);
	background: var(--ghanaye-wa-panel-bg);
	border: 1px solid var(--ghanaye-wa-border);
	border-radius: 12px;
	box-shadow: var(--ghanaye-wa-shadow);
	opacity: 1;
	pointer-events: none;
	transform: translateY(14px) scale(.98);
	transform-origin: bottom right;
	visibility: hidden;
	transition: transform .22s ease;
}

.ghanaye-whatsapp-chat--bottom-left .ghanaye-whatsapp-chat__panel {
	transform-origin: bottom left;
}

.ghanaye-whatsapp-chat--bottom-center .ghanaye-whatsapp-chat__panel {
	transform-origin: bottom center;
}

.ghanaye-whatsapp-chat.is-open .ghanaye-whatsapp-chat__panel {
	pointer-events: auto;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.ghanaye-whatsapp-chat__panel-header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 18px;
	color: #fff;
	background: linear-gradient(135deg, var(--ghanaye-wa-bg), var(--ghanaye-wa-bg-hover));
}

.ghanaye-whatsapp-chat__panel-icon {
	display: inline-flex;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--ghanaye-wa-bg);
	background: #fff;
	border-radius: 50%;
}

.ghanaye-whatsapp-chat__panel-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.ghanaye-whatsapp-chat__panel-header strong,
.ghanaye-whatsapp-chat__panel-header span {
	display: block;
}

.ghanaye-whatsapp-chat__panel-header strong {
	margin: 1px 0 5px;
	font-size: 18px;
	line-height: 1.2;
}

.ghanaye-whatsapp-chat__panel-header span {
	font-size: 13px;
	line-height: 1.45;
	opacity: .92;
}

.ghanaye-whatsapp-chat__panel-body {
	display: grid;
	gap: 13px;
	padding: 16px;
}

.ghanaye-whatsapp-chat__response-time {
	margin: 0;
	color: var(--ghanaye-wa-muted);
	font-size: 13px;
	line-height: 1.4;
}

.ghanaye-whatsapp-chat__agent-row {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 30px;
	gap: 12px;
	align-items: center;
	min-height: 68px;
	padding: 12px;
	color: var(--ghanaye-wa-panel-text);
	text-decoration: none;
	background: #f8fafc;
	border: 1px solid rgba(18, 184, 100, .18);
	border-left: 4px solid var(--ghanaye-wa-bg);
	border-radius: 10px;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.ghanaye-whatsapp-chat__agent-row:hover,
.ghanaye-whatsapp-chat__agent-row:focus {
	color: var(--ghanaye-wa-panel-text);
	text-decoration: none;
	background: #fff;
	border-color: rgba(18, 184, 100, .32);
	transform: translateY(-1px);
}

.ghanaye-whatsapp-chat__media {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
}

.ghanaye-whatsapp-chat__icon,
.ghanaye-whatsapp-chat__agent-action,
.ghanaye-whatsapp-chat__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: currentColor;
}

.ghanaye-whatsapp-chat__icon {
	width: 42px;
	height: 42px;
	color: #fff;
	background: var(--ghanaye-wa-bg);
	border-radius: 50%;
}

.ghanaye-whatsapp-chat__icon svg,
.ghanaye-whatsapp-chat__agent-action svg,
.ghanaye-whatsapp-chat__button-icon svg {
	display: block;
	fill: currentColor;
}

.ghanaye-whatsapp-chat__icon svg {
	width: 24px;
	height: 24px;
}

.ghanaye-whatsapp-chat__photo {
	width: 42px;
	height: 42px;
	object-fit: cover;
	background: #e2e8f0;
	border-radius: 50%;
}

.ghanaye-whatsapp-chat__photo + .ghanaye-whatsapp-chat__icon {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 19px;
	height: 19px;
	border: 2px solid #f8fafc;
}

.ghanaye-whatsapp-chat__photo + .ghanaye-whatsapp-chat__icon svg {
	width: 12px;
	height: 12px;
}

.ghanaye-whatsapp-chat__copy {
	display: grid;
	gap: 2px;
	min-width: 0;
	line-height: 1.25;
}

.ghanaye-whatsapp-chat__copy strong,
.ghanaye-whatsapp-chat__copy span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ghanaye-whatsapp-chat__copy strong {
	color: #0f172a;
	font-size: 15px;
	font-weight: 800;
}

.ghanaye-whatsapp-chat__copy span {
	color: var(--ghanaye-wa-muted);
	font-size: 13px;
}

.ghanaye-whatsapp-chat__agent-action {
	width: 30px;
	height: 30px;
	color: var(--ghanaye-wa-bg);
}

.ghanaye-whatsapp-chat__agent-action svg {
	width: 23px;
	height: 23px;
}

.ghanaye-whatsapp-chat__launcher-wrap {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	pointer-events: auto;
}

.ghanaye-whatsapp-chat--bottom-left .ghanaye-whatsapp-chat__launcher-wrap {
	flex-direction: row-reverse;
}

.ghanaye-whatsapp-chat--bottom-center .ghanaye-whatsapp-chat__launcher-wrap {
	justify-content: center;
}

.ghanaye-whatsapp-chat__teaser,
.ghanaye-whatsapp-chat__button {
	font: inherit;
	cursor: pointer;
	outline: none;
}

.ghanaye-whatsapp-chat__teaser {
	display: grid;
	gap: 1px;
	max-width: 230px;
	padding: 10px 16px;
	text-align: left;
	color: #172033;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, .08);
	border-radius: 999px;
	box-shadow: var(--ghanaye-wa-soft-shadow);
	opacity: 1;
	transform: translateX(0);
	transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ghanaye-whatsapp-chat__teaser:hover,
.ghanaye-whatsapp-chat__teaser:focus {
	box-shadow: 0 12px 34px rgba(15, 23, 42, .18);
	transform: translateY(-1px);
}

.ghanaye-whatsapp-chat.is-open .ghanaye-whatsapp-chat__teaser {
	opacity: 0;
	pointer-events: none;
	transform: translateX(8px);
}

.ghanaye-whatsapp-chat--bottom-left.is-open .ghanaye-whatsapp-chat__teaser {
	transform: translateX(-8px);
}

.ghanaye-whatsapp-chat__teaser span {
	color: var(--ghanaye-wa-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.ghanaye-whatsapp-chat__teaser strong {
	overflow: hidden;
	color: #172033;
	font-size: 14px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ghanaye-whatsapp-chat__button {
	position: relative;
	display: inline-flex;
	flex: 0 0 60px;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	color: var(--ghanaye-wa-color);
	background: var(--ghanaye-wa-bg);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 14px 34px rgba(18, 128, 77, .28);
	transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ghanaye-whatsapp-chat__button::before {
	position: absolute;
	inset: -7px;
	content: "";
	border: 1px solid var(--ghanaye-wa-bg);
	border-radius: inherit;
	opacity: .35;
	animation: ghanaye-wa-pulse 2.6s ease-out infinite;
}

.ghanaye-whatsapp-chat__button:hover,
.ghanaye-whatsapp-chat__button:focus {
	color: var(--ghanaye-wa-color);
	background: var(--ghanaye-wa-bg-hover);
	box-shadow: 0 18px 42px rgba(18, 128, 77, .34);
	transform: translateY(-2px);
}

.ghanaye-whatsapp-chat__button-icon {
	position: absolute;
	transition: opacity .16s ease, transform .16s ease;
}

.ghanaye-whatsapp-chat__button-icon svg {
	width: 33px;
	height: 33px;
}

.ghanaye-whatsapp-chat__button-icon--close {
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	opacity: 0;
	transform: rotate(-45deg) scale(.7);
}

.ghanaye-whatsapp-chat.is-open .ghanaye-whatsapp-chat__button-icon--open {
	opacity: 0;
	transform: rotate(45deg) scale(.7);
}

.ghanaye-whatsapp-chat.is-open .ghanaye-whatsapp-chat__button-icon--close {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

@keyframes ghanaye-wa-pulse {
	0% {
		opacity: .38;
		transform: scale(.92);
	}

	70% {
		opacity: 0;
		transform: scale(1.18);
	}

	100% {
		opacity: 0;
		transform: scale(1.18);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ghanaye-whatsapp-chat *,
	.ghanaye-whatsapp-chat *::before {
		animation: none !important;
		transition-duration: .01ms !important;
	}
}

@media (max-width: 600px) {
	.ghanaye-whatsapp-chat {
		bottom: 16px;
		width: min(342px, calc(100vw - 28px));
	}

	.ghanaye-whatsapp-chat--bottom-right {
		right: 14px;
	}

	.ghanaye-whatsapp-chat--bottom-left {
		left: 14px;
	}

	.ghanaye-whatsapp-chat__panel-header {
		padding: 16px;
	}

	.ghanaye-whatsapp-chat__button {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
	}

	.ghanaye-whatsapp-chat__button-icon svg {
		width: 30px;
		height: 30px;
	}
}

@media (max-width: 420px) {
	.ghanaye-whatsapp-chat__teaser {
		max-width: calc(100vw - 104px);
		padding: 9px 13px;
	}
}
