.rfj-batch-enquiry-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid #d8dde7;
	border-radius: 10px;
	background: #fff;
	color: #1f2937;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.rfj-batch-enquiry-trigger:hover,
.rfj-batch-enquiry-trigger:focus {
	border-color: #d1191a;
	background: #fff7f7;
	color: #d1191a;
}

.rfj-batch-enquiry-modal[hidden] {
	display: none;
}

.rfj-batch-enquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.rfj-batch-enquiry-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.rfj-batch-enquiry-modal__dialog {
	position: relative;
	display: flex;
	width: min(1120px, calc(100vw - 48px));
	max-height: min(860px, calc(100vh - 48px));
	max-height: min(860px, calc(100dvh - 48px));
	flex-direction: column;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

.rfj-batch-enquiry-modal__head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 28px 16px;
	border-bottom: 1px solid #e8ecf2;
}

.rfj-batch-enquiry-modal__head span {
	display: block;
	margin-bottom: 6px;
	color: #d1191a;
	font-size: 15px;
	font-weight: 800;
}

.rfj-batch-enquiry-modal__head h2 {
	margin: 0;
	color: #111827;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: 0;
}

.rfj-batch-enquiry-modal__head button {
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	color: #5f6b7f;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
}

.rfj-batch-enquiry-modal__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 18px 28px 0;
}

.rfj-batch-enquiry-modal__body form {
	display: flex;
	min-height: 100%;
	flex-direction: column;
}

.rfj-batch-enquiry-progress {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
	color: #667085;
	font-size: 14px;
	font-weight: 800;
}

.rfj-batch-enquiry-progress span {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: #f2f4f7;
}

.rfj-batch-enquiry-progress span.is-active {
	background: #fff1f1;
	color: #d1191a;
}

.rfj-batch-enquiry-step {
	display: flex;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
}

.rfj-batch-enquiry-step[hidden] {
	display: none;
}

.rfj-batch-enquiry-picker {
	scroll-margin-top: 16px;
}

.rfj-batch-enquiry-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border: 1px solid #e8ecf2;
	border-radius: 12px;
	background: #f8fafc;
}

.rfj-batch-enquiry-summary > div {
	min-width: 0;
}

.rfj-batch-enquiry-summary span {
	display: block;
	margin-bottom: 4px;
	color: #667085;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.rfj-batch-enquiry-summary strong {
	display: block;
	overflow: hidden;
	color: #111827;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rfj-batch-enquiry-summary button {
	flex: 0 0 auto;
	height: 34px;
	padding: 0 14px;
	border: 1px solid #d1191a;
	border-radius: 8px;
	background: #fff;
	color: #d1191a;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.rfj-batch-enquiry-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	max-height: 430px;
	overflow-y: auto;
	padding: 2px 2px 4px;
}

.rfj-batch-enquiry-option {
	display: grid;
	grid-template-columns: 20px 54px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 10px 12px;
	border: 1px solid #d1191a;
	border-radius: 12px;
	background: #fff8f8;
	cursor: pointer;
}

.rfj-batch-enquiry-option:not(:has(input:checked)) {
	border-color: #e3e7ef;
	background: #fff;
}

.rfj-batch-enquiry-option input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.rfj-batch-enquiry-option__logo {
	display: flex;
	width: 54px;
	height: 42px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 10px;
	background: #f5f7fb;
	color: #94a3b8;
}

.rfj-batch-enquiry-option__logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.rfj-batch-enquiry-option__content {
	min-width: 0;
}

.rfj-batch-enquiry-option__content strong,
.rfj-batch-enquiry-option__content small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rfj-batch-enquiry-option__content strong {
	color: #111827;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.rfj-batch-enquiry-option__content small {
	margin-top: 4px;
	color: #667085;
	font-size: 13px;
	line-height: 1.2;
}

.rfj-batch-enquiry-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	color: #667085;
	font-size: 15px;
}

.rfj-batch-enquiry-tools button {
	height: 34px;
	padding: 0 16px;
	border: 1px solid #cfd6e1;
	border-radius: 8px;
	background: #fff;
	color: #344054;
	font-size: 15px;
	cursor: pointer;
}

.rfj-batch-enquiry-field {
	margin-top: 14px;
	scroll-margin-top: 16px;
}

.rfj-batch-enquiry-field[hidden] {
	display: none;
}

.rfj-batch-enquiry-field > label {
	display: block;
	margin-bottom: 6px;
	color: #344054;
	font-size: 16px;
	font-weight: 800;
}

.rfj-batch-enquiry-field input[type="text"],
.rfj-batch-enquiry-field textarea {
	width: 100%;
	border: 1px solid #cfd6e1;
	border-radius: 10px;
	background: #fff;
	color: #111827;
	font-size: 16px;
	line-height: 1.45;
	box-shadow: none;
}

