@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ════════════════════════════════════════════════════
   AAFE Slide Icon Button — style.css
   ════════════════════════════════════════════════════ */

.aafe-slide-icon-button-wrapper,
.aafe-slide-icon-button-wrapper * {
	box-sizing: border-box;
}

.aafe-slide-icon-button-wrapper h1,
.aafe-slide-icon-button-wrapper h2,
.aafe-slide-icon-button-wrapper h3,
.aafe-slide-icon-button-wrapper h4,
.aafe-slide-icon-button-wrapper h5,
.aafe-slide-icon-button-wrapper h6 { 
	font-family: 'Sora', sans-serif; 
}

.aafe-slide-icon-button-wrapper p,
.aafe-slide-icon-button-wrapper span,
.aafe-slide-icon-button-wrapper li,
.aafe-slide-icon-button-wrapper a { 
	font-family: 'Inter', sans-serif; 
}

/* ══ 1. WRAPPER ══ */
.aafe-slide-icon-button-wrapper {
	--aafe-hover-scale: 1.03;
	--aafe-lift-y: -6px;
	--aafe-glow-color: #4F46E5;
	--aafe-border-pop-color: #4F46E5;
	--aafe-shine-color: rgba(255,255,255,0.35);
	display: flex;
	align-items: center;
	width: 100%;
}

/* ── Button gets the transition for wrapper effects ── */
.aafe-slide-icon-button-wrapper[data-hover] .aafe-slide-icon-button__btn {
	transition-property: background-color, color, border-color, box-shadow, transform, border-radius;
	transition-duration: var(--aafe-transition, 300ms);
	transition-timing-function: ease;
}

/* ── Wrapper Hover Effects ── */
.aafe-slide-icon-button-wrapper[data-hover="lift"]:hover .aafe-slide-icon-button__btn {
	transform: translateY(var(--aafe-lift-y, -6px));
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.aafe-slide-icon-button-wrapper[data-hover="scale"]:hover .aafe-slide-icon-button__btn {
	transform: scale(var(--aafe-hover-scale, 1.03));
}

.aafe-slide-icon-button-wrapper[data-hover="glow"]:hover .aafe-slide-icon-button__btn {
	box-shadow: 0 0 0 4px var(--aafe-glow-color, #4F46E5),
	            0 8px 30px rgba(79, 70, 229, 0.3);
}

.aafe-slide-icon-button-wrapper[data-hover="border-pop"]:hover .aafe-slide-icon-button__btn {
	border-color: var(--aafe-border-pop-color, #4F46E5) !important;
	transform: scale(1.03);
}

.aafe-slide-icon-button-wrapper[data-hover="shine"] .aafe-slide-icon-button__btn {
	overflow: hidden;
}

.aafe-slide-icon-button-wrapper[data-hover="shine"] .aafe-slide-icon-button__btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255,255,255,0) 0%,
		var(--aafe-shine-color, rgba(255,255,255,0.35)) 50%,
		rgba(255,255,255,0) 100%
	);
	transform: skewX(-25deg);
	pointer-events: none;
	z-index: 10;
	transition: none;
}

.aafe-slide-icon-button-wrapper[data-hover="shine"]:hover .aafe-slide-icon-button__btn::before {
	left: 125%;
	transition: left 0.65s ease;
}

/* ══ 2. BUTTON ══ */
.aafe-slide-icon-button__btn {
	background: #a370f0;
	color: white;
	font-family: 'Inter', sans-serif;
	padding: 0.35em;
	padding-left: 1.2em;
	font-size: 17px;
	font-weight: 500;
	border-radius: 0.9em;
	border: none;
	letter-spacing: 0.05em;
	display: inline-flex;
	align-items: center;
	box-shadow: inset 0 0 1.6em -0.6em #714da6;
	overflow: hidden;
	position: relative;
	height: 2.8em;
	padding-right: 3.3em;
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.aafe-slide-icon-button__btn:focus-visible {
	outline: 2px solid #a370f0;
	outline-offset: 3px;
}

.aafe-slide-icon-button__btn:disabled {
	cursor: default;
	opacity: 0.7;
}

/* ══ 3. ICON BOX ══ */
.aafe-slide-icon-button__icon-box {
	background: white;
	margin-left: 1em;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--aafe-icon-box-size, 2.2em);
	width: var(--aafe-icon-box-size, 2.2em);
	border-radius: 0.7em;
	box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;
	right: 0.3em;
	transition: all var(--aafe-btn-transition, 0.3s) ease;
	z-index: 2;
}

/* Hover - expand the icon box */
.aafe-slide-icon-button__btn:hover .aafe-slide-icon-button__icon-box {
	width: calc(100% - 0.6em) !important;
}

/* Active (Click) State */
.aafe-slide-icon-button__btn:active .aafe-slide-icon-button__icon-box {
	transform: scale(0.95);
}

/* Icon SVG/i element */
.aafe-slide-icon-button__icon-box svg {
	width: 1.1em;
	height: 1.1em;
	transition: transform var(--aafe-btn-transition, 0.3s) ease;
	color: #7b52b9;
	fill: currentColor;
}

.aafe-slide-icon-button__icon-box i {
	font-size: 1.1em;
	transition: transform var(--aafe-btn-transition, 0.3s) ease;
	color: #7b52b9;
}

/* Move icon slightly right on hover */
.aafe-slide-icon-button__btn:hover .aafe-slide-icon-button__icon-box svg,
.aafe-slide-icon-button__btn:hover .aafe-slide-icon-button__icon-box i {
	transform: translateX(0.1em);
}


