.avdude-form {
	max-width: 40rem;
}

.avdude-form__form {
	display: grid;
	gap: 1.1rem;
}

.avdude-form__field,
.avdude-form__actions {
	margin: 0;
}

.avdude-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.avdude-form__optional {
	font-weight: 400;
	color: var(--wp--preset--color--slate, #4a5163);
}

.avdude-form__field :where(input, select, textarea) {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #8c96b0;
	border-radius: var(--wp--custom--radius--small, 10px);
	background: var(--wp--preset--color--white, #fff);
	color: inherit;
	font: inherit;
	line-height: 1.4;
}

.avdude-form__field textarea {
	resize: vertical;
	min-height: 9rem;
}

.avdude-form__field--error :where(input, select, textarea) {
	border-color: #a4262c;
	border-width: 2px;
}

.avdude-form__error {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #a4262c;
}

.avdude-form__submit {
	border: 0;
	cursor: pointer;
}

.avdude-form__notice {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border: 1.5px solid;
	border-radius: 14px;
	font-weight: 700;
}

.avdude-form__notice--sent {
	border-color: #2f6f4f;
	background: #eef7f1;
	color: #1d4a33;
}

.avdude-form__notice--error {
	border-color: #a4262c;
	background: #fdf1f1;
	color: #7a1c21;
}

/* Kept out of sight and out of the tab order; a real person never fills it in. */
.avdude-form__website {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
