#wawp-chat-wrapper {
	position: fixed;
	z-index: 99999999;
	bottom: 16px;
	display: flex;
	flex-direction: column-reverse;
	gap: 12px;
	align-items: end;
}

@media only screen and (max-width: 600px) {
	.wawp-chat-window.scale-toggle {
	width: calc(100vw - 32px) !important;
	}
}

.wawp-whatsapp-button {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .07);
}

.wawp-chat-window {
	position: absolute;
	background: #f8f8f8;
	border-radius: 16px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
	overflow: hidden;
	width: 1px;
	height: 1px;
	transform: scale(0);
	transition: transform 0.3s ease-in-out;
}

.wawp-chat-window.scale-toggle {
	transform: scale(1);
	width: 350px;
	height: auto;
}

.wawp-chat-header {
	color: #fff;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: start;
	position: relative;
	gap: 12px;
}

.wawp-header-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.wawp-widget-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.wawp-widget-message {
	font-size: 14px;
	line-height: 1.5;
	opacity: .8;
}

.wawp-minimize-icon {
	font-size: 20px;
	color: #fff;
	position: absolute;
	cursor: pointer;
	line-height: 1;
	top: 12px;
	opacity: .8;
}

.wawp-minimize-icon:hover {
	opacity: 1;
}

.wawp-chat-data {
	background: #fff;
	margin: 0 12px;
	border-radius: 8px;
	box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin-bottom: 12px;
	/* moved from powered_by to ensure spacing */
}

