/**
 * Estilos do Formulário Público AdotePet News
 * Design moderno com paleta oficial AdotePet RN (#653D96 / Roxo Solidário)
 */

.adotepet-newsletter-footer-wrapper {
	width: 100%;
	box-sizing: border-box;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.adotepet-shortcode-block {
	background: linear-gradient(135deg, #2a1645 0%, #1e1b4b 100%);
	border-radius: 22px;
	padding: 42px 28px;
	margin: 32px 0;
	color: #ffffff;
	box-shadow: 0 16px 36px rgba(101, 61, 150, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.adotepet-nl-container {
	max-width: 860px;
	margin: 0 auto;
}

.adotepet-nl-content {
	text-align: center;
}

.adotepet-nl-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(101, 61, 150, 0.35);
	border: 1px solid rgba(192, 132, 252, 0.4);
	color: #e9d5ff;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.adotepet-nl-title {
	font-size: 26px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 10px;
	line-height: 1.3;
	letter-spacing: -0.4px;
}

.adotepet-nl-desc {
	font-size: 15px;
	color: #e2e8f0;
	max-width: 600px;
	margin: 0 auto 28px;
	line-height: 1.5;
}

.adotepet-nl-inputs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	max-width: 720px;
	margin: 0 auto;
}

.adotepet-nl-input-group {
	position: relative;
	flex: 1 1 240px;
	min-width: 200px;
}

.adotepet-nl-input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	pointer-events: none;
	opacity: 0.7;
}

.adotepet-nl-input {
	width: 100% !important;
	box-sizing: border-box !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border: 2px solid transparent !important;
	border-radius: 999px !important;
	padding: 13px 18px 13px 42px !important;
	font-size: 14px !important;
	color: #1e1b4b !important;
	outline: none !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.adotepet-nl-input:focus {
	border-color: #653D96 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(101, 61, 150, 0.3) !important;
}

.adotepet-nl-btn {
	background: linear-gradient(135deg, #653D96 0%, #4e2f75 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 13px 30px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 6px 18px rgba(101, 61, 150, 0.35) !important;
}

.adotepet-nl-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(101, 61, 150, 0.5) !important;
}

.adotepet-nl-privacy {
	font-size: 12px;
	color: #cbd5e1;
	margin-top: 18px;
}

/* ==========================================================================
   WIDGET VERTICAL MODERNO (RODAPÉ DA HOME E SIDEBAR)
   ========================================================================== */
.adotepet-nl-vertical-widget {
	width: 100%;
	max-width: 380px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	padding: 24px 20px 22px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	margin: 0 auto;
}

/* Se o widget for usado em um footer claro, ajusta contraste */
.light-footer .adotepet-nl-vertical-widget,
body.adotepet-light-mode .adotepet-nl-vertical-widget {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 10px 30px rgba(101, 61, 150, 0.08);
}
.light-footer .adotepet-nl-vertical-widget .adotepet-nl-v-title,
body.adotepet-light-mode .adotepet-nl-vertical-widget .adotepet-nl-v-title {
	color: #1e1b4b;
}
.light-footer .adotepet-nl-vertical-widget .adotepet-nl-v-desc,
body.adotepet-light-mode .adotepet-nl-vertical-widget .adotepet-nl-v-desc {
	color: #64748b;
}

.adotepet-nl-vertical-widget:hover {
	border-color: rgba(101, 61, 150, 0.5);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35), 0 0 25px rgba(101, 61, 150, 0.22);
	transform: translateY(-2px);
}

.adotepet-nl-v-head {
	margin-bottom: 16px;
}

.adotepet-nl-v-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(101, 61, 150, 0.25);
	border: 1px solid rgba(192, 132, 252, 0.4);
	color: #e9d5ff;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.adotepet-nl-v-title {
	font-size: 1.18rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 6px 0;
	line-height: 1.25;
	letter-spacing: -0.3px;
}

.adotepet-nl-v-desc {
	font-size: 0.86rem;
	color: #cbd5e1;
	margin: 0;
	line-height: 1.45;
}

.adotepet-nl-v-fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.adotepet-nl-v-group {
	position: relative;
	width: 100%;
}

.adotepet-nl-v-input-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	opacity: 0.7;
	pointer-events: none;
}

.adotepet-nl-v-input {
	width: 100% !important;
	box-sizing: border-box !important;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 12px !important;
	padding: 11px 14px 11px 38px !important;
	font-size: 13.5px !important;
	color: #ffffff !important;
	height: 44px !important;
	outline: none !important;
	transition: all 0.22s ease !important;
}

.adotepet-nl-v-input::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
}

.adotepet-nl-v-input:focus {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: #a855f7 !important;
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25) !important;
}

.adotepet-nl-v-btn {
	width: 100% !important;
	margin-top: 4px !important;
	height: 44px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	background: linear-gradient(135deg, #653D96 0%, #4e2f75 100%) !important;
	border-radius: 12px !important;
}

.adotepet-nl-v-privacy {
	font-size: 11px;
	color: #94a3b8;
	margin: 12px 0 0 0;
	text-align: center;
	line-height: 1.4;
}

/* ==========================================================================
   FEEDBACK MESSAGES (ALERTAS DINÂMICOS)
   ========================================================================== */
.adotepet-nl-message {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	animation: adotepetFadeIn 0.3s ease;
}

.adotepet-nl-message.success {
	background: rgba(16, 185, 129, 0.2);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #a7f3d0;
}

.adotepet-nl-message.error {
	background: rgba(239, 68, 68, 0.2);
	border: 1px solid rgba(239, 68, 68, 0.4);
	color: #fecaca;
}

@keyframes adotepetFadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
	.adotepet-nl-inputs {
		flex-direction: column;
	}
	.adotepet-nl-input-group,
	.adotepet-nl-btn {
		width: 100% !important;
	}
}

