/* TAH Newsletter — subscriber popup (glassmorphism, dark/neon aligned) */
.tahnl-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.tahnl-popup.is-open { display: flex; }
.tahnl-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 9, 14, 0.6);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .3s ease;
}
.tahnl-popup.is-open .tahnl-popup__backdrop { opacity: 1; }
.tahnl-popup__card {
	position: relative;
	width: 100%;
	max-width: 380px;
	background: rgba(16, 22, 32, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 22px;
	padding: 30px 26px 24px;
	color: #eaf0f7;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 208, 0.06);
	backdrop-filter: blur(18px);
	transform: translateY(14px) scale(.98);
	opacity: 0;
	transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}
.tahnl-popup.is-open .tahnl-popup__card { transform: translateY(0) scale(1); opacity: 1; }
.tahnl-popup__x {
	position: absolute;
	top: 14px; right: 14px;
	width: 30px; height: 30px;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #cfd6e0;
	font-size: 18px; line-height: 1;
	cursor: pointer;
}
.tahnl-popup__x:hover { background: rgba(255, 255, 255, 0.12); }
.tahnl-popup__title { margin: 4px 0 14px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.tahnl-popup__list { list-style: none; margin: 0 0 18px; padding: 0; }
.tahnl-popup__list li {
	position: relative;
	padding: 4px 0 4px 24px;
	font-size: 14px;
	color: #b9c2ce;
}
.tahnl-popup__list li::before {
	content: "✓";
	position: absolute; left: 0;
	color: var(--tahnl-accent, #00E5D0);
	font-weight: 700;
}
.tahnl-popup__field { margin-bottom: 10px; }
.tahnl-popup__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	font-size: 15px;
	outline: none;
}
.tahnl-popup__field input:focus { border-color: var(--tahnl-accent, #00E5D0); }
.tahnl-popup__btn {
	width: 100%;
	margin-top: 6px;
	padding: 13px;
	border: 0;
	border-radius: 12px;
	background: var(--tahnl-accent, #00E5D0);
	color: #05252b;
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease;
}
.tahnl-popup__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 229, 208, 0.28); }
.tahnl-popup__btn:disabled { opacity: .6; cursor: default; }
.tahnl-popup__msg { min-height: 18px; margin-top: 8px; font-size: 13px; text-align: center; }
.tahnl-popup__msg.is-error { color: #ff6b6b; }
.tahnl-popup__msg.is-ok { color: var(--tahnl-accent, #00E5D0); }
.tahnl-popup__nothanks {
	display: block;
	width: 100%;
	margin-top: 8px;
	border: 0; background: transparent;
	color: #7d8794;
	font-size: 13px;
	cursor: pointer;
}
.tahnl-popup__privacy { margin: 10px 0 0; font-size: 11px; color: #6b7480; text-align: center; }

/* Inline shortcode form */
.tahnl-inline { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.tahnl-inline input { flex: 1 1 160px; padding: 11px 13px; border-radius: 10px; border: 1px solid #d5dae2; }
.tahnl-inline button { padding: 11px 20px; border: 0; border-radius: 10px; background: var(--tahnl-accent, #00E5D0); color: #05252b; font-weight: 700; cursor: pointer; }
.tahnl-inline #tahnl-msg { flex-basis: 100%; font-size: 13px; }

@media (max-width: 420px) {
	.tahnl-popup__card { padding: 26px 20px 20px; }
}
