.mf-wrapper {
	max-width: 640px;
	margin: 0 auto;
	font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", Tahoma, sans-serif;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mf-progress {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-bottom: 24px;
}

.mf-progress-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #eee;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}

.mf-progress-dot.active {
	background: #14603c;
	color: #fff;
}

.mf-step-title {
	text-align: center;
	color: #14603c;
	margin-bottom: 18px;
	font-size: 22px;
}

.mf-field {
	margin-bottom: 18px;
	text-align: right;
}

.mf-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 17px;
	color: #333;
}

.mf-required {
	color: #b91c1c;
	margin-right: 4px;
}

.mf-hp-wrap {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

.mf-checkbox-label {
	display: inline !important;
	margin-inline-start: 8px;
	font-size: 15px;
}

.mf-ref-note {
	font-size: 13px;
	color: #777;
}

.mf-group-label {
	font-size: 17px;
	color: #333;
	margin-bottom: 8px;
	text-align: right;
}

.mf-radio-group,
.mf-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-end;
}

.mf-radio-option,
.mf-checkbox-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	cursor: pointer;
}

.mf-field input[readonly] {
	background: #f0f0f1;
	color: #555;
}

.mf-captcha-wrap {
	background: #f7f7f2;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 12px;
}

.mf-captcha-wrap label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
}

.mf-captcha-wrap input[type="text"] {
	width: 120px;
	direction: ltr;
	text-align: center;
}

.mf-notice {
	background: #fff8e5;
	border: 1px solid #f0dca0;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 15px;
	color: #6b5410;
}

.mf-error-box {
	background: #fdeaea;
	border: 1px solid #e5b3b3;
	color: #8a2020;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.mf-field input[type="text"],
.mf-field input[type="tel"],
.mf-field textarea,
.mf-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
	text-align: right;
	direction: rtl;
	box-sizing: border-box;
}

.mf-field input[type="file"] {
	width: 100%;
	padding: 8px 0;
	direction: ltr;
	text-align: left;
}

.mf-field input[type="checkbox"] {
	width: auto;
	margin-inline-start: 8px;
}

.mf-field input[type="date"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
	direction: ltr;
	box-sizing: border-box;
}

.mf-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
}

.mf-btn {
	padding: 12px 28px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	background: #14603c;
	color: #fff;
}

.mf-btn.mf-prev {
	background: #999;
}

.mf-btn:hover {
	opacity: 0.9;
}

.mf-thankyou {
	max-width: 500px;
	margin: 0 auto;
	text-align: center;
	padding: 30px;
	font-family: "Noto Nastaliq Urdu", Tahoma, sans-serif;
}

.mf-ref {
	font-size: 22px;
	color: #14603c;
	padding: 10px;
	background: #f2f8f4;
	border-radius: 8px;
	display: inline-block;
}

.mf-error {
	color: #b91c1c;
	font-size: 14px;
	margin-top: 6px;
}
