/* Back-in-stock form and notices. Enqueued on product pages only. */

.safw-form {
	margin: 1.5em 0;
	max-width: 32em;
}

.safw-message {
	margin: 0 0 1em;
	padding: 0.75em 1em;
	border-left: 4px solid #6b7280;
	background: #f3f4f6;
	line-height: 1.5;
}

.safw-message--success {
	border-left-color: #1a7f37;
	background: #eaf6ec;
}

.safw-message--error {
	border-left-color: #b3261e;
	background: #fdecea;
}

/* In the done state the notice is the whole block. */
.safw-form > .safw-message:last-child {
	margin-bottom: 0;
}

.safw-form__title {
	margin: 0 0 0.7em;
	font-weight: 600;
}

.safw-form__field label {
	display: block;
	margin-bottom: 0.4em;
	font-weight: 600;
}

.safw-form__field input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	padding: 0.55em 0.7em;
	border: 1px solid #767676;
	border-radius: 2px;
	background: #fff;
	font-size: 1em;
}

.safw-form__submit {
	margin: 0.9em 0 0;
}

.safw-form__honeypot {
	position: absolute;
	left: -9999px;
}
