/* Funky Monstruos Contact Form. Layout only; colors and field styles come from the theme. */

.fmcf {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 1.5em 0 0;
}

.fmcf__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.fmcf__row--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fmcf__details {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 16px 18px 18px;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.fmcf__details[hidden] {
	display: none;
}

.fmcf__details legend {
	padding: 0 6px;
	font-weight: 500;
}

.fmcf p.fmcf__help {
	margin: 0 0 8px;
	font-size: 14px;
	opacity: 0.85;
	text-wrap: pretty;
}

.fmcf__details p.fmcf__help {
	margin: 0;
}

.fmcf__field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fmcf__field label {
	margin-bottom: 6px;
	font-weight: 500;
}

.fmcf input[type="text"],
.fmcf input[type="email"],
.fmcf select,
.fmcf textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.fmcf select option {
	color: #241520;
	background: #ffffff;
}

.fmcf .fmcf__field [aria-invalid="true"] {
	border-color: #f2c53d;
	border-width: 2px;
}

.fmcf p.fmcf__error {
	margin: 6px 0 0;
	text-wrap: balance;
	font-size: 14px;
	font-weight: 500;
	color: #f2c53d;
}

.fmcf__summary {
	padding: 12px 14px;
	text-wrap: balance;
	border-left: 3px solid #f2c53d;
	background: rgba(242, 197, 61, 0.12);
	font-weight: 500;
}

.fmcf__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
}

.fmcf p.fmcf__note {
	flex: 1 1 240px;
	margin: 0;
	font-size: 14px;
	opacity: 0.85;
}

.fmcf p.fmcf__success {
	margin: 0 0 0.6em;
	text-wrap: balance;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.fmcf--sent p:last-child {
	margin-bottom: 0;
}

.fmcf__note {
	text-wrap: pretty;
}

/* Hidden field that only bots fill in. */
.fmcf__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.fmcf__row,
	.fmcf__row--3 {
		grid-template-columns: 1fr;
	}
}
