/**
 * Multi-Step Forms CSS - SkunkForms Pro
 */

.skunkforms-multi-step {
	position: relative;
}

.skunkforms-step {
	display: none;
}

.skunkforms-step.active {
	display: block;
}

.skunkforms-step-navigation {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.skunkforms-step-btn {
	background: #6366f1;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.2s;
}

.skunkforms-step-btn:hover {
	background: #4f46e5;
}

.skunkforms-step-btn:disabled {
	background: #d1d5db;
	cursor: not-allowed;
}

.skunkforms-step-btn.secondary {
	background: transparent;
	color: #6b7280;
	border: 1px solid #d1d5db;
}

.skunkforms-step-btn.secondary:hover {
	background: #f9fafb;
	color: #374151;
}

.skunkforms-progress-bar {
	margin-bottom: 30px;
}

.skunkforms-progress-steps {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin-bottom: 10px;
}

.skunkforms-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
	min-width: 80px;
}

.skunkforms-progress-step-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e5e7eb;
	border: 2px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
	color: #6b7280;
	transition: all 0.3s;
}

.skunkforms-progress-step.completed .skunkforms-progress-step-circle {
	background: #10b981;
	border-color: #10b981;
	color: white;
}

.skunkforms-progress-step.active .skunkforms-progress-step-circle {
	background: #6366f1;
	border-color: #6366f1;
	color: white;
}

.skunkforms-progress-step-label {
	margin-top: 8px;
	font-size: 12px;
	color: #6b7280;
	text-align: center;
	font-weight: 500;
}

.skunkforms-progress-step.active .skunkforms-progress-step-label {
	color: #6366f1;
}

.skunkforms-progress-step.completed .skunkforms-progress-step-label {
	color: #10b981;
}

.skunkforms-progress-line {
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	height: 2px;
	background: #e5e7eb;
	z-index: 1;
}

.skunkforms-progress-fill {
	height: 100%;
	background: #10b981;
	transition: width 0.3s ease;
	width: 0%;
}

/* Responsive */
@media (max-width: 768px) {
	.skunkforms-progress-steps {
		flex-direction: column;
		gap: 16px;
	}
	
	.skunkforms-progress-line {
		display: none;
	}
	
	.skunkforms-step-navigation {
		flex-direction: column;
		gap: 12px;
	}
	
	.skunkforms-step-btn {
		width: 100%;
	}
}

/* Step validation errors */
.skunkforms-step-error {
	color: #dc2626;
	font-size: 14px;
	margin-top: 10px;
	padding: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 4px;
}

/* Smooth transitions */
.skunkforms-step {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}