/* Wet & Forget Answers — front-end styles.
   Scoped under .wfa-box; CSS variables so the theme/brand can override easily. */

.wfa-box {
	--wfa-green: #5a9e3d;
	--wfa-green-d: #4a8a30;
	--wfa-green-soft: #e8f2dc;
	--wfa-ink: #22301b;
	--wfa-bg: #f4f8ee;
	--wfa-card: #ffffff;
	--wfa-border: #dbe6cd;
	--wfa-muted: #6b7280;
	--wfa-radius: 16px;

	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	margin: 1.5rem auto;
	padding: 1.4rem 1.5rem;
	background: var(--wfa-bg);
	border: 1px solid var(--wfa-border);
	border-radius: var(--wfa-radius);
	color: var(--wfa-ink);
	font-size: 16px;
	line-height: 1.55;
}

.wfa-box *,
.wfa-box *::before,
.wfa-box *::after {
	box-sizing: border-box;
}

/* Header */
.wfa-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}

.wfa-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wfa-green-soft);
	color: var(--wfa-green-d);
}

.wfa-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wfa-green-d);
	margin-bottom: 0.15rem;
}

.wfa-heading {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--wfa-ink);
}

/* Input row */
.wfa-form {
	display: flex;
	align-items: stretch;
	gap: 0.6rem;
}

.wfa-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.8rem 1rem;
	font-size: 1rem;
	color: var(--wfa-ink);
	background: var(--wfa-card);
	border: 1.5px solid var(--wfa-border);
	border-radius: 11px;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wfa-input:focus {
	border-color: var(--wfa-green);
	box-shadow: 0 0 0 3px rgba(90, 158, 61, 0.16);
}

.wfa-submit {
	flex: 0 0 auto;
	padding: 0.8rem 1.4rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: var(--wfa-green);
	border: 0;
	border-radius: 11px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wfa-submit:hover,
.wfa-submit:focus {
	background: var(--wfa-green-d);
}

/* Suggestion chips */
.wfa-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.9rem;
}

.wfa-chip {
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--wfa-green-d);
	background: var(--wfa-card);
	border: 1px solid var(--wfa-border);
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.wfa-chip:hover,
.wfa-chip:focus {
	background: var(--wfa-green-soft);
	border-color: var(--wfa-green);
}

/* Answer card */
.wfa-answer {
	margin-top: 1.1rem;
	padding: 1.05rem 1.2rem;
	background: var(--wfa-card);
	border: 1px solid var(--wfa-border);
	border-left: 4px solid var(--wfa-green);
	border-radius: 12px;
}

.wfa-answer-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wfa-green-d);
	margin-bottom: 0.5rem;
}

.wfa-answer-text {
	color: #2b3a24;
	white-space: pre-line;
}

.wfa-answer-figure {
	margin: 0.95rem 0 0;
}

.wfa-answer-figure img {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	border-radius: 10px;
	border: 1px solid var(--wfa-border);
}

.wfa-answer-figure figcaption {
	margin-top: 0.4rem;
	font-size: 0.82rem;
	color: var(--wfa-muted);
}

/* Disclaimer */
.wfa-disclaimer {
	margin: 0.9rem 0 0;
	font-size: 0.82rem;
	color: var(--wfa-muted);
}

/* Small screens */
@media (max-width: 480px) {
	.wfa-box {
		padding: 1.15rem 1.15rem;
	}
	.wfa-heading {
		font-size: 1.2rem;
	}
	.wfa-form {
		flex-wrap: wrap;
	}
	.wfa-submit {
		width: 100%;
	}
}
