/* ============================================================
   LH Guest Check-In v2 — Standalone wizard
   Design system: Bebas Neue display · DM Sans body
   Gold #E8C547 · Green #3DB87A · Dark bg #0d0d0d
   NOTE: all sizes in px — independent of html root font-size
============================================================ */

/* ── Reset inside our scope ─────────────────────────────── */
.lhci-page *,
.lhci-page *::before,
.lhci-page *::after {
	box-sizing: border-box;
}

/* ── Page wrapper ───────────────────────────────────────── */
.lhci-page {
	min-height: 100vh;
	background: #0d0d0d;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 40px 16px 64px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
}

/* ── Property header ────────────────────────────────────── */
.lhci-prop-header {
	display: flex;
	align-items: center;
	gap: 16px;
	text-align: left;
	width: 100%;
	max-width: 700px;
	padding: 0 0 24px;
}

.lhci-prop-header__icon {
	font-size: 36px;
	flex-shrink: 0;
}

.lhci-prop-header__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 3px;
}

.lhci-prop-header__name {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 24px;
	letter-spacing: 0.04em;
	color: #fff;
	line-height: 1.1;
}

.lhci-prop-header__loc {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 3px;
}

/* ── Stay info bar (guest steps) ───────────────────────── */
.lhci-stay-info {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 0;
}

.lhci-stay-info__nights {
	margin-left: auto;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
	white-space: nowrap;
}

/* ── Date group (count step) ────────────────────────────── */
.lhci-date-group {
	margin: 8px 0 20px;
}

.lhci-date-group__label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 10px !important;
}

/* ── Card ───────────────────────────────────────────────── */
.lhci-card {
	width: 100%;
	max-width: 700px;
	background: #131313;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	overflow: hidden;
}

/* ── Top bar ────────────────────────────────────────────── */
.lhci-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 0;
	gap: 16px;
}

/* Language switch */
.lhci-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.lhci-lang__sep {
	color: rgba(255, 255, 255, 0.2);
	font-size: 12px;
}

.lhci-lang__btn {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 5px 11px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
	line-height: 1.5;
}

.lhci-lang__btn--active,
.lhci-lang__btn:hover {
	color: #E8C547;
	border-color: #E8C547;
	background: rgba(232, 197, 71, 0.08);
}

/* Progress bar */
.lhci-progress {
	flex: 1;
	height: 3px;
	background: rgba(255, 255, 255, 0.07);
	border-radius: 99px;
	overflow: hidden;
}

.lhci-progress__fill {
	height: 100%;
	background: #E8C547;
	border-radius: 99px;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	width: 0%;
}

/* ── Body ───────────────────────────────────────────────── */
.lhci-body {
	padding: 36px 40px 28px;
}

/* ── Steps ──────────────────────────────────────────────── */
.lhci-step {
	display: none;
}

.lhci-step--active {
	display: block;
	animation: lhci-in 0.28s ease;
}

@keyframes lhci-in {
	from { opacity: 0; transform: translateX(18px); }
	to   { opacity: 1; transform: translateX(0); }
}

.lhci-step__icon {
	font-size: 36px;
	line-height: 1;
	margin-bottom: 14px;
	display: block;
}

.lhci-step__title {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 34px !important;
	letter-spacing: 0.04em;
	color: #E8C547 !important;
	margin: 0 0 8px !important;
	line-height: 1.05 !important;
}

.lhci-step__desc {
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	margin: 0 0 24px !important;
	line-height: 1.55;
}

/* ── Guest count picker ─────────────────────────────────── */
.lhci-count-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

.lhci-count-btn {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 30px;
	letter-spacing: 0.04em;
	background: rgba(255, 255, 255, 0.06);
	border: 2px solid rgba(255, 255, 255, 0.13);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
	line-height: 1;
	padding: 0;
	width: 100%;
}

.lhci-count-btn:hover {
	border-color: rgba(232, 197, 71, 0.6);
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-2px);
}

.lhci-count-btn--sel {
	background: rgba(232, 197, 71, 0.14) !important;
	border-color: #E8C547 !important;
	color: #E8C547 !important;
}

/* ── Guest fields ───────────────────────────────────────── */
.lhci-guest-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 20px;
}

.lhci-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* Dátum narodenia — deň / mesiac / rok */
.lhci-birth-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr 1.1fr;
	gap: 8px;
}

/* Nápoveda pri nepovinnom doklade (SK dieťa do 15 r.) — nad poľami dokladu */
.lhci-doc-hint {
	margin: 0 0 -4px !important;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	font-style: italic;
}

.lhci-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.lhci-field label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.6);
}

.lhci-field label span {
	color: #E8C547;
}

/* ── Inputs & selects ───────────────────────────────────── */
.lhci-field input,
.lhci-field select,
#lhci-email {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: 10px !important;
	color: #f0f0f0 !important;
	padding: 0 15px !important;
	min-height: 52px;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	width: 100%;
	transition: border-color 0.18s, box-shadow 0.18s;
	outline: none !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
}

.lhci-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	padding-right: 40px !important;
	cursor: pointer;
}

