/* Onboarding Steps Widget — base styles
   Colours/typography/sizes set in this file act as fallback defaults;
   Elementor's Style tab controls override these via inline selectors. */

.onb-steps-wrapper {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
}

.onb-steps-wrapper * {
	box-sizing: border-box;
}

.onb-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 60px auto;
}

.onb-title {
	margin: 0 0 12px 0;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.2;
	color: #111827;
}

.onb-subtitle {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: #6B7280;
}

.onb-steps-row {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.onb-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 4 1 0;
	min-width: 0;
	padding: 0 12px;
}

.onb-icon-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.onb-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	border: 2px solid #E3E7F1;
	background-color: #FBFBFE;
	color: #1E3A8A;
	font-size: 18px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.onb-step.onb-active .onb-icon {
	background-color: #0B1F4D;
	border-color: #0B1F4D;
	color: #FFFFFF;
	box-shadow: 0 8px 20px rgba(11, 31, 77, 0.35);
	transform: scale(1.05);
}

.onb-step-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.onb-step-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #6B7280;
	max-width: 220px;
}

.onb-connector {
	flex: 0 1 20px;
	max-width: 30px;
	height: 2px;
	margin-top: 27px;
	/* aligns with the vertical center of the 56px icon */
	min-width: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.onb-title {
		font-size: 32px;
	}

	.onb-step-desc {
		max-width: 180px;
	}
}

@media (max-width: 767px) {
	.onb-steps-row {
		flex-direction: column;
		align-items: stretch;
	}

	.onb-step {
		flex-direction: row;
		text-align: left;
		align-items: flex-start;
		padding: 0;
		margin-bottom: 24px;
	}

	.onb-icon-wrap {
		margin-bottom: 0;
		margin-right: 16px;
		flex-shrink: 0;
	}

	.onb-step-desc {
		max-width: none;
	}

	.onb-connector {
		width: 2px;
		height: 16px;
		margin: 0 0 0 27px;
		flex: 0 0 auto;
	}
}