/**
 * IO Widget – Animated Button 1.3.3
 * Styles: fill (btn-126) | blur (btn-111)
 */

.io-ab-wrap {
	width: 100%;
	line-height: 0;
}

.io-ab-wrap--full .io-ab {
	width: 100%;
}

.io-ab {
	--io-ab-color-ms: 0.9s;
	--io-ab-ms: 0.5s;
	--io-ab-shape: #0da7d5;
	--io-ab-color: #bbb;
	--io-ab-radius: 10px;
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	outline: none;
	cursor: pointer;
	text-decoration: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	font-weight: 700;
	line-height: 1.2;
	z-index: 1;
}

.io-ab *,
.io-ab *::before,
.io-ab *::after {
	box-sizing: border-box;
}

.io-ab__text,
.io-ab__icon {
	position: relative;
	z-index: 2;
}

.io-ab__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	flex: 0 0 auto;
}

.io-ab__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ========== FILL (btn-126) ========== */
.io-ab--fill {
	border: 1px solid #000;
	background-color: transparent;
	padding: 15px 28px;
	border-radius: 15px;
	color: #000;
	overflow: hidden;
	font-size: 17px;
	transition: color var(--io-ab-color-ms) ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.io-ab--fill::before {
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: #E91E63;
	filter: blur(5px);
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
	transition:
		width 0.9s ease-out,
		height 0.9s ease-out,
		background-color 0.3s ease-out,
		border-radius 0.9s ease-out,
		filter 0.3s ease-out;
}

.io-ab--fill.io-ab--origin-tr::before {
	top: 20%; right: 20%; left: auto; bottom: auto;
	transform: translate(50%, -50%);
}
.io-ab--fill.io-ab--origin-tl::before {
	top: 20%; left: 20%; right: auto; bottom: auto;
	transform: translate(-50%, -50%);
}
.io-ab--fill.io-ab--origin-tc::before {
	top: 15%; left: 50%; right: auto; bottom: auto;
	transform: translate(-50%, -50%);
}
.io-ab--fill.io-ab--origin-c::before {
	top: 50%; left: 50%; right: auto; bottom: auto;
	transform: translate(-50%, -50%);
}
.io-ab--fill.io-ab--origin-br::before {
	bottom: 20%; right: 20%; top: auto; left: auto;
	transform: translate(50%, 50%);
}
.io-ab--fill.io-ab--origin-bl::before {
	bottom: 20%; left: 20%; top: auto; right: auto;
	transform: translate(-50%, 50%);
}
.io-ab--fill.io-ab--origin-bc::before {
	bottom: 15%; left: 50%; top: auto; right: auto;
	transform: translate(-50%, 50%);
}

.io-ab--fill:hover::before,
.io-ab--fill:focus::before {
	border-radius: 20px;
	width: 300px;
	height: 200px;
}

.io-ab--fill:hover,
.io-ab--fill:focus {
	color: #fff;
	outline: none;
}

/* ========== BLUR BARS (btn-111) ========== */
.io-ab--blur {
	background: none;
	border: none;
	padding: 0;
	font-size: 16px;
	width: 180px;
	height: 50px;
	color: var(--io-ab-color);
}

.io-ab--blur::before,
.io-ab--blur::after {
	content: "";
	position: absolute;
	width: 25%;
	height: 10px;
	background: var(--io-ab-shape);
	border-radius: 10px;
	transition: width var(--io-ab-ms) ease, height var(--io-ab-ms) ease, top var(--io-ab-ms) ease, bottom var(--io-ab-ms) ease, border-radius var(--io-ab-ms) ease;
	transform: translateX(-50%);
	left: 50%;
	z-index: 0;
	pointer-events: none;
}

.io-ab--blur::before {
	top: -5px;
}

.io-ab--blur::after {
	bottom: -7px;
}

.io-ab--blur .io-ab__inner {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--io-ab-radius);
	letter-spacing: 1px;
	overflow: hidden;
	color: var(--io-ab-color);
	font-weight: 700;
	z-index: 1;
	transition: letter-spacing var(--io-ab-ms) ease, color var(--io-ab-ms) ease, box-shadow var(--io-ab-ms) ease;
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
}

/* Shine sweep */
.io-ab--blur:not(.io-ab--no-shine) .io-ab__inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(to left, rgba(255, 255, 255, 0.3), transparent);
	transform: skewX(45deg) translate(0);
	transition: transform var(--io-ab-ms) ease;
	filter: blur(0);
	pointer-events: none;
	z-index: 0;
}

.io-ab--blur:hover .io-ab__inner,
.io-ab--blur:focus .io-ab__inner {
	letter-spacing: 3px;
	color: #000;
}

.io-ab--blur:hover:not(.io-ab--no-shine) .io-ab__inner::before,
.io-ab--blur:focus:not(.io-ab--no-shine) .io-ab__inner::before {
	transform: skewX(45deg) translate(200px);
}

.io-ab--blur:hover::before,
.io-ab--blur:focus::before {
	top: 0;
	height: 50%;
	width: 80%;
	border-radius: 30px;
}

.io-ab--blur:hover::after,
.io-ab--blur:focus::after {
	bottom: 0;
	height: 50%;
	width: 80%;
	border-radius: 30px;
}

.io-ab-wrap--full .io-ab--blur {
	width: 100%;
}

/* Focus */
.io-ab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
	.io-ab--fill {
		font-size: 15px;
		padding: 12px 22px;
	}
	.io-ab--blur {
		font-size: 14px;
		width: 100%;
		max-width: 220px;
	}
	.io-ab-wrap--full .io-ab--blur {
		max-width: none;
	}
}

.elementor-widget-io-animated-button.elementor-invisible {
	visibility: visible !important;
	opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
	.io-ab,
	.io-ab::before,
	.io-ab::after,
	.io-ab__inner,
	.io-ab__inner::before {
		transition-duration: 0.01ms !important;
	}
}

body.io-widget-ltr .io-ab,
html[dir="ltr"] .io-ab {
	direction: ltr;
}
body.io-widget-rtl .io-ab,
html[dir="rtl"] .io-ab {
	direction: rtl;
}
