/**
 * Community signup form — for the "Join our puzzle community" band.
 * Neutral, brand-green styling that sits on the light newsletter background.
 */
.lubiwood-community-signup {
	max-width: 460px;
	/* Centre the block (the community bands are centred layouts); auto margins win
	   regardless of the parent's text-align. */
	margin: 18px auto 0;
}

.lubiwood-community-signup__row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.lubiwood-community-signup__email {
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 16px;
	border: 1.5px solid rgba(20, 18, 16, 0.18);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	line-height: 1.2;
	color: #141210;
	-webkit-appearance: none;
	appearance: none;
}

.lubiwood-community-signup__email::placeholder {
	color: #8b8478;
}

.lubiwood-community-signup__email:focus {
	outline: none;
	border-color: #7ab38b;
	box-shadow: 0 0 0 3px rgba(122, 179, 139, 0.25);
}

.lubiwood-community-signup__btn {
	flex: 0 0 auto;
	padding: 13px 26px;
	border: 0;
	border-radius: 10px;
	background: #7ab38b;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.lubiwood-community-signup__btn:hover:not([disabled]) {
	background: #6aa67c;
	transform: translateY(-1px);
}

.lubiwood-community-signup__btn[disabled] {
	opacity: 0.6;
	cursor: default;
}

.lubiwood-community-signup__msg {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.4;
	min-height: 1.2em;
	text-align: center;
}

.lubiwood-community-signup__msg.is-error {
	color: #c0392b;
}

.lubiwood-community-signup__msg.is-success {
	color: #3d6b47;
	font-weight: 600;
}

/* Once subscribed, drop the input row and leave the success message. */
.lubiwood-community-signup.is-done .lubiwood-community-signup__row {
	display: none;
}

@media (max-width: 480px) {
	.lubiwood-community-signup__row {
		flex-direction: column;
	}
	.lubiwood-community-signup__btn {
		width: 100%;
	}
}
