.fmap-form-wrapper {
	max-width: 640px;
	margin: 5em auto;
	padding: 0 1em;
	box-sizing: border-box;
}

.fmap-form-wrapper .select_container {
	display: block;
	width: 100%;
}

.fmap-form-wrapper .select_container:after {
	right: 10px;
}

.fmap-form-message {
	padding: 1em 1.25em;
	margin-bottom: 1.5em;
	border-radius: 4px;
	text-align: center;
}

.fmap-form-message.fmap-success {
	background: #e6f4ea;
	color: #1e4620;
	border: 1px solid #b7dfc0;
}

.fmap-form-message.fmap-error {
	background: #fbe7e7;
	color: #5c1a1a;
	border: 1px solid #f0b8b8;
}

.fmap-field {
	margin-bottom: 1.25em;
}

.fmap-field--spaced {
	margin-top: 4em;
}

.fmap-field-row {
	display: flex;
	gap: 1em;
}

.fmap-field-row .fmap-field {
	flex: 1 1 0;
	min-width: 0;
}

.fmap-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.fmap-field input[type="text"]:not(.fmap-country-combobox__search),
.fmap-field input[type="email"],
.fmap-field input[type="url"],
.fmap-field input[type="file"],
.fmap-field select,
.fmap-field textarea {
	width: 100% !important;
	padding: 0.6em 0.75em !important;
	border: 1px solid #ccc !important;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box !important;
	background-color: white;
}

.fmap-field select {
	padding-top: 13px !important;
	padding-bottom: 12px !important;
}

.fmap-checkbox-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.4em 1em;
}

.fmap-checkbox-item {
	font-weight: normal;
	display: flex;
	align-items: center;
	gap: 0.4em;
}

.fmap-field--checkbox .fmap-checkbox-item {
	align-items: flex-start;
}

.fmap-field--checkbox .fmap-checkbox-item input[type="checkbox"] {
	margin-top: 0.3em;
	flex-shrink: 0;
}

.fmap-field--checkbox a {
	text-decoration: underline;
}

.fmap-submit button {
	padding: 0.75em 2em;
	border: none;
	border-radius: 4px;
	background: #222;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.fmap-submit button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.fmap-field-row {
		flex-direction: column;
		gap: 0;
	}

	.fmap-checkbox-list {
		grid-template-columns: 1fr;
	}

	.fmap-submit button {
		width: 100%;
	}
}
