/**
 * Buurtmand — "Word host"-formulier (shortcode [buurtmand_word_host]).
 * Bewust licht en thema-vriendelijk: alleen gescopete .bm-host-* selectors,
 * geen globale resets. Erft typografie/kleur van het child-theme waar mogelijk.
 */

.bm-host {
	max-width: 36rem;
	margin: 1.5rem 0;
}

.bm-host__intro {
	margin-bottom: 1.5rem;
}

.bm-host__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	line-height: 1.2;
}

.bm-host__lead {
	margin: 0 0 0.5rem;
}

.bm-host__incentive {
	margin: 0;
	font-weight: 600;
}

/* Berichten (succes / fouten) */
.bm-host__message {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	border: 1px solid transparent;
}

.bm-host__message--success {
	background: #e8f5ec;
	border-color: #b6e0c2;
	color: #14532d;
}

.bm-host__message--error {
	background: #fdecec;
	border-color: #f5b9b9;
	color: #7f1d1d;
}

.bm-host__message p {
	margin: 0;
}

.bm-host__errors {
	margin: 0;
	padding-left: 1.25rem;
}

.bm-host__errors li + li {
	margin-top: 0.25rem;
}

/* Formulier */
.bm-host__field {
	margin: 0 0 1.25rem;
}

.bm-host__label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.bm-host__required {
	color: #b91c1c;
}

.bm-host__input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	border: 1px solid #cbd2d9;
	border-radius: 6px;
	background: #fff;
}

.bm-host__input:focus {
	outline: 2px solid #2f6f4f;
	outline-offset: 1px;
	border-color: #2f6f4f;
}

/* Dagen-keuze */
.bm-host__fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 1.25rem;
}

.bm-host__days {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.bm-host__day {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 400;
	cursor: pointer;
}

.bm-host__day input {
	margin: 0;
}

/* Fair warning — visueel benadrukt, het is een bewuste handeling */
.bm-host__fairwarning {
	padding: 0.85rem 1rem;
	background: #fbf7ec;
	border: 1px solid #e6d9b3;
	border-radius: 6px;
}

.bm-host__fairwarning-label {
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 500;
	line-height: 1.4;
}

.bm-host__fairwarning-label input {
	margin-top: 0.2rem;
	flex: 0 0 auto;
}

/* Knop */
.bm-host__submit-row {
	margin: 0;
}

.bm-host__button {
	display: inline-block;
	padding: 0.7rem 1.4rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #2f6f4f;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
}

.bm-host__button:hover,
.bm-host__button:focus {
	background: #245a3f;
}

.bm-host__button:focus-visible {
	outline: 2px solid #14532d;
	outline-offset: 2px;
}

/* Notice-variant (login-prompt) */
.bm-host--notice {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	background: #eef2f7;
	border: 1px solid #d4dde6;
}

.bm-host--notice p {
	margin: 0 0 0.5rem;
}

.bm-host--notice p:last-child {
	margin-bottom: 0;
}
