/* ==========================================================================
   Emergency House – Kapcsolat űrlap
   A sablon (sablonhouse/styles.css) .form / .field / .field__input stílusára
   épül, .eh-contact-form prefixszel. Sötét háttér, sárga (#E8E51C) fókusz.
   ========================================================================== */

.eh-contact-form,
.eh-contact-form * {
	box-sizing: border-box;
}

.eh-contact-form {
	width: 100%;
}

.eh-contact-form__form {
	display: grid;
	gap: 18px;
}

.eh-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

/* --- Mező --------------------------------------------------------------- */
.eh-contact-form__field {
	margin: 0;
	display: grid;
	gap: 8px;
}

.eh-contact-form__field > label {
	color: #E8E51C;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

/* Kötelező csillag. */
.eh-contact-form__req {
	color: #E8E51C;
}

/* Input / textarea / select — a sablon .field__input stílusa. */
.eh-contact-form input[type="text"],
.eh-contact-form input[type="email"],
.eh-contact-form input[type="tel"],
.eh-contact-form textarea,
.eh-contact-form select {
	background: #141414;
	border: 1px solid #ffffff1f;
	color: #fff;
	padding: 14px 16px;
	border-radius: 2px;
	font-size: 15px;
	outline: none;
	font-family: 'Archivo', sans-serif;
	transition: border-color 0.15s ease;
	width: 100%;
}
.eh-contact-form textarea {
	resize: vertical;
}
.eh-contact-form input:focus,
.eh-contact-form textarea:focus,
.eh-contact-form select:focus {
	border-color: #E8E51C;
}
.eh-contact-form input::placeholder,
.eh-contact-form textarea::placeholder {
	color: #6b6b66;
}
.eh-contact-form select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

/* Hibás mező kerete. */
.eh-contact-form__field.is-error input,
.eh-contact-form__field.is-error textarea,
.eh-contact-form__field.is-error select {
	border-color: #e05a5a;
}

/* --- Checkbox / pipa ---------------------------------------------------- */
.eh-contact-form__check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #cfcfca;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 600;
}
.eh-contact-form__check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 2px;
	accent-color: #E8E51C;
	cursor: pointer;
}
.eh-contact-form__check strong {
	color: #fff;
}

/* --- Adatvédelmi blokk (pipa + szöveg egy sorban) ----------------------- */
.eh-contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
}
.eh-contact-form__consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 3px;
	accent-color: #E8E51C;
	cursor: pointer;
}
.eh-contact-form__privacy-text {
	color: #9b9b95;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}
.eh-contact-form__privacy-text a,
.eh-contact-form__privacy-link {
	color: #E8E51C;
}
/* Hibás (nem pipált) konszenzus: pipa kiemelése. */
.eh-contact-form__privacy.is-error .eh-contact-form__consent input[type="checkbox"] {
	outline: 2px solid #e05a5a;
	outline-offset: 2px;
}

/* --- Honeypot (embernek rejtett) ---------------------------------------- */
.eh-contact-form__hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Visszajelzés (sikeres / hibás) ------------------------------------- */
.eh-contact-form__feedback {
	padding: 20px 24px;
	border-radius: 2px;
	font-size: 15px;
	font-weight: 700;
}
.eh-contact-form__feedback--success {
	background: #E8E51C;
	color: #0a0a0a;
}
.eh-contact-form__feedback--error {
	background: #2a0e0e;
	color: #ffb4b4;
	border: 1px solid #6b1a1a;
}

/* --- Küldés gomb — a sablon .btn--solid stílusával ---------------------- */
.eh-contact-form__submit {
	margin: 0;
}
.eh-contact-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #E8E51C;
	color: #0a0a0a;
	font-family: 'Archivo', sans-serif;
	font-weight: 900;
	font-size: 17px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 18px 32px;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.eh-contact-form__btn:hover {
	background: #ffffff;
	color: #0a0a0a;
}

/* --- Reszponzív --------------------------------------------------------- */
@media (max-width: 520px) {
	.eh-contact-form__row {
		grid-template-columns: 1fr;
	}
	.eh-contact-form__btn {
		width: 100%;
	}
}
