/* ==========================================================================
   CINEMORE hírlevél feliratkozó űrlap — frontend stílus
   Sötét háttérre optimalizálva (#07130e / #0e1a16 szakaszokra).
   BEM class szerkezet: cinemore-hirlevel__*
   ========================================================================== */

.cinemore-hirlevel {
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cinemore-hirlevel *,
.cinemore-hirlevel *::before,
.cinemore-hirlevel *::after {
	box-sizing: border-box;
}

.cinemore-hirlevel__form {
	margin: 0;
	padding: 0;
}

/* --- Input + gomb egy sorban (flex) --- */
.cinemore-hirlevel__row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* --- E-mail input --- */
.cinemore-hirlevel__input {
	flex: 1 1 280px;
	min-width: 0;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 100px;
	padding: 16px 22px;
	color: #eafff8;
	font-size: 17px;
	font-family: inherit;
	line-height: 1.4;
	outline: none;
	transition: border-color 0.2s ease, background 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.cinemore-hirlevel__input::placeholder {
	color: rgba(234, 255, 248, 0.5);
}

.cinemore-hirlevel__input:focus {
	border-color: #14c98d;
	background: rgba(255, 255, 255, 0.12);
}

/* --- Gomb --- */
.cinemore-hirlevel__btn {
	flex-shrink: 0;
	background: #14c98d;
	color: #07130e;
	font-weight: 700;
	font-size: 17px;
	font-family: inherit;
	padding: 16px 30px;
	border: 0;
	border-radius: 100px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.12s ease;
	-webkit-appearance: none;
	appearance: none;
}

.cinemore-hirlevel__btn:hover {
	background: #10b37e;
}

.cinemore-hirlevel__btn:active {
	transform: scale(0.97);
}

.cinemore-hirlevel__btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* --- Adatvédelmi checkbox (kötelező) --- */
.cinemore-hirlevel__gdpr {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	font-size: 12px;
	line-height: 1.5;
	color: #6f9184;
	cursor: pointer;
}

.cinemore-hirlevel__gdpr input[type="checkbox"] {
	flex-shrink: 0;
	margin-top: 1px;
	width: 14px;
	height: 14px;
	accent-color: #14c98d;
	cursor: pointer;
}

.cinemore-hirlevel__gdpr-text {
	flex: 1;
}

.cinemore-hirlevel__gdpr-text p {
	margin: 0;
}

.cinemore-hirlevel__gdpr-text a {
	color: #14c98d;
	text-decoration: underline;
}

.cinemore-hirlevel__gdpr-text a:hover {
	color: #1ad99a;
}

/* --- Üzenet (siker / hiba) --- */
.cinemore-hirlevel__msg {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.5;
	min-height: 0;
	color: #eafff8;
}

.cinemore-hirlevel__msg.is-success {
	color: #14c98d;
}

.cinemore-hirlevel__msg.is-error {
	color: #ff6b6b;
}

.cinemore-hirlevel.is-loading .cinemore-hirlevel__btn {
	pointer-events: none;
	opacity: 0.7;
}

/* --- Mobil --- */
@media (max-width: 767px) {
	.cinemore-hirlevel__row {
		flex-wrap: wrap;
	}

	.cinemore-hirlevel__input {
		flex: 1 1 50px;
	}

	.cinemore-hirlevel__btn {
		flex-shrink: 0;
		white-space: nowrap;
	}
}
