/* Laaiin Aanhanger Huur — wizard styles */
.laaiin-huur {
	--lh-primary: #e63946;
	--lh-primary-dark: #b8232f;
	--lh-bg: #f8f9fa;
	--lh-card: #fff;
	--lh-border: #e5e7eb;
	--lh-text: #1f2937;
	--lh-muted: #6b7280;
	--lh-success: #16a34a;
	--lh-radius: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--lh-text);
	max-width: 1100px;
	margin: 0 auto;
	background: var(--lh-bg);
	border-radius: var(--lh-radius);
	padding: 24px;
	box-sizing: border-box;
}
.laaiin-huur *,
.laaiin-huur *::before,
.laaiin-huur *::after { box-sizing: border-box; }

.laaiin-huur__header { margin-bottom: 24px; }
.laaiin-huur__title { margin: 0 0 16px; font-size: 1.75rem; }

.laaiin-huur__steps {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0; padding: 0;
	flex-wrap: wrap;
}
.laaiin-huur__steps li {
	flex: 1 1 0;
	min-width: 140px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--lh-border);
	border-radius: 8px;
	color: var(--lh-muted);
	display: flex; align-items: center; gap: 10px;
	font-size: 0.95rem;
}
.laaiin-huur__steps li span {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px;
	background: #e5e7eb; color: #4b5563;
	border-radius: 50%;
	font-weight: 700; font-size: 0.85rem;
}
.laaiin-huur__steps li.is-active { color: var(--lh-text); border-color: var(--lh-primary); }
.laaiin-huur__steps li.is-active span { background: var(--lh-primary); color: #fff; }
.laaiin-huur__steps li.is-done span { background: var(--lh-success); color: #fff; }

.laaiin-huur__loading { padding: 40px; text-align: center; color: var(--lh-muted); }

/* Bar (back button + heading) */
.lh-bar {
	display: flex; align-items: center; gap: 14px;
	margin-bottom: 16px;
}
.lh-bar h3 { margin: 0; font-size: 1.25rem; }
.lh-bar h3 small { color: var(--lh-muted); font-weight: 400; }
.lh-back {
	background: #fff; border: 1px solid var(--lh-border);
	padding: 8px 14px; border-radius: 8px; cursor: pointer;
	font-size: 0.9rem;
}
.lh-back:hover { border-color: var(--lh-primary); color: var(--lh-primary); }

/* Stap 1: cities */
.lh-search { display: block; margin-bottom: 16px; }
.lh-search span { display: block; font-size: 0.85rem; color: var(--lh-muted); margin-bottom: 4px; }
.lh-search input {
	width: 100%; padding: 12px 14px;
	border: 1px solid var(--lh-border); border-radius: 8px;
	font-size: 1rem;
}
.lh-cities,
.lh-provinces {
	list-style: none !important; margin: 0; padding: 0;
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.lh-cities li,
.lh-provinces li {
	list-style: none !important;
	margin: 0; padding: 0;
	background: none !important;
	text-indent: 0;
}
.lh-cities li::marker,
.lh-provinces li::marker { content: '' !important; }
.lh-cities li::before,
.lh-provinces li::before { content: none !important; display: none !important; }
.lh-city,
.lh-province {
	width: 100%; text-align: left;
	background: #fff; border: 1px solid var(--lh-border);
	padding: 16px; border-radius: var(--lh-radius); cursor: pointer;
	transition: all .15s;
}
.lh-city strong,
.lh-province strong { display: block; font-size: 1.05rem; }
.lh-city small,
.lh-province small { color: var(--lh-muted); font-size: 0.85rem; }
.lh-city:hover,
.lh-province:hover { border-color: var(--lh-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.lh-province.is-active { border-color: var(--lh-primary); background: rgba(220, 38, 38, 0.04); box-shadow: 0 0 0 2px var(--lh-primary) inset; }
.lh-step-title { margin: 0 0 12px; font-size: 1.05rem; }
.lh-section + .lh-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--lh-border); }

/* Stap 2: companies */
.lh-companies {
	display: grid; gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.lh-company {
	background: #fff; border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius); padding: 18px;
}
.lh-company.is-digital {
	border-color: #3b82f6;
	box-shadow: 0 0 0 2px rgba(59,130,246,.16) inset;
	cursor: pointer;
}
.lh-company header {
	display: flex; justify-content: space-between; align-items: center;
	gap: 10px; margin-bottom: 6px;
}
.lh-company h4 { margin: 0; font-size: 1.1rem; }
.lh-company-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: #dbeafe;
	color: #1e40af;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
}
.lh-address { color: var(--lh-muted); font-size: 0.9rem; margin: 0 0 14px; }
.lh-digital-note {
	margin: 0 0 12px;
	color: #1e40af;
	font-size: 0.9rem;
}
.lh-trailers {
	list-style: none; margin: 0 0 16px; padding: 0;
	display: grid; gap: 6px;
}
.lh-trailers li {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center; gap: 10px;
	padding: 6px 10px; border-radius: 8px;
	background: #f8f9fa;
	font-size: 0.9rem;
	text-align: left;
}
.lh-trailers li.is-unavail { opacity: .55; }
.lh-trailers .lh-icon { font-size: 1.2rem; width: 40px; height: 32px; display: flex; align-items: center; justify-content: center; }
.lh-trailers .lh-thumb {
	width: 40px; height: 32px; object-fit: contain;
	background: #fff; border-radius: 4px;
}
.lh-trailers .lh-label { font-weight: 500; text-align: left; }
.lh-empty { padding: 24px; text-align: center; color: var(--lh-muted); }

/* Buttons */
.lh-btn {
	display: inline-block; padding: 10px 18px;
	background: #fff; color: var(--lh-text);
	border: 1px solid var(--lh-border); border-radius: 8px;
	cursor: pointer; font-size: 0.95rem; font-weight: 500;
	transition: all .15s;
}
.lh-btn:hover { border-color: var(--lh-primary); color: var(--lh-primary); }
.lh-btn--primary { background: var(--lh-primary); color: #fff; border-color: var(--lh-primary); }
.lh-btn--primary:hover { background: var(--lh-primary-dark); border-color: var(--lh-primary-dark); color: #fff; }
.lh-btn--digital { background: #2563eb; color: #fff; border-color: #2563eb; }
.lh-btn--digital:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.lh-btn--lg { padding: 14px 24px; font-size: 1.05rem; }
.lh-btn[disabled] { opacity: .6; cursor: wait; }

/* Stap 3: form + map */
.lh-grid {
	display: grid; gap: 24px;
	grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr);
}
@media (min-width: 1400px) {
	.laaiin-huur { max-width: 1280px; }
}
@media (max-width: 800px) {
	.lh-grid { grid-template-columns: 1fr; }
}
.lh-map {
	background: #fff; border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius); overflow: hidden;
	display: flex; flex-direction: column;
}
.lh-map iframe { width: 100%; height: 320px; border: 0; display: block; }
.lh-company-meta { padding: 16px; font-size: 0.95rem; }
.lh-company-meta p { margin: 4px 0; }
.lh-company-meta a { color: var(--lh-primary); text-decoration: none; }

.lh-form {
	background: #fff; border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius); padding: 20px;
}
.lh-fieldset {
	border: 0; padding: 0; margin: 0 0 18px;
}
.lh-fieldset legend {
	font-weight: 600; padding: 0; margin-bottom: 10px;
	font-size: 1rem;
}
.lh-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.lh-row label { flex: 1 1 calc(50% - 12px); min-width: 140px; display: block; font-size: 0.85rem; color: var(--lh-muted); }
.lh-row__wide { flex: 2 1 100%; }
.lh-form input,
.lh-form textarea,
.lh-form select {
	width: 100%; padding: 10px 12px; margin-top: 4px;
	border: 1px solid var(--lh-border); border-radius: 8px;
	font-size: 0.95rem; background: #fff; color: var(--lh-text);
	font-family: inherit;
}
.lh-form input:focus,
.lh-form textarea:focus { outline: 2px solid var(--lh-primary); outline-offset: 1px; border-color: var(--lh-primary); }

.lh-trailer-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.lh-pick {
	position: relative;
	display: flex; flex-direction: column;
	gap: 4px;
	padding: 10px;
	border: 2px solid var(--lh-border); border-radius: 10px;
	cursor: pointer; transition: all .15s;
	background: #fff;
	text-align: center;
}
.lh-pick input { display: none; }
.lh-pick__img {
	width: 100%; height: 70px;
	object-fit: contain;
	background: #f8f9fa;
	border-radius: 6px;
	padding: 4px;
}
.lh-pick__icon { font-size: 1.8rem; height: 70px; display: flex; align-items: center; justify-content: center; }
.lh-pick__label { font-weight: 600; font-size: 0.95rem; }
.lh-pick__specs { color: var(--lh-muted); font-size: 0.75rem; }
.lh-pick:hover { border-color: var(--lh-primary); transform: translateY(-2px); }
.lh-pick:has(input:checked) { border-color: var(--lh-primary); background: #fff5f5; box-shadow: 0 0 0 3px rgba(230,57,70,.18); }
.lh-pick.is-disabled { opacity: .45; cursor: not-allowed; }
.lh-pick.is-disabled:hover { transform: none; border-color: var(--lh-border); }

.lh-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.lh-feedback { margin-top: 12px; min-height: 1.2em; font-size: 0.95rem; }
.lh-feedback.is-error { color: #b91c1c; }

.lh-success {
	background: #fff; border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius); padding: 32px;
	text-align: center;
}
.lh-success h3 { color: var(--lh-success); margin-top: 0; }
.lh-debug-banner {
	background: #fef3c7; color: #92400e;
	padding: 8px 12px; border-radius: 6px;
	display: inline-block; font-size: 0.9rem;
}
.lh-debug {
	text-align: left; margin: 16px auto; max-width: 720px;
	background: #0f172a; color: #e2e8f0;
	border-radius: 8px; padding: 12px 16px;
}
.lh-debug summary { cursor: pointer; font-weight: 600; padding: 6px 0; color: #fbbf24; }
.lh-debug pre {
	background: transparent; color: inherit; margin: 4px 0 12px;
	white-space: pre-wrap; word-break: break-word;
	font-size: 0.85rem; line-height: 1.4;
}
