/**
 * Phytest Progress Steps Styles
 * Pixel-perfect progress steps design
 */

/* Wrapper */
.phytest-progress-steps-wrapper {
	width: 100%;
	padding: 60px 20px;
	background: #ffffff;
	background: linear-gradient(135deg, #ffffff 0%, #ffffff 70%, #f8f8f8 100%);
	position: relative;
}

.phytest-progress-steps-wrapper::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 40%;
	height: 60%;
	background: linear-gradient(135deg, transparent 0%, rgba(240, 240, 240, 0.3) 100%);
	pointer-events: none;
	border-radius: 100% 0 0 0;
}

/* Container */
.phytest-progress-steps-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	gap: 40px;
	position: relative;
	z-index: 1;
	align-items: flex-start;
}

/* Individual Step */
.phytest-progress-step {
	flex: 1;
	min-width: 0;
}

/* Current Step - Larger */
.phytest-progress-step-current {
	flex: 2.5;
	transform: scale(1);
}

/* Next and Later Steps - Smaller */
.phytest-progress-step-next,
.phytest-progress-step-later {
	flex: 1;
	transform: scale(0.95);
	opacity: 0.85;
}

/* Step Label */
.phytest-progress-step-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
}

/* Current Step Label */
.phytest-progress-step-current .phytest-progress-step-label {
	color: #1a1a1a;
	font-weight: 700;
	font-size: 16px;
}

/* Next/Later Step Labels */
.phytest-progress-step-next .phytest-progress-step-label,
.phytest-progress-step-later .phytest-progress-step-label {
	color: #9e9e9e;
	font-weight: 600;
	font-size: 13px;
}

/* Progress Bar Container */
.phytest-progress-bar-container {
	width: 100%;
	height: 12px;
	background: #e8e8e8;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Current Step Progress Bar - Larger */
.phytest-progress-step-current .phytest-progress-bar-container {
	height: 14px;
}

/* Next/Later Step Progress Bar - Smaller */
.phytest-progress-step-next .phytest-progress-bar-container,
.phytest-progress-step-later .phytest-progress-bar-container {
	height: 10px;
}

/* Progress Bar */
.phytest-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #4a90e2 0%, #7b68ee 100%);
	background: linear-gradient(90deg, #5b9fd8 0%, #8b7ae6 50%, #9d6dd9 100%);
	border-radius: 20px;
	transition: width 0.6s ease;
	position: relative;
	box-shadow: 0 2px 8px rgba(123, 104, 238, 0.3);
}

/* Empty Bar State */
.phytest-progress-bar-empty {
	background: #e8e8e8;
}

/* Step Content (only for current step) */
.phytest-progress-step-content {
	margin-top: 20px;
	text-align: left;
}

/* Step Title */
.phytest-progress-step-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
	margin: 0 0 12px 0;
	padding: 0;
	text-align: left;
}

/* Current Step Title - Larger */
.phytest-progress-step-current .phytest-progress-step-title {
	font-size: 28px;
}

/* Next/Later Step Titles - Smaller */
.phytest-progress-step-next .phytest-progress-step-title,
.phytest-progress-step-later .phytest-progress-step-title {
	font-size: 18px;
}

/* Step Description */
.phytest-progress-step-description {
	font-size: 16px;
	font-weight: 400;
	color: #4a4a4a;
	line-height: 1.6;
	margin: 0 0 16px 0;
	padding: 0;
	max-width: 600px;
	text-align: left;
}

/* Current Step Description - Larger */
.phytest-progress-step-current .phytest-progress-step-description {
	font-size: 17px;
}

/* Next/Later Step Descriptions - Smaller */
.phytest-progress-step-next .phytest-progress-step-description,
.phytest-progress-step-later .phytest-progress-step-description {
	font-size: 14px;
	color: #6a6a6a;
}

/* Step Link */
.phytest-progress-step-link {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	color: #7b68ee;
	text-decoration: underline;
	transition: all 0.3s ease;
	cursor: pointer;
	text-align: left;
}

.phytest-progress-step-link:hover {
	color: #6b4fbb;
	text-decoration: underline;
	transform: translateX(3px);
}

.phytest-progress-step-link:active {
	color: #5a3fa0;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.phytest-progress-steps-container {
		gap: 30px;
	}
	
	.phytest-progress-step-title {
		font-size: 22px;
	}
	
	.phytest-progress-step-description {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	.phytest-progress-steps-wrapper {
		padding: 40px 20px;
	}
	
	.phytest-progress-steps-container {
		flex-direction: column;
		gap: 28px;
	}
	
	.phytest-progress-step {
		width: 100%;
	}
	
	.phytest-progress-step-next,
	.phytest-progress-step-later {
		transform: scale(1);
		opacity: 1;
	}
	
	.phytest-progress-step-label {
		font-size: 13px;
		margin-bottom: 10px;
	}
	
	.phytest-progress-bar-container {
		height: 10px;
	}
	
	.phytest-progress-step-current .phytest-progress-bar-container {
		height: 12px;
	}
	
	.phytest-progress-step-title {
		font-size: 22px;
		margin-bottom: 10px;
	}
	
	.phytest-progress-step-current .phytest-progress-step-title {
		font-size: 24px;
	}
	
	.phytest-progress-step-next .phytest-progress-step-title,
	.phytest-progress-step-later .phytest-progress-step-title {
		font-size: 18px;
	}
	
	.phytest-progress-step-description {
		font-size: 15px;
		margin-bottom: 14px;
	}
	
	.phytest-progress-step-link {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.phytest-progress-steps-wrapper {
		padding: 30px 15px;
	}
	
	.phytest-progress-steps-container {
		flex-direction: column;
		gap: 24px;
	}
	
	.phytest-progress-step {
		width: 100%;
	}
	
	.phytest-progress-step-label {
		font-size: 12px;
		margin-bottom: 8px;
	}
	
	.phytest-progress-bar-container {
		height: 8px;
	}
	
	.phytest-progress-step-title {
		font-size: 20px;
		margin-bottom: 8px;
	}
	
	.phytest-progress-step-description {
		font-size: 14px;
		margin-bottom: 12px;
		line-height: 1.5;
	}
	
	.phytest-progress-step-link {
		font-size: 14px;
	}
}

/* Animation for progress bar on load */
@keyframes progressAnimation {
	from {
		width: 0;
	}
}

.phytest-progress-bar {
	animation: progressAnimation 1s ease-out;
}

