/* Public styles for Amr - Newsletters. */

.amr-nl {
	max-width: 520px;
}

.amr-nl-form {
	margin: 0;
}

.amr-nl-title {
	margin: 0 0 10px;
	font-weight: 600;
	font-size: 1.05em;
}

.amr-nl-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.amr-nl-label {
	flex: 1 1 180px;
	display: block;
	margin: 0;
}

.amr-nl-input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 1em;
	line-height: 1.4;
}

.amr-nl-input:focus {
	border-color: #2271b1;
	outline: 2px solid transparent;
	box-shadow: 0 0 0 1px #2271b1;
}

.amr-nl-button {
	flex: 0 0 auto;
	padding: 10px 18px;
	border: 0;
	border-radius: 4px;
	background: #fb8da0;
	color: #fff;
	font-size: 1em;
	line-height: 1.4;
	cursor: pointer;
}

.amr-nl-button:hover,
.amr-nl-button:focus {
	background: #135e96;
}

.amr-nl-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.amr-nl-message {
	min-height: 1.2em;
	margin: 10px 0 0;
	font-size: 0.95em;
}

.amr-nl-message.is-error {
	color: #b32d2e;
}

.amr-nl-message.is-success {
	color: #1a7f37;
}

/* Floating redirect notice (confirmation / subscribe results). */
.amr-nl-notice {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 90vw;
	padding: 12px 16px;
	border-radius: 6px;
	background: #1a7f37;
	color: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
	font-size: 0.95em;
}

.amr-nl-notice--error {
	background: #b32d2e;
}

.amr-nl-notice-close {
	background: none;
	border: 0;
	color: inherit;
	font-size: 1.3em;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
}

.amr-nl-notice-close:hover {
	opacity: 1;
}
