@import '../../../../../static/sass/common-frontend';
@import 'widget';
@import 'single-block';

form[class*='ct-newsletter-subscribe'] {
	.button {
		--buttonFontWeight: 600;
	}
}

// form messages
.ct-newsletter-subscribe-message {
	display: none;
	font-size: 16px;

	a {
		text-decoration: underline;
	}
}

.subscribe-error .ct-newsletter-subscribe-message {
	display: block;
	font-size: 14px;
	color: #e42b2b;
}

.subscribe-success {
	button.button,
	input[type='text'],
	input[type='email'],
	.gdpr-confirm-policy,
	.ct-newsletter-subscribe-description {
		display: none;
	}

	.ct-newsletter-subscribe-message {
		display: block;
	}
}
