/* Ofnoa Forms — front-end styles */

.ofnoa-form-elementor-container {
	width: 100%;
}

.ofnoa-form-image img {
	display: block;
	width: 100%;
}

.ofnoa-form-wrapper {
	box-sizing: border-box;
}

.ofnoa-form-wrapper * {
	box-sizing: border-box;
}

.ofnoa-form-title {
	margin: 0 0 16px 0;
}

.ofnoa-form-message {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.ofnoa-form-message.is-success {
	background: #dcfce7;
	color: #166534;
}

.ofnoa-form-message.is-error {
	background: #fee2e2;
	color: #991b1b;
}

.ofnoa-form-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.ofnoa-width-100 { grid-column: span 12; }
.ofnoa-width-50  { grid-column: span 6; }
.ofnoa-width-33  { grid-column: span 4; }

@media (max-width: 600px) {
	.ofnoa-width-50,
	.ofnoa-width-33 {
		grid-column: span 12;
	}
}

.ofnoa-field {
	display: flex;
	flex-direction: column;
}

.ofnoa-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
}

.ofnoa-req {
	color: #dc2626;
}

.ofnoa-input {
	width: 100%;
	font-size: 15px;
	line-height: 1.4;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 11px 14px;
	background: #fff;
	color: #0f172a;
	transition: border-color .15s ease, box-shadow .15s ease;
	font-family: inherit;
}

.ofnoa-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .13);
}

textarea.ofnoa-input {
	resize: vertical;
	min-height: 90px;
}

.ofnoa-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding-top: 4px;
}

.ofnoa-choice,
.ofnoa-checkbox-single {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.ofnoa-choice input,
.ofnoa-checkbox-single input {
	width: auto;
	margin: 0;
}

.ofnoa-field-error {
	display: block;
	font-size: 12px;
	color: #991b1b;
	margin-top: 4px;
	min-height: 0;
}

.ofnoa-field.has-error .ofnoa-input {
	border-color: #dc2626 !important;
}

/* Honeypot — hidden from humans, visible to bots via DOM */
.ofnoa-form-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ofnoa-form-recaptcha {
	margin-top: 6px;
}

.ofnoa-form-submit-row {
	margin-top: 20px;
	display: flex;
}

.ofnoa-form-submit {
	cursor: pointer;
	border: none;
	background: #2563eb;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 13px 28px;
	border-radius: 8px;
	transition: background-color .15s ease, opacity .15s ease;
	font-family: inherit;
}

.ofnoa-form-submit:hover {
	background: #1d4ed8;
}

.ofnoa-form-submit[disabled] {
	opacity: .65;
	cursor: default;
}

.ofnoa-form-notice {
	padding: 12px 16px;
	background: #fef3c7;
	color: #92400e;
	border-radius: 8px;
	font-size: 14px;
}
