.xsb-form {
	direction: rtl;
	text-align: right;
	max-width: 700px;
	margin: 20px auto;
	font-family: 'Tajawal';
}

.xsb-progress {
	margin-bottom: 24px;
}

.xsb-progress-bar {
	background: #e5e7eb;
	border-radius: 6px;
	height: 8px;
	overflow: hidden;
}

.xsb-progress-fill {
	background: #16a34a;
	height: 100%;
	width: 0;
	transition: width .25s ease;
}

.xsb-progress-text {
	font-size: 13px;
	color: #6b7280;
	margin-top: 6px;
}

.xsb-step-title {
	margin: 0 0 18px;
	font-size: 19px;
	color: #14532d;
	border-right: 4px solid #16a34a;
	padding-right: 10px;
}

.xsb-field {
	margin-bottom: 20px;
}

.xsb-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.xsb-req-star {
	color: #dc2626;
}

.xsb-field input[type="text"],
.xsb-field input[type="email"],
.xsb-field input[type="number"],
.xsb-field textarea,
.xsb-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}

.xsb-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.xsb-choice {
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.xsb-choice input {
	margin: 0;
}

.xsb-field-error {
	display: none;
	color: #dc2626;
	font-size: 13px;
	margin-top: 6px;
}

.xsb-field.xsb-has-error .xsb-field-error {
	display: block;
}

.xsb-field.xsb-has-error input,
.xsb-field.xsb-has-error textarea,
.xsb-field.xsb-has-error select {
	border-color: #dc2626;
}

.xsb-mode-single .xsb-step {
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid #e5e7eb;
}

.xsb-mode-single .xsb-step:last-child {
	border-bottom: none;
}

.xsb-mode-single .xsb-nav {
	justify-content: center;
}

.xsb-mode-single .xsb-submit-single {
	min-width: 220px;
}

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

.xsb-btn {
    font-family: 'Tajawal';
	padding: 11px 26px;
	border-radius: 6px;
	border: none;
	font-size: 15px;
	cursor: pointer;
}

.xsb-btn-primary {
	background: #16a34a;
	color: #fff;
	margin-right: auto;
	margin-left: 0;
}

.xsb-btn-secondary {
	background: #f3f4f6;
	color: #374151;
}

.xsb-btn-primary:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.xsb-form-message {
	padding: 14px 16px;
	border-radius: 6px;
	font-size: 15px;
	margin-top: 14px;
}

.xsb-msg-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.xsb-msg-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}
