/**
 * Mandehorm Core – frontend component styles
 */

.mh-form-wrap {
	max-width: 720px;
	margin: 0 auto;
}

.mh-form-intro {
	font-size: 1.0625rem;
	color: var(--mh-text-muted, #9ca3af);
}

.mh-form-notice {
	background: rgba(249, 115, 22, 0.1);
	border: 1px solid var(--mh-accent, #f97316);
	border-radius: 8px;
	padding: 1rem;
	margin: 1.5rem 0;
}

.mh-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 1.5rem 0;
}

.mh-form-field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.mh-form-field-full {
	grid-column: 1 / -1;
}

.mh-form-field label {
	font-weight: 600;
	font-size: 0.875rem;
}

.mh-form-field input,
.mh-form-field select,
.mh-form-field textarea {
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--mh-border, #374151);
	border-radius: 8px;
	background: var(--mh-bg-card, #1a2332);
	color: var(--mh-text, #e5e7eb);
	font-size: 1rem;
}

.mh-form-field input:focus,
.mh-form-field select:focus,
.mh-form-field textarea:focus {
	outline: 2px solid var(--mh-accent, #f97316);
	outline-offset: 1px;
	border-color: var(--mh-accent, #f97316);
}

.mh-form-honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.mh-form-submit {
	margin-top: 1.5rem;
}

.mh-btn-small {
	padding: 0.5rem 1rem !important;
	font-size: 0.875rem !important;
}

@media (max-width: 640px) {
	.mh-form-grid {
		grid-template-columns: 1fr;
	}
}
