/* VetAlliance WhatsApp Frontend Styles */

.vaf-whatsapp-btn {
	position: fixed;
	z-index: 999999;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
}

.vaf-whatsapp-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.vaf-wa-icon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60%;
	height: 60%;
}

/* Positions */
.vaf-pos-bottom-right {
	bottom: 20px;
	right: 20px;
}

.vaf-pos-bottom-left {
	bottom: 20px;
	left: 20px;
}

/* Sizes */
.vaf-size-small {
	width: 50px;
	height: 50px;
}

.vaf-size-medium {
	width: 60px;
	height: 60px;
}

.vaf-size-large {
	width: 70px;
	height: 70px;
}

/* Visibility Rules */
.vaf-vis-both {
	display: flex;
}

@media (max-width: 768px) {
	.vaf-vis-desktop {
		display: none !important;
	}
}

@media (min-width: 769px) {
	.vaf-vis-mobile {
		display: none !important;
	}
}

/* Label Styles */
.vaf-wa-label {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	background-color: #fff;
	color: #333;
	padding: 6px 12px;
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* If position is bottom-left, the label should be on the right side of the icon */
.vaf-pos-bottom-left .vaf-wa-label {
	right: auto;
	left: calc(100% + 10px);
}

.vaf-whatsapp-btn:hover .vaf-wa-label {
	transform: translateY(-50%) scale(1.05);
}
