body.wcfb-strict-lead-gate-active #btn_close_dflip_lock_modal,
#dflip_page_lock_overlay #btn_close_dflip_lock_modal {
	display: none !important;
}

.wcfb-lead-gate-success-card {
	text-align: center;
	padding: 10px 4px 4px;
}

.wcfb-lead-gate-success-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #ecfdf5;
	border: 2px solid #86efac;
	color: #047857;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 27px;
	font-weight: 900;
}

.wcfb-lead-gate-success-card h4 {
	margin: 0 0 8px;
	color: #0f172a;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 900;
}

.wcfb-lead-gate-success-card p {
	margin: 0;
	color: #475569;
	font-size: 13px;
	line-height: 1.55;
	font-weight: 600;
}

.wcfb-enquiries-header-btn {
	background: #4c1d95 !important;
	border: 1px solid #8b5cf6 !important;
	color: #ffffff !important;
	padding: 8px 15px !important;
	border-radius: 8px !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	box-sizing: border-box !important;
	box-shadow: 0 4px 14px rgba(76, 29, 149, 0.38) !important;
}

.wcfb-enquiries-header-icon {
	font-size: 13px;
	line-height: 1;
}

.wcfb-enquiries-view {
	width: 100%;
	box-sizing: border-box;
}

.wcfb-enquiries-panel {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	margin-bottom: 40px;
}

.wcfb-enquiries-topbar {
	background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
	color: #ffffff;
	padding: 18px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.wcfb-enquiries-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wcfb-enquiries-title-wrap h2 {
	margin: 0;
	color: #ffffff;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
}

.wcfb-enquiries-title-wrap span {
	display: block;
	margin-top: 2px;
	color: #94a3b8;
	font-size: 11.5px;
	font-weight: 600;
}

.wcfb-enquiries-back,
.wcfb-enquiries-actions button {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
	padding: 7px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.wcfb-enquiries-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

#wcfb-enquiry-count-tag {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
	padding: 7px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
}

.wcfb-enquiries-table-wrap {
	padding: 12px 24px 22px;
	overflow-x: auto;
}

.wcfb-enquiries-table {
	width: 100%;
	min-width: 1080px;
	border-collapse: collapse;
	font-size: 12.5px;
	text-align: left;
}

.wcfb-enquiries-table th {
	background: #f8fafc;
	color: #475569;
	font-weight: 900;
	padding: 12px 14px;
	border-bottom: 2px solid #e2e8f0;
	white-space: nowrap;
}

.wcfb-enquiries-table td {
	padding: 13px 14px;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: top;
	color: #334155;
}

.wcfb-enquiries-table tbody tr:hover td {
	background: #f8fafc;
}

.wcfb-client-meta {
	margin-top: 5px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #64748b;
	font-size: 11.5px;
	font-weight: 600;
}

.wcfb-requirement-cell {
	max-width: 320px;
	max-height: 74px;
	overflow: auto;
	white-space: pre-wrap;
	line-height: 1.45;
	color: #475569;
}

.wcfb-read-receipt {
	font-size: 15px;
	font-weight: 900;
	letter-spacing: -1px;
	cursor: default;
	white-space: nowrap;
}

.wcfb-read-receipt.is-unread {
	color: #94a3b8;
}

.wcfb-read-receipt.is-read {
	color: #2563eb;
}

.wcfb-transfer-btn {
	background: #eff6ff;
	border: 1.5px solid #2563eb;
	color: #1d4ed8;
	border-radius: 7px;
	padding: 7px 11px;
	font-size: 11.5px;
	font-weight: 900;
	cursor: pointer;
	white-space: nowrap;
}

.wcfb-muted-action {
	color: #94a3b8;
	font-size: 11.5px;
	font-weight: 800;
}

.wcfb-enquiries-empty {
	padding: 38px 18px !important;
	text-align: center;
	color: #94a3b8 !important;
	font-size: 13px;
	font-weight: 700;
}

.wcfb-enquiries-empty.is-error {
	color: #b91c1c !important;
}

.wcfb-enquiry-transfer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(5px);
	z-index: 9999999;
	align-items: center;
	justify-content: center;
	padding: 18px;
	box-sizing: border-box;
}

.wcfb-enquiry-transfer-modal {
	background: #ffffff;
	width: 100%;
	max-width: 430px;
	border-radius: 14px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
	padding: 22px;
	box-sizing: border-box;
}

.wcfb-enquiry-transfer-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.wcfb-enquiry-transfer-head h3 {
	margin: 0;
	color: #0f172a;
	font-size: 17px;
	font-weight: 900;
}

.wcfb-enquiry-transfer-head button {
	background: #f1f5f9;
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	color: #475569;
	font-weight: 900;
	cursor: pointer;
}

.wcfb-enquiry-transfer-modal p {
	margin: 0 0 14px;
	color: #64748b;
	font-size: 12.5px;
	font-weight: 600;
}

#wcfb-transfer-agent-select {
	width: 100%;
	height: 40px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	background: #ffffff;
	box-sizing: border-box;
}

.wcfb-enquiry-transfer-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

.wcfb-enquiry-transfer-actions button {
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 12px;
	font-weight: 900;
	cursor: pointer;
	border: 1.5px solid #cbd5e1;
	background: #f8fafc;
	color: #334155;
}

#btn-confirm-enquiry-transfer {
	background: #2563eb;
	border-color: #1d4ed8;
	color: #ffffff;
}

@media (max-width: 768px) {
	.wcfb-enquiries-topbar,
	.wcfb-enquiries-title-wrap,
	.wcfb-enquiries-actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.wcfb-enquiries-back,
	.wcfb-enquiries-actions button,
	#wcfb-enquiry-count-tag {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	.wcfb-enquiries-table {
		min-width: 0;
	}

	.wcfb-enquiries-table thead {
		display: none;
	}

	.wcfb-enquiries-table,
	.wcfb-enquiries-table tbody,
	.wcfb-enquiries-table tr,
	.wcfb-enquiries-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.wcfb-enquiries-table tr {
		border: 1px solid #e2e8f0;
		border-radius: 10px;
		margin-bottom: 12px;
		overflow: hidden;
		background: #ffffff;
	}

	.wcfb-enquiries-table td {
		display: flex;
		justify-content: space-between;
		gap: 14px;
		border-bottom: 1px solid #f1f5f9;
	}

	.wcfb-enquiries-table td::before {
		content: attr(data-label);
		color: #64748b;
		font-size: 11px;
		font-weight: 900;
		text-transform: uppercase;
		letter-spacing: 0.3px;
		flex: 0 0 96px;
	}

	.wcfb-requirement-cell {
		max-width: none;
		text-align: right;
	}
}
