/* octoedit_forms - front-end form layout (uses the octoedit theme's tokens) */
.ofm { max-width: none; margin: 0 0 2rem; } /* as wide as the feature-grid cards above it */
.ofm.card:hover { transform: none; }
.ofm-form { margin: 0; }
.ofm-field { margin: 0 0 1.25rem; }
.ofm-field > label {
	display: block;
	margin: 0 0 .4rem;
	font-weight: 600;
	color: var(--text, #eef3fa);
}
.ofm-req { color: var(--plug-orange, #f2994a); font-weight: 700; margin-left: 2px; }
.ofm-field input[type="text"],
.ofm-field input[type="email"],
.ofm-field input[type="number"],
.ofm-field select,
.ofm-field textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	height: auto;
	min-height: 46px;
	margin: 0;
	padding: 10px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--text, #eef3fa);
	background: var(--bg, #0a0e16);
	border: 1px solid var(--border-2, #2a3b57);
	border-radius: var(--radius-sm, 10px);
}
.ofm-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.ofm-field select { -webkit-appearance: menulist; appearance: auto; }
.ofm-field select option { color: #111; background: #fff; }
.ofm-field input:focus,
.ofm-field select:focus,
.ofm-field textarea:focus {
	outline: none;
	border-color: var(--accent, #22d3ee);
	box-shadow: 0 0 0 3px var(--accent-soft, rgba(34, 211, 238, .12));
}
.ofm-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	cursor: pointer;
	color: var(--text-dim, #c3cfe1);
}
.ofm-check input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; }
.ofm-help, .ofm-note { margin: .4rem 0 0; font-size: .88rem; color: var(--text-mute, #9aabc3); }
.ofm-field--checkbox .ofm-help { margin-left: 28px; }
.ofm-note { margin: 0 0 1rem; }
.ofm-actions { margin-top: 1.25rem; }
.ofm-actions .btn { width: auto; margin-top: 0; }
.ofm-errors {
	margin: 0 0 1.5rem;
	padding: 14px 18px;
	border: 1px solid rgba(242, 153, 74, .6);
	border-radius: var(--radius-sm, 10px);
	background: rgba(242, 153, 74, .1);
	color: var(--text, #eef3fa);
}
.ofm-errors p { margin: 0 0 .4rem; }
.ofm-errors ul { margin: 0; padding-left: 1.2rem; }
.ofm-errors li { margin: .2rem 0; }
.ofm-success p, .ofm-notice p { margin: 0; }
.ofm-notice { margin: 0 0 1.5rem; }
.ofm-altcha {
	margin: .5rem 0 1rem;
	--altcha-color-base: var(--bg, #0a0e16);
	--altcha-color-text: var(--text, #eef3fa);
	--altcha-color-border: var(--border-2, #2a3b57);
	--altcha-color-border-focus: var(--accent, #22d3ee);
	--altcha-color-active: var(--accent, #22d3ee);
	--altcha-color-error-text: var(--plug-orange, #f2994a);
	--altcha-border-radius: var(--radius-sm, 10px);
}
.ofm-altcha altcha-widget { display: block; max-width: 320px; }
.ofm-nojs {
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--border-2, #2a3b57);
	border-radius: var(--radius-sm, 10px);
	color: var(--text-dim, #c3cfe1);
}
/* honeypot: off-screen, not display:none (some bots skip hidden fields) */
.ofm-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
@media (max-width: 560px) {
	.ofm.card { padding: 20px 16px; }
	.ofm-actions .btn { width: 100%; justify-content: center; }
}
