/**
 * EAM Inquiry / Quote System V1
 * Scoped to the reusable form so it can coexist with any WordPress theme.
 */

.eam-inquiry-form {
	--eam-iq-navy: #082b45;
	--eam-iq-blue: #0b6fb8;
	--eam-iq-cyan: #39b9e6;
	--eam-iq-ice: #eaf6fb;
	--eam-iq-steel: #e7edf2;
	--eam-iq-text: #082c4a;
	--eam-iq-muted: #5b6f7f;
	box-sizing: border-box;
	width: min(100%, 820px);
	margin: 0 auto;
	color: var(--eam-iq-text);
	font: inherit;
}

.eam-inquiry-form *,
.eam-inquiry-form *::before,
.eam-inquiry-form *::after {
	box-sizing: border-box;
}

.eam-inquiry-form__form {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--eam-iq-steel);
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(8, 43, 69, 0.07);
}

.eam-inquiry-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 22px;
}

.eam-inquiry-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 8px;
}

.eam-inquiry-field--full {
	grid-column: 1 / -1;
}

.eam-inquiry-field label {
	color: var(--eam-iq-navy);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
}

.eam-inquiry-field label span {
	color: var(--eam-iq-blue);
}

.eam-inquiry-field input,
.eam-inquiry-field textarea {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #bdcbd5;
	border-radius: 5px;
	outline: 0;
	background: #fff;
	color: var(--eam-iq-text);
	font: inherit;
	line-height: 1.5;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.eam-inquiry-field textarea {
	min-height: 118px;
	resize: vertical;
}

.eam-inquiry-field input[type="file"] {
	height: auto;
	padding: 10px;
	background: var(--eam-iq-ice);
}

.eam-inquiry-field input:focus,
.eam-inquiry-field textarea:focus {
	border-color: var(--eam-iq-blue);
	box-shadow: 0 0 0 3px rgba(57, 185, 230, 0.2);
}

.eam-inquiry-field small,
.eam-inquiry-privacy {
	color: var(--eam-iq-muted);
	font-size: 0.82rem;
	line-height: 1.55;
}

.eam-inquiry-privacy {
	margin: 22px 0 16px;
}

.eam-inquiry-submit {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 1px solid var(--eam-iq-blue);
	border-radius: 5px;
	background: var(--eam-iq-blue);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.eam-inquiry-submit:hover,
.eam-inquiry-submit:focus-visible {
	border-color: var(--eam-iq-navy);
	background: var(--eam-iq-navy);
	box-shadow: 0 0 0 3px rgba(57, 185, 230, 0.22);
}

.eam-inquiry-notice,
.eam-inquiry-product-context {
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 1px solid var(--eam-iq-steel);
	border-left: 3px solid var(--eam-iq-cyan);
	border-radius: 5px;
	background: var(--eam-iq-ice);
}

.eam-inquiry-notice p {
	margin: 5px 0 0;
}

.eam-inquiry-notice--error {
	border-left-color: #b42318;
	background: #fff5f4;
}

.eam-inquiry-product-context {
	display: grid;
	gap: 3px;
}

.eam-inquiry-product-context span,
.eam-inquiry-product-context small {
	color: var(--eam-iq-muted);
}

.eam-inquiry-product-context strong {
	color: var(--eam-iq-navy);
	font-size: 1.08rem;
}

.eam-inquiry-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 700px) {
	.eam-inquiry-grid {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.eam-inquiry-field--full {
		grid-column: auto;
	}

	.eam-inquiry-submit {
		width: 100%;
	}
}

