/* TriRoute Global Contacts Frontend Styles */

/* Inline WhatsApp Button Shortcode [site_whatsapp_btn] */
.triroute-gc-whatsapp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #25D366;
	color: #ffffff !important;
	padding: 12px 24px;
	border-radius: 50px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
	cursor: pointer;
	border: none;
	line-height: 1;
}

.triroute-gc-whatsapp-btn:hover {
	background-color: #1ebc59;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.triroute-gc-whatsapp-btn .triroute-wa-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
	flex-shrink: 0;
}

/* Floating Contact Widget */
.triroute-gc-floating-wrap {
	position: fixed;
	z-index: 999990;
	display: flex;
	flex-direction: column;
	gap: 12px;
	bottom: 25px;
}

.triroute-gc-floating-wrap.triroute-pos-bottom-right {
	right: 25px;
	align-items: flex-end;
}

.triroute-gc-floating-wrap.triroute-pos-bottom-left {
	left: 25px;
	align-items: flex-start;
}

.triroute-gc-floating-btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	position: relative;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.triroute-gc-floating-btn:hover {
	transform: scale(1.1);
}

.triroute-gc-btn-wa {
	background-color: #25D366;
	color: #ffffff;
}

.triroute-gc-btn-call {
	background-color: #005a9c;
	color: #ffffff;
}

/* Floating Tooltip */
.triroute-gc-floating-btn .triroute-gc-tooltip {
	visibility: hidden;
	position: absolute;
	background-color: #1e293b;
	color: #fff;
	text-align: center;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s, transform 0.3s;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.triroute-pos-bottom-right .triroute-gc-tooltip {
	right: 70px;
	transform: translateX(10px);
}

.triroute-pos-bottom-left .triroute-gc-tooltip {
	left: 70px;
	transform: translateX(-10px);
}

.triroute-gc-floating-btn:hover .triroute-gc-tooltip {
	visibility: visible;
	opacity: 1;
	transform: translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
	.triroute-gc-floating-wrap {
		bottom: 20px;
	}
	.triroute-gc-floating-wrap.triroute-pos-bottom-right {
		right: 18px;
	}
	.triroute-gc-floating-wrap.triroute-pos-bottom-left {
		left: 18px;
	}
	.triroute-gc-floating-btn {
		width: 50px;
		height: 50px;
	}
	.triroute-gc-floating-btn svg {
		width: 26px;
		height: 26px;
	}
	.triroute-gc-floating-btn .triroute-gc-tooltip {
		display: none; /* Hide hover tooltip on touch devices */
	}
}
