/*
 * Sonamea Contact — structural CSS only.
 *
 * Visual design lives in the theme's style.css. This file is intentionally
 * tiny: it hides the honeypot, sets sensible defaults for the grid, and
 * gives the form a baseline so it remains usable when the theme is swapped.
 */

.sc-honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sc-grid {
	display: grid;
	gap: var(--sonamea-space-5);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.sc-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.sc-field {
	display: flex;
	flex-direction: column;
	gap: var(--sonamea-space-2);
	min-width: 0;
}

/* sc-field--full sits OUTSIDE the sc-grid (sibling), so this rule is purely
   for the spacing — the grid-column reference is harmless legacy. */
.sc-field--full {
	margin-top: var(--sonamea-space-5);
}

.sc-input,
.sc-input--textarea {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.sc-status:empty {
	display: none;
}

/* "Submission complete" block — replaces the form entirely on success so
   visitors can't accidentally re-submit. Visual treatment mirrors the
   success status message (padded panel, accent left border) — the theme
   overrides padding/color via .sc-status__msg if needed; this rule keeps
   the structural fallback portable when the theme is swapped. */
.sc-complete {
	padding: 1rem 1.25rem;
	border-left: 3px solid currentColor;
	background: rgba(0, 0, 0, 0.04);
}

.sc-complete__msg {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}