.rfj-batch-enquiry-field input[type="text"] {
	height: 46px;
	padding: 0 14px;
}

.rfj-batch-enquiry-field textarea {
	min-height: 76px;
	padding: 12px 14px;
	resize: vertical;
}

.rfj-batch-enquiry-field input[type="text"]:focus,
.rfj-batch-enquiry-field textarea:focus {
	border-color: #d1191a;
	outline: none;
	box-shadow: 0 0 0 3px rgba(209, 25, 26, 0.12);
}

.rfj-batch-enquiry-field small,
.rfj-batch-enquiry-global-error {
	display: block;
	min-height: 18px;
	margin-top: 4px;
	color: #d1191a;
	font-size: 14px;
	line-height: 1.4;
}

.rfj-batch-enquiry-radio-list {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	color: #475467;
	font-size: 16px;
}

.rfj-batch-enquiry-radio-list label,
.rfj-batch-enquiry-agree {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rfj-batch-enquiry-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}

.rfj-batch-enquiry-sms {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 144px;
	gap: 12px;
}

.rfj-batch-enquiry-sms button {
	height: 46px;
	border: 1px solid #d1191a;
	border-radius: 10px;
	background: #fff;
	color: #d1191a;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.rfj-batch-enquiry-sms button:disabled {
	border-color: #cfd6e1;
	color: #98a2b3;
	cursor: not-allowed;
}

.rfj-batch-enquiry-agree {
	margin-top: 12px;
	color: #475467;
	font-size: 15px;
}

.rfj-batch-enquiry-agree a {
	color: #344054;
	text-decoration: none;
}

.rfj-batch-enquiry-success {
	padding: 28px 4px 8px;
}

.rfj-batch-enquiry-success h3 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
}

.rfj-batch-enquiry-success p {
	margin: 0 0 18px;
	color: #667085;
	font-size: 16px;
	line-height: 1.6;
}

.rfj-batch-enquiry-success-list {
	display: grid;
	gap: 10px;
}

.rfj-batch-enquiry-success-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e8ecf2;
	border-radius: 10px;
	background: #f8fafc;
}

.rfj-batch-enquiry-success-item strong {
	overflow: hidden;
	color: #111827;
	font-size: 15px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rfj-batch-enquiry-success-item a,
.rfj-batch-enquiry-success-item span {
	color: #d1191a;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.rfj-batch-enquiry-success-item span {
	color: #667085;
}

.rfj-batch-enquiry-actions {
	position: sticky;
	bottom: 0;
	display: flex;
	justify-content: flex-end;
	gap: 14px;
	margin-top: auto;
	padding: 14px 0 calc(20px + env(safe-area-inset-bottom));
	background: #fff;
}

.rfj-batch-enquiry-submit,
.rfj-batch-enquiry-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	height: 48px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
}

.rfj-batch-enquiry-submit {
	border: 1px solid #d1191a;
	background: #d1191a;
	color: #fff;
}

.rfj-batch-enquiry-submit:disabled {
	opacity: 0.72;
	cursor: not-allowed;
}

.rfj-batch-enquiry-cancel {
	border: 1px solid #cfd6e1;
	background: #fff;
	color: #344054;
}

body.rfj-batch-enquiry-modal-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.rfj-batch-enquiry-modal {
		align-items: stretch;
		padding: 0;
	}

	.rfj-batch-enquiry-modal__dialog {
		width: 100vw;
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 16px 16px 0 0;
	}

	.rfj-batch-enquiry-modal__head {
		padding: 18px 18px 14px;
	}

	.rfj-batch-enquiry-modal__head h2 {
		font-size: 23px;
	}

	.rfj-batch-enquiry-modal__body {
		padding: 14px 16px 0;
	}

	.rfj-batch-enquiry-summary {
		align-items: flex-start;
		padding: 10px 12px;
	}

	.rfj-batch-enquiry-summary strong {
		white-space: normal;
	}

	.rfj-batch-enquiry-list,
	.rfj-batch-enquiry-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rfj-batch-enquiry-list {
		max-height: calc(100dvh - 250px);
		gap: 10px;
	}

	.rfj-batch-enquiry-option {
		grid-template-columns: 22px 58px minmax(0, 1fr);
		min-height: 76px;
		padding: 10px 12px;
	}

	.rfj-batch-enquiry-option__logo {
		width: 58px;
		height: 48px;
	}

	.rfj-batch-enquiry-field {
		margin-top: 14px;
	}

	.rfj-batch-enquiry-field textarea {
		min-height: 84px;
	}

	.rfj-batch-enquiry-radio-list {
		gap: 14px;
		font-size: 16px;
	}

	.rfj-batch-enquiry-actions {
		gap: 10px;
		padding-top: 14px;
	}

	.rfj-batch-enquiry-submit,
	.rfj-batch-enquiry-cancel {
		flex: 1 1 0;
		min-width: 0;
	}
}
