/**
 * WebXtrm CTA Banner Widget Styles
 */

.wx-cta-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 36px;
	background: #0a1220;
	border: 1px solid rgba(0, 201, 240, 0.15);
	border-radius: 14px;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.wx-cta-banner * {
	box-sizing: border-box;
}

/* Optional subtle radial accent in background */
.wx-cta-banner::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 20%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(0, 201, 240, 0.04) 0%, transparent 60%);
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 0;
}

/* Left side (icon + text) */
.wx-cta-left {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: 1;
	min-width: 0;
	position: relative;
	z-index: 1;
}

/* Icon Circle */
.wx-cta-icon {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(0, 201, 240, 0.08);
	border: 1.5px solid rgba(0, 201, 240, 0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wx-cta-icon svg {
	width: 22px;
	height: 22px;
	fill: #00c9f0;
	color: #00c9f0;
	display: block;
}

.wx-cta-icon i {
	font-size: 22px;
	color: #00c9f0;
	line-height: 1;
}

/* Text block */
.wx-cta-text {
	flex: 1;
	min-width: 0;
}

.wx-cta-title {
	font-family: 'Inter', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.25;
	margin: 0 0 6px 0;
}

.wx-cta-highlight {
	color: #00c9f0;
}

.wx-cta-desc {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #9aacbd;
	line-height: 1.5;
	margin: 0;
}

/* Button */
.wx-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	background: #00c9f0;
	color: #000000;
	border: none;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
	flex-shrink: 0;
	white-space: nowrap;
	position: relative;
	z-index: 1;
}

.wx-cta-btn:hover {
	background: #00e8ff;
	color: #000000;
}

.wx-cta-btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.wx-cta-btn:hover .wx-cta-btn-arrow {
	transform: translateX(4px);
}

.wx-cta-btn-arrow svg {
	width: 14px;
	height: 14px;
	fill: #000000;
	color: #000000;
	display: block;
}

.wx-cta-btn-arrow i {
	font-size: 14px;
	color: #000000;
	line-height: 1;
}

/* Mobile stack — only applies when class is present */
@media (max-width: 760px) {
	.wx-cta-banner--stack-mobile {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	.wx-cta-banner--stack-mobile .wx-cta-left {
		flex-direction: row;
		align-items: center;
	}

	.wx-cta-banner--stack-mobile .wx-cta-btn {
		width: 100%;
		padding: 14px 22px;
	}
}

@media (max-width: 480px) {
	.wx-cta-banner--stack-mobile .wx-cta-left {
		gap: 14px;
	}
	.wx-cta-title {
		font-size: 18px;
	}
}
