.emy-whatsapp-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 62px;
	height: 62px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, #25d366, #128c7e);
	color: #ffffff;
	font-size: 2rem;
	box-shadow: 0 18px 45px rgba(18, 140, 126, 0.38);
	z-index: 1055;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		filter 0.25s ease;
	overflow: hidden;
	isolation: isolate;
}

.emy-whatsapp-float::before {
	content: '';
	position: absolute;
	top: 0;
	left: -120%;
	width: 75%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.34),
		transparent
	);
	transform: skewX(-18deg);
	transition: left 0.55s ease;
	z-index: 2;
}

.emy-whatsapp-float:hover::before {
	left: 135%;
}

.emy-whatsapp-float:hover {
	transform: translateY(-5px) scale(1.06);
	box-shadow:
		0 24px 60px rgba(18, 140, 126, 0.55),
		0 0 0 4px rgba(37, 211, 102, 0.14);
	filter: brightness(1.05);
}

.emy-whatsapp-float i {
	position: relative;
	z-index: 3;
	transition: transform 0.25s ease;
}

.emy-whatsapp-float:hover i {
	transform: translateX(3px) rotate(-8deg);
}

.emy-whatsapp-pulse {
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	background: rgba(37, 211, 102, 0.28);
	animation: emyWhatsappPulse 1.8s infinite;
	z-index: 1;
}

@keyframes emyWhatsappPulse {
	0% {
		transform: scale(0.85);
		opacity: 0.9;
	}

	70% {
		transform: scale(1.28);
		opacity: 0;
	}

	100% {
		transform: scale(0.85);
		opacity: 0;
	}
}

[data-theme="dark"] .emy-whatsapp-float {
	box-shadow:
		0 18px 50px rgba(37, 211, 102, 0.32);
}

[data-theme="dark"] .emy-whatsapp-float:hover {
	box-shadow:
		0 24px 60px rgba(37, 211, 102, 0.42),
		0 0 0 4px rgba(37, 211, 102, 0.10);
}

@media (max-width: 575px) {
	.emy-whatsapp-float {
		right: 18px;
		bottom: 18px;
		width: 56px;
		height: 56px;
		font-size: 1.75rem;
	}
}

.emy-wa-swal-popup {
	border: 1px solid rgba(34, 211, 238, 0.18) !important;
	border-radius: 30px !important;
	padding: 30px !important;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 36%),
		radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.16), transparent 38%),
		#ffffff !important;
	box-shadow: 0 30px 90px rgba(2, 6, 23, 0.36) !important;
	overflow: hidden;
	position: relative;
	color: inherit !important;
}

[data-theme="dark"] .emy-wa-swal-popup {
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.26), transparent 36%),
		radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.18), transparent 38%),
		#0f172a !important;
	border-color: rgba(34, 211, 238, 0.22) !important;
}

.emy-wa-swal {
	text-align: center;
	color: #0f172a !important;
}

[data-theme="dark"] .emy-wa-swal {
	color: #f8fafc !important;
}

