/* LockedMeIN egylépéses fizetés - a téma változóira épül, tartalékértékekkel. */

/* Nyitóoldal: csak a logó */
body.lmf-front {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding: 24px;
	background: var(--bg, #140807);
}
.lmf-front-logo img {
	display: block;
	width: auto;
	max-width: min(78vw, 440px);
	max-height: 42vh;
	height: auto;
}

.lmf-form { margin: 0; }

.lmf-head {
	padding: 20px;
	margin-bottom: 20px;
	background: var(--surface, #221110);
	border: 1px solid var(--line, #4a2a25);
	border-radius: var(--radius, 14px);
	text-align: center;
}
.lmf-head h1 { margin-bottom: 6px; }

.lmf-price {
	margin: 0;
	font-size: 34px;
	font-weight: 800;
	color: var(--accent, #f5a623);
	letter-spacing: .01em;
}

.lmf-desc { color: var(--muted, #cdb8a8); font-size: 15px; margin-top: 10px; }
.lmf-desc p { margin: 0; }

/* --- Szoba ---------------------------------------------------------------- */

.lmf-room { text-align: left; margin-top: 16px; }
.lmf-head .lmf-price + .lmf-room { margin-top: 18px; }

/* --- Egyedi összeg ------------------------------------------------------- */

.lmf-amount { text-align: left; margin-top: 12px; }
.lmf-amount-wrap { position: relative; }
.lmf-form .lmf-amount input[type="text"] {
	height: 72px;
	padding-right: 56px;
	font-size: 32px;
	font-weight: 800;
	text-align: right;
	color: var(--accent, #f5a623);
}
.lmf-currency {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 700;
	color: var(--muted, #cdb8a8);
	pointer-events: none;
}
.lmf-help { margin: 6px 0 0; font-size: 14px; color: var(--muted, #cdb8a8); }

/* --- Mezők ---------------------------------------------------------------- */

.lmf-billing,
.lmf-gateways {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.lmf-billing legend,
.lmf-gateways legend {
	padding: 0;
	margin-bottom: 12px;
	font-family: var(--font-head, sans-serif);
	font-size: 20px;
	font-weight: 600;
}

.lmf-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px 12px;
}
.lmf-field { grid-column: span 6; min-width: 0; }
.lmf-field.is-half { grid-column: span 3; }
.lmf-field.is-narrow { grid-column: span 2; }
.lmf-field.is-wide { grid-column: span 4; }

.lmf-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted, #cdb8a8);
}

.lmf-form input[type="text"],
.lmf-form input[type="email"],
.lmf-form select {
	display: block;
	width: 100%;
	height: var(--tap, 56px);
	padding: 0 16px;
	border: 1.5px solid var(--line, #4a2a25);
	border-radius: var(--radius-input, 12px);
	background: var(--bg, #140807);
	color: var(--text, #fbf3ea);
	font: 500 18px/1.2 var(--font, system-ui, sans-serif); /* 16px fölött az iOS nem nagyít rá */
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.lmf-form select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f5a623' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}
.lmf-form input:focus,
.lmf-form select:focus {
	outline: none;
	border-color: var(--accent, #f5a623);
	box-shadow: 0 0 0 3px var(--accent-ring, rgba(245, 166, 35, .25));
}

.lmf-form .has-error input,
.lmf-form .has-error select { border-color: var(--danger, #ff8a7a); }
.lmf-error {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--danger, #ff8a7a);
}

.lmf-gateway {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--tap, 56px);
	padding: 0 16px;
	margin-bottom: 8px;
	border: 1.5px solid var(--line, #4a2a25);
	border-radius: var(--radius-input, 12px);
	cursor: pointer;
}
.lmf-gateway:has(input:checked) { border-color: var(--accent, #f5a623); }
.lmf-gateway input { width: 22px; height: 22px; accent-color: var(--accent, #f5a623); }

/* --- Gomb, üzenetek ------------------------------------------------------- */

.lmf-submit {
	width: 100%;
	min-height: 64px;
	font-size: 20px;
	border-radius: var(--radius-button, 14px);
	background: var(--accent, #f5a623);
	color: var(--on-accent, #1b0000);
	box-shadow: var(--accent-shadow, 0 6px 20px rgba(245, 166, 35, .25));
}
.lmf-submit[disabled] { opacity: .7; cursor: progress; }

.lmf-secure {
	margin: 12px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--muted, #cdb8a8);
}
.lmf-secure::before { content: "\1F512\FE0E  "; }
.lmf-secure.is-cash::before { content: none; }

.lmf-alert {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--radius-input, 12px);
	background: var(--danger-bg, #3a1411);
	border: 1px solid var(--danger, #ff8a7a);
	color: #fff;
}

.lmf-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 359px) {
	.lmf-field.is-half,
	.lmf-field.is-narrow,
	.lmf-field.is-wide { grid-column: span 6; }
}