.wawp-chat-content {
	display: flex;
	flex-direction: column;
	max-height: 256px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.wawp-contact-item {
	display: flex;
	align-items: center;
	background: #fff;
	padding: 12px;
	gap: 12px;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	transition: background 0.15s ease;
}

.wawp-avatar-wrapper {
	position: relative;
	flex: 0 1 auto;
	width: 40px;
	height: 40px;
	overflow: hidden;
}

.wawp-avatar-wrapper img {
	border-radius: 50%;
	border: 1px solid #eee;
	object-fit: cover;
	aspect-ratio: 1/1;
	display: flex;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	max-width: 40px;
	width: 40px;
}

.wawp-online-dot {
	position: absolute;
	width: 12px;
	height: 12px;
	background: #22c55e;
	border-radius: 50%;
	bottom: 0;
	right: 0;
	border: 2px solid #fff;
	animation: onlineScale .5s ease-in-out infinite alternate;
	-webkit-animation: onlineScale .5s ease-in-out infinite alternate;
}

@keyframes onlineScale {
	0% {
	transform: scale(1.0);
	-webkit-transform: scale(1.0);
	}

	100% {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	}
}

.wawp-contact-info {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.wawp-contact-name {
	font-weight: 600;
	color: #072929;
	font-size: 15px;
	line-height: 1.2;
}

.wawp-contact-role {
	font-size: 12px;
	color: #434960;
	line-height: 1.5;
}

.wawp-qr-chat-icon,
.wawp-wa-chat-icon {
	font-size: 24px;
	color: #25d366;
	margin-left: auto;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: .5rem;
	background: #fff;
	border: 1px solid rgba(74, 85, 101, 0.1);
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.wawp-qr-chat-icon:hover,
.wawp-wa-chat-icon:hover {
	background: #f9fafb;
}

.btns-group {
	display: flex;
	gap: .5rem;
}

.wawp-qr-card {
	padding: 16px;
	display: none;
	flex-direction: column;
	gap: 12px;
}

.wawp-qr-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	position: relative;
}

.wawp-qr-back {
	font-size: 20px;
	cursor: pointer;
	color: #333;
	flex-shrink: 0;
}

.wawp-qr-body {
	text-align: center;
}

#wawp-dynamic-qr {
	display: flex;
	margin: 10px auto;
	justify-content: center;
	align-items: center;
	min-height: 150px;
	width: 150px;
	background: #fff;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#wawp-dynamic-qr canvas,
#wawp-dynamic-qr img {
	max-width: 100%;
	height: auto;
}

.wawp-qr-title {
	color: #333;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	flex: 1;
}

.wawp-open-whatsapp {
	background: #22c55e;
	color: #fff;
	padding: 12px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	width: -moz-available;
	font-size: 14px;
	line-height: 1;
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.15s ease;
	color: #fff !important;
}

.wawp-open-whatsapp i {
	color: #fff !important;
	font-size: 18px;
}

.wawp-open-whatsapp:hover {
	background: #16a34a;
}

.wawp-social-intro {
	font-size: 11px;
	color: #fff !important;
	line-height: 1.5;
	font-weight: 600;
	opacity: 0.9;
}

.wawp-social-container {
	padding: 12px 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	white-space: nowrap;
	color: #fff !important;
}

.wawp-layout-horizontal {
	flex-direction: row !important;
	justify-content: space-between !important;
	padding: 14px 20px !important;
}

.wawp-layout-horizontal .wawp-social-intro {
	flex-shrink: 0;
	margin: 0;
}

.wawp-social-icons-list {
	display: flex;
	justify-content: center;
	gap: 8px;
	align-items: center;
	width: fit-content;
	flex-wrap: wrap;
}

.wawp-social-link {
	text-decoration: none;
	color: #072929;
	/* Removed fixed dimensions to allow icon + padding to determine size */
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wawp-social-container [class*=" ri-"],
.wawp-social-container [class^="ri-"] {
	/* Removed forced font-size to respect inline style or default */
	line-height: 1 !important;
}

.wawp-style-round i {
	background: rgba(255, 255, 255, 0.15);
	color: #fff !important;
	border-radius: 50%;
	padding: 8px;
	transition: all 0.2s ease;
}

.wawp-style-round i:hover {
	background: rgba(255, 255, 255, 0.25);
}

.wawp-style-square i {
	background: rgba(255, 255, 255, 0.15);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	padding: 8px;
	transition: all 0.2s ease;
}

.wawp-style-square i:hover {
	background: rgba(255, 255, 255, 0.25);
}

.wawp-style-outline i {
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: #fff !important;
	border-radius: 6px;
	padding: 6px;
	background: transparent;
	transition: all 0.2s ease;
}

.wawp-style-outline i:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.wawp-style-colored i,
.wawp-style-brand i {
	background: transparent;
	border: none;
	padding: 0;
	color: #fff !important;
	font-size: 20px;
}

/* Brand Colors */
.wawp-style-brand [class*="facebook"] { color: #1877F2 !important; }
.wawp-style-brand [class*="twitter"], .wawp-style-brand [class*="x-line"] { color: #000000 !important; }
.wawp-style-brand [class*="instagram"] { color: #E4405F !important; }
.wawp-style-brand [class*="youtube"] { color: #FF0000 !important; }
.wawp-style-brand [class*="linkedin"] { color: #0A66C2 !important; }
.wawp-style-brand [class*="tiktok"] { color: #000000 !important; }
.wawp-style-brand [class*="whatsapp"] { color: #25D366 !important; }
.wawp-style-brand [class*="telegram"] { color: #26A5E4 !important; }
.wawp-style-brand [class*="snapchat"] { color: #FFFC00 !important; text-shadow: 0 0 1px #000; }
.wawp-style-brand [class*="pinterest"] { color: #BD081C !important; }
.wawp-style-brand [class*="github"] { color: #181717 !important; }
.wawp-style-brand [class*="messenger"] { color: #0084FF !important; }

.wawp-reply-time-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wawp-reply-time-bubble {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	background: #dcfce7;
	color: #047857;
	font-size: 11px;
	padding: 4px 6px;
	font-weight: 500;
	width: -moz-available;
	width: 100%;
	line-height: 1;
}

.wawp-reply-time-bubble .ri-time-line {
	font-size: 12px;
}



.wawp-typing-dots {
	display: flex;
	gap: 4px;
	align-items: center;
	justify-content: center;
}

.wawp-typing-dots .dot {
	width: 8px;
	height: 8px;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	animation: dot-pulse 1s infinite;
}

.wawp-typing-dots .dot:nth-child(2) {
	animation-delay: 0.2s;
}

.wawp-typing-dots .dot:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes dot-pulse {
	0% {
	transform: scale(0.8);
	opacity: 0.4;
	}

	50% {
	transform: scale(1);
	opacity: 1;
	}

	100% {
	transform: scale(0.8);
	opacity: 0.4;
	}
}

.wawp-powered_by {
	text-align: center;
	padding: 6px 12px 10px;
	background: transparent;
}

.wawp-powered_by a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.55);
	transition: color 0.15s ease;
}

.wawp-powered_by a:hover {
	color: rgba(255, 255, 255, 0.9);
}

.wawp-powered_by-label {
	font-size: 9px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.02em;
}

.wawp-powered_by-icon {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.7);
}

.wawp-powered_by-name {
	font-size: 11px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: -0.01em;
}