.emy-wa-swal-icon {
	width: 76px;
	height: 76px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 26px;
	background: linear-gradient(135deg, #25d366, #128c7e);
	color: #ffffff;
	font-size: 2.45rem;
	box-shadow: 0 18px 48px rgba(18, 140, 126, 0.38);
}

.emy-wa-swal h2 {
	margin: 0 0 14px;
	color: #0f172a !important;
	font-size: 1.65rem;
	font-weight: 900;
	letter-spacing: -0.035em;
}

[data-theme="dark"] .emy-wa-swal h2 {
	color: #ffffff !important;
}

.emy-wa-swal p {
	max-width: 430px;
	margin: 0 auto;
	color: #475569 !important;
	font-size: 0.98rem;
	line-height: 1.65;
}

[data-theme="dark"] .emy-wa-swal p {
	color: #cbd5e1 !important;
}

.emy-wa-swal p strong {
	color: #2563eb !important;
	font-weight: 900;
}

[data-theme="dark"] .emy-wa-swal p strong {
	color: #22d3ee !important;
}

.emy-wa-swal-confirm,
.emy-wa-swal-cancel {
	border: none !important;
	border-radius: 999px !important;
	padding: 13px 24px !important;
	font-weight: 900 !important;
	font-size: 0.95rem !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.emy-wa-swal-confirm {
	background: linear-gradient(135deg, #25d366, #128c7e) !important;
	color: #ffffff !important;
	box-shadow: 0 16px 36px rgba(18, 140, 126, 0.36) !important;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.emy-wa-swal-confirm::before {
	content: '';
	position: absolute;
	top: 0;
	left: -120%;
	width: 75%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.34),
		transparent
	);
	transform: skewX(-18deg);
	transition: left 0.55s ease;
	z-index: 1;
}

.emy-wa-swal-confirm:hover::before {
	left: 135%;
}

.emy-wa-swal-confirm:hover {
	transform: translateY(-3px) scale(1.01);
	filter: brightness(1.05);
	box-shadow:
		0 22px 48px rgba(18, 140, 126, 0.42),
		0 0 0 4px rgba(37, 211, 102, 0.14) !important;
}

.emy-wa-swal-confirm span,
.emy-wa-swal-confirm i {
	position: relative;
	z-index: 2;
}

.emy-wa-swal-cancel {
	background: rgba(100, 116, 139, 0.14) !important;
	color: #0f172a !important;
}

[data-theme="dark"] .emy-wa-swal-cancel {
	background: rgba(148, 163, 184, 0.14) !important;
	color: #f8fafc !important;
}

.emy-wa-swal-cancel:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.swal2-actions {
	gap: 12px;
	margin-top: 26px !important;
}

.swal2-html-container {
	margin: 0 !important;
	overflow: visible !important;
}

.emy-wa-swal-container {
	backdrop-filter: blur(8px);
}

/* ========= BRILLO PREMIUM MÁS VISIBLE EN MODO CLARO ========= */
.emy-wa-swal-popup::before {
	content: '';
	position: absolute;
	top: -38%;
	left: -95%;
	width: 62%;
	height: 210%;
	background: linear-gradient(
		118deg,
		transparent 0%,
		rgba(255, 255, 255, 0.00) 18%,
		rgba(255, 255, 255, 0.55) 38%,
		rgba(255, 255, 255, 0.92) 50%,
		rgba(255, 255, 255, 0.58) 62%,
		rgba(255, 255, 255, 0.00) 82%,
		transparent 100%
	);
	mix-blend-mode: screen;
	transform: rotate(16deg);
	animation: emyWaSwalShine 3s cubic-bezier(.22, .61, .36, 1) infinite;
	pointer-events: none;
	z-index: 1;
	filter: blur(1px);
}

/* ========= DARK MODE ========= */
[data-theme="dark"] .emy-wa-swal-popup::before {
	background: linear-gradient(
		118deg,
		transparent 0%,
		rgba(34, 211, 238, 0.00) 18%,
		rgba(34, 211, 238, 0.22) 36%,
		rgba(255, 255, 255, 0.30) 50%,
		rgba(34, 211, 238, 0.18) 64%,
		rgba(34, 211, 238, 0.00) 82%,
		transparent 100%
	);
	mix-blend-mode: screen;
	filter: blur(1.2px);
}

/* ========= REFUERZO EXTRA SOLO EN LIGHT ========= */
html[data-theme="light"] .emy-wa-swal-popup {
	box-shadow:
		0 30px 90px rgba(2, 6, 23, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		inset 0 -1px 0 rgba(148, 163, 184, 0.08) !important;
}

/* ========= ANIMACIÓN ========= */
@keyframes emyWaSwalShine {
	0% {
		left: -95%;
		opacity: 0;
	}

	12% {
		opacity: 1;
	}

	45% {
		left: 138%;
		opacity: 1;
	}

	100% {
		left: 138%;
		opacity: 0;
	}
}

/* ========= ASEGURA CONTENIDO SOBRE EL BRILLO ========= */
.emy-wa-swal,
.swal2-actions {
	position: relative;
	z-index: 2;
}