/**
 * Freebie DOI signup form.
 */

.scaa-freebie-doi {
	max-width: 28rem;
	margin: 0 auto;
}

.scaa-freebie-doi__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.scaa-freebie-doi__field {
	margin: 0 0 1rem;
}

.scaa-freebie-doi__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.scaa-freebie-doi__field input[type='email'] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 0.4rem;
	font: inherit;
}

.scaa-freebie-doi__consent label {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}

.scaa-freebie-doi__consent input[type='checkbox'] {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.scaa-freebie-doi__actions {
	margin: 1.25rem 0 0;
}

.scaa-freebie-doi__footer-note {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
	opacity: 0.8;
}

.scaa-praxislektion .scaa-freebie-doi,
.scaa-pl-hero__form .scaa-freebie-doi,
.scaa-pl-signup__box .scaa-freebie-doi {
	max-width: none;
	width: 100%;
}

.scaa-praxislektion .scaa-freebie-doi__submit {
	width: 100%;
}

.scaa-freebie-doi__submit {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 0.75rem 1.4rem;
	background: #c9a227;
	color: #111;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.scaa-freebie-doi__submit:hover {
	background: #b48a1a;
}

.scaa-freebie-doi__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.scaa-freebie-doi__message {
	margin: 1rem 0 0;
	padding: 0.75rem 0.9rem;
	border-radius: 0.4rem;
	line-height: 1.45;
}

.scaa-freebie-doi__message.is-success {
	background: rgba(11, 176, 27, 0.1);
	color: #0a5c14;
}

.scaa-freebie-doi-sent-to {
	word-break: break-word;
}

.scaa-freebie-doi__message.is-error {
	background: rgba(180, 35, 24, 0.1);
	color: #8a1f16;
}

.scaa-freebie-doi.is-success .scaa-freebie-doi__form > :not(.scaa-freebie-doi__message) {
	display: none;
}
