/* Multi-step form wizard navigation */

fieldset.sectionwrap {
	border-width: 0;
	padding: 0;
}

legend {
	font-size: 17px;
	font-weight: 600;
	color: #1e40af;
	font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
	margin-bottom: 16px;
}

div.stepsguide {
	width: 100%;
	overflow: hidden;
	margin-bottom: 24px;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background: #f1f5f9;
	border-radius: 12px;
	padding: 12px;
	box-sizing: border-box;
}

div.stepsguide .step {
	width: auto;
	flex: 1 1 140px;
	font: 600 14px 'Inter', 'Segoe UI', system-ui, sans-serif;
	float: none;
	padding: 12px 16px;
	border-radius: 8px;
	color: #1e40af;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	transition: background 0.2s ease, color 0.2s ease;
}

div.stepsguide .disabledstep {
	color: #94a3b8;
	background: transparent;
	box-shadow: none;
	font-weight: 500;
}

div.stepsguide .step .smalltext {
	font-size: 11px;
	font-weight: 400;
	color: #64748b;
	margin-top: 4px;
}

div.formpaginate {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	font-weight: 600;
	text-align: center;
	margin-top: 24px;
	float: none;
	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

div.formpaginate .prev,
div.formpaginate .next {
	border-radius: 8px;
	padding: 10px 24px;
	background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	border: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

div.formpaginate .prev:hover,
div.formpaginate .next:hover {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
}

@media (max-width: 768px) {
	div.stepsguide .step {
		flex: 1 1 100%;
	}

	div.formpaginate {
		flex-direction: column;
	}

	div.formpaginate .prev,
	div.formpaginate .next {
		width: 100%;
		text-align: center;
	}
}
