/* File: assets/css/ast-sender-newsletter.css | Version: 1.0.1 */

.ast-newsletter-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding-top: 20px;
}

.ast-newsletter-admin-notice {
	padding: 12px 16px;
	border-left: 4px solid #e44526;
	background: #fff5f3;
	color: #333333;
}

.ast-newsletter-message {
	margin-bottom: 16px;
	padding: 14px 18px;
	border-radius: 3px;
	font-size: 16px;
}

.ast-newsletter-message--success {
	background: #edf9f2;
	color: #1b7c3c;
}

.ast-newsletter-message--error {
	background: #fdecea;
	color: #b42318;
}

.ast-newsletter-form {
	width: 100%;
	margin: 40px auto;
}

.ast-newsletter-row {
	display: flex;
	gap: 20px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	justify-content: center;
	flex-wrap: wrap;
}

.ast-newsletter-field {
	flex: 0 1 280px;
	display: block;
	position: relative;
}

.ast-newsletter-field .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.ast-newsletter-input {
	width: 100%;
	padding: 16px 20px;
	border-radius: 4px;
	border: 1px solid #eeeeee;
	background: #f7f7f7;
	font-size: 16px;
	color: #333333;
	transition: all 0.2s ease;
	font-family: inherit;
	min-height: 52px;
	box-sizing: border-box;
}

.ast-newsletter-input::placeholder {
	color: #999999;
}

.ast-newsletter-input:focus {
	outline: none;
	background: #ffffff;
	border-color: #e0e0e0;
	box-shadow: 0 0 0 1px rgba(216, 72, 56, 0.15);
}

.ast-newsletter-button-row {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.ast-newsletter-submit {
	flex: 0 0 220px;
	padding: 0 24px;
	border-radius: 4px;
	border: none;
	background: #d84838;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	font-family: inherit;
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0.05em;
	margin-top: 0;
}

.ast-newsletter-submit:hover,
.ast-newsletter-submit:focus {
	background: #c23f31;
	outline: none;
}

.ast-newsletter-submit:active {
	transform: scale(0.99);
}

.ast-newsletter-note {
	margin-top: 12px;
	font-size: 14px;
	opacity: 0.8;
	color: #555555;
	text-align: center;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.ast-newsletter-row {
		flex-direction: column;
		width: 100%;
	}

	.ast-newsletter-submit {
		flex: 1 0 auto;
		width: 100%;
	}

	.ast-newsletter-field {
		flex: 1 0 auto;
		width: 100%;
	}

	.ast-newsletter-button-row {
		margin-top: 12px;
	}
}

