.wdn-form-wrap {
	--wdn-accent: #ff4d5e;
	--wdn-on-accent: #fff;
	max-width: 640px;
	margin: 1.5em 0;
	padding: 28px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	box-sizing: border-box;
}

.wdn-form-wrap *,
.wdn-form-wrap *::before,
.wdn-form-wrap *::after {
	box-sizing: inherit;
}

.wdn-form-title {
	margin: 0 0 6px;
}

.wdn-form-text {
	margin: 0 0 18px;
	opacity: 0.8;
}

.wdn-form-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.wdn-form-field {
	flex: 1 1 180px;
	min-width: 0;
}

.wdn-form-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.85em;
	font-weight: 600;
}

.wdn-form-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	background: #fff;
	color: #1d2530;
	font: inherit;
	line-height: 1.4;
}

.wdn-form-field input:focus-visible,
.wdn-form-button:focus-visible {
	outline: 2px solid var(--wdn-accent);
	outline-offset: 2px;
}

.wdn-form-button {
	flex: 0 0 auto;
	padding: 11px 22px;
	border: 0;
	border-radius: 4px;
	background: var(--wdn-accent);
	color: var(--wdn-on-accent);
	font: inherit;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

.wdn-form-button:hover {
	filter: brightness(0.93);
}

.wdn-form-button[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.wdn-form-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	font-size: 0.85em;
}

.wdn-form-consent input {
	margin-top: 0.25em;
}

.wdn-form-message {
	margin-top: 14px;
	font-weight: 600;
}

.wdn-form-message:empty {
	display: none;
}

.wdn-form-message.is-error {
	color: #c02b2b;
}

.wdn-form-message.is-success {
	color: #1a7f37;
}

/* Honeypot: hidden from people, visible to form-filling bots. */
.wdn-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 480px) {
	.wdn-form-wrap {
		padding: 20px;
	}

	.wdn-form-button {
		width: 100%;
	}
}
