/**
 * JSB compact inquiry forms — shared state styles (home / shortcode skins).
 * The article sidebar skin reuses the existing jsb-resources.css classes
 * (.jsb-res-field-error, .jsb-res-rfq-status, .jsb-rfq-hp, ...).
 */

/* Honeypot field — kept out of the visible layout. */
.jsb-cu-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* Per-field invalid highlight for inline-styled (home) and shortcode forms. */
.jsb-cu-compact .is-invalid input,
.jsb-cu-compact .is-invalid select,
.jsb-cu-compact .is-invalid textarea {
	border-color: #D9534F !important;
	background: #FDF6F5 !important;
}

/* Global same-page message (home / shortcode skins). */
.jsb-cu-compact-msg {
	font-size: 13px;
	font-weight: 600;
	margin: 12px 0 0;
	text-align: center;
}
.jsb-cu-compact-msg.is-error { color: #C0392B; }
.jsb-cu-compact-msg.is-success { color: #1F6B2E; }

/* Success panel (home / shortcode skins). */
.jsb-cu-compact-success {
	text-align: center;
	padding: 30px 10px;
}
.jsb-cu-compact-success h4 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: #1F6B2E;
}
.jsb-cu-compact-success p {
	margin: 0;
	font-size: 14px;
	color: #4B5563;
	line-height: 1.6;
}
