/* WhatsApp Floating Button Styles */

.whatsapp-floating-button {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 999;
	transition: all 0.3s ease;
	text-decoration: none;
	border: none !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
}

.whatsapp-floating-button:hover {
	width: 70px;
	height: 70px;
	bottom: 25px;
	right: 25px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	transform: scale(1.1);
}

.whatsapp-floating-button:active {
	transform: scale(0.95);
}

.whatsapp-floating-button .whatsapp-icon {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.whatsapp-floating-button {
		bottom: 20px;
		right: 20px;
		width: 55px;
		height: 55px;
		font-size: 26px;
	}

	.whatsapp-floating-button:hover {
		width: 65px;
		height: 65px;
		bottom: 15px;
		right: 15px;
	}

	.whatsapp-floating-button .whatsapp-icon {
		width: 100%;
		height: 100%;
	}
}

/* Animation for button appearance */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.whatsapp-floating-button.animate {
	animation: slideInUp 0.5s ease forwards;
}

/* Tooltip */
.whatsapp-tooltip {
	position: absolute;
	bottom: 80px;
	right: 0;
	background: #222;
	color: white;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;
}

.whatsapp-floating-button:hover .whatsapp-tooltip {
	opacity: 1;
}

.whatsapp-tooltip::after {
	content: '';
	position: absolute;
	top: -4px;
	right: 12px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #222;
}
