/* TCM Horizontal Steps Widget */
.tcm-horizontal-steps-wrapper {
	width: 100%;
	position: relative;
	padding: 20px 0;
}

/* Connector Section */
.tcm-steps-connector {
	position: relative;
	margin-bottom: 40px;
	display: flex;
	align-items: center;
}

.tcm-connector-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #73CBD3;
	border-radius: 2px;
	top: 50%;
	transform: translateY(-50%);
	overflow: visible;
}

.tcm-connector-progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: #73CBD3;
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 2px;
	display: none;
	z-index: 1;
}

/* Show animated progress bar when enabled */
.tcm-animate-connector .tcm-connector-progress {
	display: block;
}

/* Connector Bullets */
.tcm-connector-bullets {
	position: relative;
	width: 100%;
	height: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	z-index: 1;
}

.tcm-bullet-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tcm-step-bullet {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #FFFFFF;
	border: 2px solid #73CBD3;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tcm-step-bullet::after {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #334C94;
	transform: scale(0);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active bullet state */
.tcm-step-bullet.active::after {
	transform: scale(1);
}

/* Steps Container */
.tcm-horizontal-steps {
	display: flex;
	justify-content: space-between;
	gap: 80px;
}

.tcm-step {
	flex: 1;
	min-width: 0;
	opacity: 0.5;
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active step state */
.tcm-step.active {
	opacity: 1;
}

.tcm-step-content {
	text-align: left;
}

.tcm-step-title {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 15px 0;
	color: #334C94;
}

.tcm-step-description {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	color: #334C94;
}

.tcm-step-description p {
	margin: 0 0 10px 0;
}

.tcm-step-description p:last-child {
	margin-bottom: 0;
}

.tcm-step-description ul,
.tcm-step-description ol {
	margin: 0 0 10px 0;
	padding-left: 20px;
}

.tcm-step-description ul:last-child,
.tcm-step-description ol:last-child {
	margin-bottom: 0;
}

.tcm-step-description li {
	margin-bottom: 5px;
}

.tcm-step-description li:last-child {
	margin-bottom: 0;
}

.tcm-step-description strong {
	font-weight: 600;
}

.tcm-step-description em {
	font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.tcm-horizontal-steps {
		gap: 40px;
	}
	
	.tcm-step-title {
		font-size: 20px;
	}
	
	.tcm-step-description {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.tcm-horizontal-steps-wrapper {
		padding: 15px 0;
	}
	
	.tcm-steps-connector {
		display: none;
	}
	
	.tcm-horizontal-steps {
		flex-direction: column;
		gap: 40px;
	}
	
	.tcm-step {
		position: relative;
		padding-left: 50px;
	}
	
	.tcm-step::before {
		content: '';
		position: absolute;
		left: 0;
		top: 5px;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background-color: #FFFFFF;
		border: 2px solid #73CBD3;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
		transition: border-color 0.3s ease;
	}
	
	.tcm-step::after {
		content: '';
		position: absolute;
		left: 11px;
		top: 17px;
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background-color: #334C94;
		transform: scale(0);
		transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	}
	
	.tcm-step.active::after {
		transform: scale(1);
	}
	
	.tcm-step-title {
		font-size: 18px;
		margin-bottom: 10px;
	}
	
	.tcm-step-description {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.tcm-horizontal-steps {
		gap: 30px;
	}
	
	.tcm-step {
		padding-left: 40px;
	}
	
	.tcm-step::before {
		width: 20px;
		height: 20px;
	}
	
	.tcm-step::after {
		left: 9px;
		top: 15px;
		width: 10px;
		height: 10px;
	}
	
	.tcm-step-title {
		font-size: 16px;
	}
	
	.tcm-step-description {
		font-size: 13px;
	}
}

/* Editor Specific Styles */
.elementor-editor-active .tcm-horizontal-steps-wrapper {
	min-height: 200px;
}

/* Disable animations in editor for easier editing */
.elementor-editor-active .tcm-step {
	opacity: 1 !important;
}

.elementor-editor-active .tcm-step-bullet.active::after {
	transform: scale(1) !important;
}
