.tuserco-floating-whatsapp,
.tuserco-floating-whatsapp * {
	box-sizing: border-box;
}

.tuserco-floating-whatsapp {
	position: fixed;
	right: clamp(16px, 2.2vw, 32px);
	bottom: calc(clamp(18px, 2.6vw, 34px) + env(safe-area-inset-bottom, 0px));
	z-index: 900;
	font-family: inherit;
}

.tuserco-floating-whatsapp__link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #10264f;
	text-decoration: none;
	filter: drop-shadow(0 12px 24px rgba(15, 35, 65, 0.2));
}

.tuserco-floating-whatsapp__copy {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-width: 154px;
	padding: 12px 17px;
	border: 1px solid rgba(15, 163, 81, 0.2);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 35, 65, 0.12);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.tuserco-floating-whatsapp__copy strong {
	margin: 0;
	color: #10264f;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.tuserco-floating-whatsapp__avatar {
	position: relative;
	display: block;
	width: 76px;
	height: 76px;
	flex: 0 0 76px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #eef4f8;
	box-shadow: 0 0 0 3px #0fa351, 0 10px 24px rgba(15, 35, 65, 0.25);
	overflow: visible;
	transition: transform 180ms ease;
}

.tuserco-floating-whatsapp__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.tuserco-floating-whatsapp__status {
	position: absolute;
	top: 2px;
	right: 1px;
	width: 13px;
	height: 13px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #20c36a;
}

.tuserco-floating-whatsapp__icon {
	position: absolute;
	right: -5px;
	bottom: -4px;
	display: grid;
	place-items: center;
	width: 29px;
	height: 29px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #20b45a;
	box-shadow: 0 4px 10px rgba(15, 35, 65, 0.25);
}

.tuserco-floating-whatsapp__icon svg {
	width: 19px;
	height: 19px;
	fill: #fff;
}

.tuserco-floating-whatsapp__link:hover .tuserco-floating-whatsapp__copy,
.tuserco-floating-whatsapp__link:focus-visible .tuserco-floating-whatsapp__copy {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(15, 35, 65, 0.18);
}

.tuserco-floating-whatsapp__link:hover .tuserco-floating-whatsapp__avatar,
.tuserco-floating-whatsapp__link:focus-visible .tuserco-floating-whatsapp__avatar {
	transform: scale(1.04);
}

.tuserco-floating-whatsapp__link:focus-visible {
	border-radius: 10px;
	outline: 3px solid rgba(16, 153, 221, 0.38);
	outline-offset: 5px;
}

body.single-tuserco_trip .tuserco-floating-whatsapp {
	bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

body.tuserco-calendar-popup-open .tuserco-floating-whatsapp {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 720px) {
	.tuserco-floating-whatsapp {
		right: 16px;
		bottom: calc(22px + env(safe-area-inset-bottom, 0px));
	}

	body.single-tuserco_trip .tuserco-floating-whatsapp {
		display: none;
	}

	.tuserco-floating-whatsapp__copy {
		position: absolute;
		right: 0;
		bottom: calc(100% + 13px);
		width: max-content;
		min-width: 0;
		max-width: min(260px, calc(100vw - 32px));
		padding: 10px 13px;
		opacity: 0;
		pointer-events: none;
		transform: translateY(5px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.tuserco-floating-whatsapp__copy::after {
		content: "";
		position: absolute;
		right: 20px;
		bottom: -6px;
		width: 12px;
		height: 12px;
		border-right: 1px solid rgba(15, 163, 81, 0.2);
		border-bottom: 1px solid rgba(15, 163, 81, 0.2);
		background: #fff;
		transform: rotate(45deg);
	}

	.tuserco-floating-whatsapp__link:hover .tuserco-floating-whatsapp__copy,
	.tuserco-floating-whatsapp__link:focus-visible .tuserco-floating-whatsapp__copy {
		opacity: 1;
		transform: translateY(0);
	}

	.tuserco-floating-whatsapp__avatar {
		width: 54px;
		height: 54px;
		flex-basis: 54px;
		border-width: 2px;
		box-shadow: 0 0 0 2px #0fa351, 0 8px 20px rgba(15, 35, 65, 0.2);
	}
}

@media (max-width: 430px) {
	.tuserco-floating-whatsapp__avatar {
		width: 52px;
		height: 52px;
		flex-basis: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tuserco-floating-whatsapp__copy,
	.tuserco-floating-whatsapp__avatar {
		transition: none;
	}
}
