/* Plovoucí okno s odběrem novinek - na počítači karta vpravo dole, na mobilu panel přes spodek obrazovky */
.nl-popup {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 4900;
	width: 380px;
	max-width: calc(100vw - 32px);
	padding: 24px 22px 20px;
	border-radius: 20px;
	background: #0d1117;
	background-image: radial-gradient(320px 200px at 100% 0%, rgba(255, 90, 31, 0.22), transparent 70%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #c9cfdb;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 0.92rem;
	line-height: 1.5;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.nl-popup[hidden] { display: none; }
.nl-popup.is-open { opacity: 1; transform: none; }
.nl-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
}
.nl-popup-close:hover { background: rgba(255, 255, 255, 0.16); }
.nl-popup-eyebrow {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 90, 31, 0.16);
	color: #ffb48f;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.nl-popup h3 {
	margin: 12px 34px 6px 0;
	color: #fff;
	font-family: 'Archivo', 'Arial Black', system-ui, sans-serif;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.2;
}
.nl-popup p { margin: 0 0 14px; }
.nl-popup-row { display: flex; gap: 8px; }
.nl-popup-input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font: inherit;
	font-size: 16px;
}
.nl-popup-input::placeholder { color: #8b93a7; }
.nl-popup-input:focus { outline: none; border-color: #ff5a1f; }
.nl-popup-submit {
	border: 0;
	border-radius: 12px;
	padding: 12px 16px;
	background: #ff5a1f;
	color: #fff;
	font: inherit;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}
.nl-popup-submit:hover { background: #e04411; }
.nl-popup-consent { display: flex; gap: 10px; margin-top: 12px; font-size: 0.78rem; line-height: 1.45; color: #8b93a7; cursor: pointer; }
.nl-popup-consent input { flex-shrink: 0; margin-top: 3px; accent-color: #ff5a1f; }
.nl-popup-consent a { color: #8b93a7; }
.nl-popup-errors { color: #ffb4a0; font-size: 0.86rem; font-weight: 600; margin-top: 8px; }
.nl-popup-errors:empty { display: none; }
.nl-popup-message { background: rgba(34, 197, 94, 0.15); color: #b8f5cd; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.nl-popup .hp-field { position: absolute; left: -9999px; }

@media (max-width: 520px) {
	.nl-popup {
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		max-width: none;
		border-radius: 20px 20px 0 0;
		border-bottom: 0;
		padding: 22px 16px calc(18px + env(safe-area-inset-bottom));
	}
	.nl-popup-row { flex-direction: column; }
}
