/* Qichenshop inquiry form enhancements (MetForm form 631). */

/* Privacy / reply-time line under the form. */
.qc-inq-privacy {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #6b7280;
}
.qc-inq-privacy::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #1B2A4A;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1 5h2v6h-2V7Zm0 8h2v2h-2v-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1 5h2v6h-2V7Zm0 8h2v2h-2v-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
	background-color: #1B2A4A;
}

/* Preferred contact method dynamic hint. */
.qc-inq-cm-hint {
	display: none;
	align-items: flex-start;
	gap: 9px;
	margin-top: 9px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-left: 3px solid #1B2A4A;
	border-radius: 6px;
	background: #f6f7fa;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
}
.qc-inq-cm-hint.is-on { display: flex; }
.qc-inq-cm-icon {
	flex: 0 0 auto;
	color: #1B2A4A;
	line-height: 0;
	padding-top: 1px;
}
.qc-inq-cm-text strong {
	display: block;
	font-weight: 600;
	color: #1B2A4A;
	margin-bottom: 1px;
}

/* Floating success card (in place of the form after submission). */
.qc-inq-success {
	margin: 18px 0;
	padding: 28px 26px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-top: 3px solid #1B2A4A;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(13, 20, 39, 0.08);
	font-family: "IBM Plex Sans", sans-serif;
	animation: qcInqPop 0.35s ease-out;
}
@keyframes qcInqPop {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}
.qc-inq-success-head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.qc-inq-success-check {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #1B2A4A;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.qc-inq-success-title {
	font-size: 19px;
	font-weight: 600;
	color: #1B2A4A;
}
.qc-inq-success-text {
	margin: 12px 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: #4b5563;
}
.qc-inq-pdf-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: #1B2A4A;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}
.qc-inq-pdf-btn:hover {
	background: #1B2A4A;
	transform: translateY(-1px);
	color: #ffffff;
}

/* Mobile: force single column, labels stay above fields (MetForm default). */
@media (max-width: 767px) {
	.mf-form-wrapper .elementor-container { flex-wrap: wrap; }
	.mf-form-wrapper .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
	}
	.mf-form-wrapper .elementor-widget-wrap { padding-left: 0 !important; padding-right: 0 !important; }
	.mf-form-wrapper .mf-button-container button,
	.mf-form-wrapper input[type="submit"],
	.mf-form-wrapper .mf_submit input {
		width: 100%;
	}
	.qc-inq-success { padding: 22px 18px; }
	.qc-inq-success-title { font-size: 17px; }
	.qc-inq-pdf-btn { width: 100%; justify-content: center; }
}
