/* Botón flotante WhatsApp */

.eyv-wa {
	--eyv-wa-green: #25d366;
	--eyv-wa-green-dark: #1ebe57;
	position: fixed;
	right: 1.1rem;
	bottom: 1.1rem;
	z-index: 99990;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.eyv-wa__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 0.75rem);
	width: min(18.5rem, calc(100vw - 2.2rem));
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(0.98);
	transform-origin: bottom right;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	pointer-events: none;
}

.eyv-wa.is-open .eyv-wa__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.eyv-wa__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #075e54;
	color: #fff;
}

.eyv-wa__panel-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.eyv-wa__panel-sub {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.9;
}

.eyv-wa__close {
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
}

.eyv-wa__close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.eyv-wa__list {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}

.eyv-wa__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.8rem 1rem;
	text-decoration: none;
	color: #1d2740;
	transition: background 0.15s ease;
}

.eyv-wa__link:hover {
	background: #f3f8f5;
}

.eyv-wa__avatar {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 999px;
	background: #e8f8ee;
	color: var(--eyv-wa-green);
}

.eyv-wa__avatar svg {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
}

.eyv-wa__meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.eyv-wa__name {
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
}

.eyv-wa__role {
	font-size: 0.75rem;
	font-weight: 500;
	color: #667085;
}

.eyv-wa__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--eyv-wa-green);
	color: #fff;
	box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.eyv-wa__toggle:hover {
	background: var(--eyv-wa-green-dark);
	transform: translateY(-1px);
}

.eyv-wa__toggle svg {
	width: 1.85rem;
	height: 1.85rem;
	display: block;
}

.eyv-wa.is-open .eyv-wa__toggle {
	background: #075e54;
}

@media (max-width: 480px) {
	.eyv-wa {
		right: 0.85rem;
		bottom: 0.85rem;
	}

	.eyv-wa__toggle {
		width: 3.25rem;
		height: 3.25rem;
	}
}
