/* AM Webtech footer newsletter - v1.2.0 */
.amw-newsletter {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.amw-newsletter-card {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(255,255,255,.20);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(0,0,0,.18);
	overflow: hidden;
}

.amw-newsletter-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #ff8a00 0%, #ff5a1f 52%, #ff3d3d 100%);
}

.amw-newsletter-content {
	padding: 50px 54px 38px;
}

.amw-newsletter h2 {
	margin: 0 0 16px;
	color: #07185c;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.3px;
}

.amw-newsletter-description {
	margin: 0 0 32px;
	color: #69758f;
	font-size: 17px;
	line-height: 1.55;
}

.amw-newsletter-field > label {
	display: block;
	margin: 0 0 15px;
	color: #07185c;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 500;
}

.amw-newsletter-field > label span {
	color: #e60000;
	margin-left: 3px;
}

.amw-newsletter-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.amw-newsletter-row input {
	flex: 1 1 auto;
	min-width: 0;
	height: 58px;
	padding: 0 20px;
	box-sizing: border-box;
	border: 1px solid #d9dfeb;
	border-radius: 30px;
	background: #ffffff;
	color: #07185c;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.amw-newsletter-row input:focus {
	border-color: #ff8a00;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(255,138,0,.14);
}

.amw-newsletter-row input::placeholder {
	color: #7a86a0;
	opacity: 1;
}

.amw-newsletter-row button {
	position: relative;
	flex: 0 0 184px;
	height: 58px;
	padding: 0 22px;
	border: 0;
	border-radius: 30px;
	background: linear-gradient(135deg, #ff9800 0%, #ff7a18 48%, #ff3d3d 100%);
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.amw-newsletter-row button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(255,96,35,.28);
}

.amw-newsletter-row button:disabled {
	opacity: .72;
	cursor: wait;
}

.amw-newsletter-spinner {
	display: none;
	width: 16px;
	height: 16px;
	margin-left: 7px;
	vertical-align: -3px;
	border: 2px solid rgba(0,0,0,.24);
	border-top-color: #000;
	border-radius: 50%;
	animation: amw-newsletter-spin .7s linear infinite;
}

.amw-newsletter-form.is-loading .amw-newsletter-spinner {
	display: inline-block;
}

.amw-newsletter-privacy {
	margin: 10px 0 0;
	color: #74809a;
	font-size: 12px;
	line-height: 1.5;
}

.amw-newsletter-message {
	display: none;
	align-items: flex-start;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 500;
	animation: amw-newsletter-message-in .22s ease-out;
}

.amw-newsletter-message:not(:empty) {
	display: flex;
}

/* Success message */
.amw-newsletter-message.success {
	color: #16723a;
	background: #edf9f1;
	border: 1px solid #b9e8c8;
}

.amw-newsletter-message.success::before {
	content: "✓";
	display: inline-flex;
	flex: 0 0 21px;
	width: 21px;
	height: 21px;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	border-radius: 50%;
	background: #20a354;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* Error / duplicate / validation message */
.amw-newsletter-message.error {
	color: #a62b2b;
	background: #fff5f5;
	border: 1px solid #efb6b6;
}

.amw-newsletter-message.error::before {
	content: "!";
	display: inline-flex;
	flex: 0 0 21px;
	width: 21px;
	height: 21px;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	border-radius: 50%;
	background: #d93636;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

@keyframes amw-newsletter-message-in {
	from {
		opacity: 0;
		transform: translateY(-3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes amw-newsletter-spin {
	to { transform: rotate(360deg); }
}

footer .amw-newsletter-card,
.site-footer .amw-newsletter-card,
.elementor-location-footer .amw-newsletter-card {
	max-width: 720px;
}

@media (max-width: 1100px) {
	.amw-newsletter-content {
		padding: 38px 38px 32px;
	}
}

@media (max-width: 700px) {
	.amw-newsletter-card {
		border-radius: 20px;
	}

	.amw-newsletter-content {
		padding: 38px 22px 30px;
	}

	.amw-newsletter h2 {
		font-size: 25px;
	}

	.amw-newsletter-description {
		font-size: 16px;
		margin-bottom: 27px;
	}

	.amw-newsletter-row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.amw-newsletter-row input,
	.amw-newsletter-row button {
		width: 100%;
		flex-basis: auto;
		height: 56px;
	}
}


/* Keep the message compact in the footer */
@media (min-width: 701px) {
	.amw-newsletter-message {
		max-width: 100%;
	}
}

@media (max-width: 700px) {
	.amw-newsletter-message {
		margin-top: 12px;
		padding: 10px 12px;
		font-size: 12.5px;
	}
}