/* Email field — larger than guest fields, it's the hero input */
#lhci-email {
	display: block;
	margin-bottom: 4px;
	font-size: 18px !important;
	padding: 0 17px !important;
}

.lhci-field input:focus,
.lhci-field select:focus,
#lhci-email:focus {
	border-color: #E8C547 !important;
	box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.13) !important;
}

.lhci-field input::placeholder,
#lhci-email::placeholder {
	color: rgba(255, 255, 255, 0.2) !important;
}

/* Date inputs — viditeľná ikona kalendára (jasná akcia aj pri prázdnom poli, vrátane iOS) */
.lhci-field input[type="date"] {
	position: relative;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	padding-right: 44px !important;
}

/* Celé pole je klikacie a otvára kalendár (indikátor roztiahnutý cez celý input, priehľadný).
   Bez tohto sa na desktope kalendár nedal otvoriť klikom — len manuálnym písaním. */
input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
}

/* ── Error messages ─────────────────────────────────────── */
.lhci-err {
	display: none;
	font-size: 14px;
	color: #ff8080;
	margin: 4px 0 12px !important;
	padding: 10px 14px;
	background: rgba(220, 60, 60, 0.12);
	border: 1px solid rgba(220, 60, 60, 0.3);
	border-radius: 8px;
}

/* ── Actions row ────────────────────────────────────────── */
.lhci-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
}

.lhci-actions--end {
	justify-content: flex-end;
}

/* ── Buttons ────────────────────────────────────────────── */
.lhci-btn {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 19px !important;
	letter-spacing: 0.08em;
	padding: 0 32px !important;
	min-height: 52px;
	border-radius: 10px !important;
	border: none !important;
	cursor: pointer;
	transition: opacity 0.15s, transform 0.12s;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.lhci-btn--primary {
	background: #E8C547 !important;
	color: #000 !important;
}

.lhci-btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }
.lhci-btn--primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.lhci-btn--ghost {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.55) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	padding: 0 22px !important;
	font-size: 17px !important;
}

.lhci-btn--ghost:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.35) !important; }

/* ── Success screen ─────────────────────────────────────── */
.lhci-success {
	text-align: center;
	padding: 48px 16px;
	animation: lhci-in 0.35s ease;
}

.lhci-success__icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #3DB87A;
	color: #fff;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}

.lhci-success__title {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 34px !important;
	letter-spacing: 0.04em;
	color: #E8C547 !important;
	margin: 0 0 10px !important;
	line-height: 1 !important;
}

.lhci-success__msg {
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	line-height: 1.6;
	max-width: 420px;
	margin: 0 auto !important;
}

/* ── Footer / privacy ───────────────────────────────────── */
.lhci-foot {
	padding: 12px 24px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lhci-privacy {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45) !important;
	text-align: center;
	margin: 0 !important;
	line-height: 1.5;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 560px) {
	.lhci-page {
		padding: 0;
		align-items: stretch;
	}

	.lhci-prop-header {
		padding: 16px 16px 12px;
		gap: 12px;
	}

	.lhci-prop-header__icon {
		font-size: 28px;
	}

	.lhci-prop-header__label {
		font-size: 11px;
	}

	.lhci-prop-header__name {
		font-size: 20px;
	}

	.lhci-prop-header__loc {
		font-size: 13px;
	}

	.lhci-card {
		border-radius: 0;
		border-left: none;
		border-right: none;
		border-top: none;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
	}

	.lhci-body {
		flex: 1;
		padding: 18px 16px 14px;
	}

	.lhci-field-row {
		grid-template-columns: 1fr;
	}

	.lhci-count-grid {
		gap: 8px;
		margin-bottom: 20px;
	}

	.lhci-count-btn {
		height: 54px;
		font-size: 24px;
	}

	.lhci-step__title {
		font-size: 26px !important;
		margin-bottom: 6px !important;
	}

	.lhci-step__desc {
		font-size: 14px;
		margin-bottom: 20px !important;
	}

	.lhci-step__icon {
		font-size: 32px;
		margin-bottom: 12px;
	}

	.lhci-stay-info {
		font-size: 14px;
		padding: 10px 12px;
	}

	.lhci-stay-info__nights {
		font-size: 12px;
	}

	/* Jednotná výška ovládacích prvkov na mobile */
	.lhci-field input,
	.lhci-field select,
	#lhci-email,
	.lhci-btn {
		min-height: 48px;
	}

	/* Tlačidlá na jednom riadku, nezalamovať */
	.lhci-actions {
		gap: 10px;
	}

	.lhci-btn {
		font-size: 16px !important;
		padding: 0 16px !important;
	}

	.lhci-btn--primary {
		flex: 1;
		justify-content: center;
	}

	.lhci-btn--ghost {
		font-size: 15px !important;
		padding: 0 16px !important;
	}

	.lhci-privacy {
		font-size: 12px;
	}
}

@media (max-width: 360px) {
	.lhci-count-btn { font-size: 22px; }
	.lhci-step__title { font-size: 24px !important; }
}
