/* Limo Booking Plugin v2 — frontend */
.lbp {
	--lbp-accent: #c9a24a;
	--lbp-bg: #121214;
	--lbp-surface: #1b1b1e;
	--lbp-surface-2: #242428;
	--lbp-line: #34343a;
	--lbp-text: #f3f1ec;
	--lbp-muted: #a3a09a;
	--lbp-danger: #ff6b5e;
	--lbp-ok: #5fcf8a;
	--lbp-radius: 12px;
	--lbp-font: inherit;
	font-family: var(--lbp-font);
	color: var(--lbp-text);
	background: var(--lbp-bg);
	border-radius: calc(var(--lbp-radius) + 4px);
	padding: clamp(16px, 4vw, 32px);
	max-width: 1100px;
	margin: 0 auto 24px;
	box-sizing: border-box;
	line-height: 1.5;
	/* Layout responds to the space the theme gives us, not the viewport. */
	container: lbp / inline-size;
}
.lbp.lbp-theme-light {
	--lbp-bg: #ffffff;
	--lbp-surface: #f7f6f3;
	--lbp-surface-2: #efede8;
	--lbp-line: #dedbd3;
	--lbp-text: #1a1a1a;
	--lbp-muted: #6b6860;
	--lbp-danger: #c62828;
	--lbp-ok: #2e7d32;
	box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.06);
}
.lbp *, .lbp *::before, .lbp *::after { box-sizing: border-box; }
.lbp [hidden] { display: none !important; }

.lbp-title { margin: 0 0 18px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.01em; color: var(--lbp-text); }
.lbp-step-title { margin: 0 0 18px; font-size: 20px; color: var(--lbp-text); outline: none; }

/* progress */
.lbp-progress { display: flex; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; counter-reset: none; }
.lbp-progress li { flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 3px solid var(--lbp-line); color: var(--lbp-muted); font-size: 13px; margin: 0; }
.lbp-progress li.is-active, .lbp-progress li.is-done { border-color: var(--lbp-accent); color: var(--lbp-text); }
.lbp-progress-num { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lbp-surface-2); font-weight: 600; font-size: 12px; flex: none; }
.lbp-progress li.is-active .lbp-progress-num, .lbp-progress li.is-done .lbp-progress-num { background: var(--lbp-accent); color: #111; }
@container lbp (max-width: 560px) { .lbp-progress-label { display: none; } .lbp-progress li.is-active .lbp-progress-label { display: inline; } }

/* layout */
.lbp-layout { display: grid; gap: 24px; }
@container lbp (min-width: 820px) { .lbp-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } .lbp-summary { position: sticky; top: 24px; } }
.lbp-grid { display: grid; gap: 14px; }
@container lbp (min-width: 560px) { .lbp-grid-2 { grid-template-columns: 1fr 1fr; } }

/* fields */
.lbp-field { margin: 0 0 14px; position: relative; }
.lbp-field label, .lbp-fieldset legend { display: block; font-size: 13px; font-weight: 600; color: var(--lbp-muted); margin: 0 0 6px; letter-spacing: .02em; }
.lbp-field label em, .lbp-check em { font-style: normal; color: var(--lbp-accent); font-weight: 500; }
.lbp input[type=text], .lbp input[type=email], .lbp input[type=tel], .lbp input[type=date], .lbp input[type=time], .lbp input[type=number], .lbp select, .lbp textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--lbp-text);
	background: var(--lbp-surface); border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); margin: 0;
	transition: border-color .15s, box-shadow .15s; color-scheme: dark;
}
.lbp-theme-light input, .lbp-theme-light select, .lbp-theme-light textarea { color-scheme: light; }
.lbp textarea { min-height: 90px; resize: vertical; }
.lbp input:focus, .lbp select:focus, .lbp textarea:focus { outline: none; border-color: var(--lbp-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lbp-accent) 30%, transparent); }
.lbp .is-invalid { border-color: var(--lbp-danger) !important; }
.lbp-error { color: var(--lbp-danger); font-size: 13px; margin: 6px 0 0; min-height: 0; }
.lbp-error:empty { display: none; }
.lbp-success { color: var(--lbp-ok); font-size: 13px; margin: 6px 0 0; }
.lbp-hint { color: var(--lbp-muted); font-size: 13px; margin: 6px 0 14px; }
.lbp-fieldset { border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); padding: 14px 16px 4px; margin: 0 0 16px; }
.lbp-fieldset legend { padding: 0 6px; margin: 0; }
.lbp-inline { display: flex; gap: 8px; }
.lbp-inline input { flex: 1; }
.lbp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* services */
.lbp-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.lbp-service { flex: 1 1 140px; position: relative; margin: 0; }
.lbp-service input { position: absolute; opacity: 0; pointer-events: none; }
.lbp-service span { display: block; text-align: center; padding: 12px 10px; border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); background: var(--lbp-surface); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .15s; }
.lbp-service input:checked + span { border-color: var(--lbp-accent); background: color-mix(in srgb, var(--lbp-accent) 14%, var(--lbp-surface)); color: var(--lbp-text); }
.lbp-service input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lbp-accent) 40%, transparent); }

/* route column with connecting line */
.lbp-route { position: relative; padding-left: 22px; margin-bottom: 4px; }
.lbp-route::before { content: ""; position: absolute; left: 6px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(var(--lbp-accent), var(--lbp-line)); }
.lbp-field-place::before { content: ""; position: absolute; left: -21px; top: 42px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--lbp-accent); background: var(--lbp-bg); }
.lbp-stop { padding-right: 44px; }
.lbp-stop-remove { position: absolute; right: 0; top: 26px; width: 40px; height: 48px; border: 0; background: transparent; color: var(--lbp-muted); font-size: 22px; cursor: pointer; }
.lbp-link { background: none; border: 0; color: var(--lbp-accent); font: inherit; font-size: 14px; font-weight: 600; padding: 0 0 12px; cursor: pointer; }

/* autocomplete */
.lbp-ac-wrap { position: relative; }
.lbp-ac { position: absolute; z-index: 9999; left: 0; right: 0; top: calc(100% - 4px); list-style: none; margin: 0; padding: 6px; background: var(--lbp-surface); border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); box-shadow: 0 16px 40px rgba(0,0,0,.35); max-height: 320px; overflow-y: auto; }
.lbp-ac li { margin: 0; padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; font-size: 14px; }
.lbp-ac li span { color: var(--lbp-muted); font-size: 12px; }
.lbp-ac li.is-active, .lbp-ac li:hover { background: var(--lbp-surface-2); }
.lbp-ac li.is-airport strong::before { content: "✈ "; color: var(--lbp-accent); }
.lbp-ac .lbp-ac-empty { color: var(--lbp-muted); cursor: default; }

/* toggle / checks */
.lbp-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 4px 0 14px; font-weight: 600; font-size: 14px; }
.lbp-toggle input { position: absolute; opacity: 0; }
.lbp-toggle-ui { width: 42px; height: 24px; border-radius: 99px; background: var(--lbp-surface-2); border: 1px solid var(--lbp-line); position: relative; transition: background .15s; }
.lbp-toggle-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--lbp-muted); transition: transform .15s, background .15s; }
.lbp-toggle input:checked + .lbp-toggle-ui { background: var(--lbp-accent); }
.lbp-toggle input:checked + .lbp-toggle-ui::after { transform: translateX(18px); background: #111; }
.lbp-toggle input:focus-visible + .lbp-toggle-ui { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lbp-accent) 40%, transparent); }
.lbp-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; cursor: pointer; }
.lbp-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lbp-accent); flex: none; }
.lbp-check a { color: var(--lbp-accent); }

/* stepper */
.lbp-stepper { display: flex; }
.lbp-stepper input { text-align: center; border-radius: 0 !important; -moz-appearance: textfield; }
.lbp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.lbp-stepper button { width: 48px; flex: none; border: 1px solid var(--lbp-line); background: var(--lbp-surface-2); color: var(--lbp-text); font-size: 20px; cursor: pointer; }
.lbp-stepper button:first-child { border-radius: var(--lbp-radius) 0 0 var(--lbp-radius); border-right: 0; }
.lbp-stepper button:last-child { border-radius: 0 var(--lbp-radius) var(--lbp-radius) 0; border-left: 0; }

/* chips */
.lbp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.lbp-chip { position: relative; margin: 0; }
.lbp-chip input { position: absolute; opacity: 0; }
.lbp-chip span { display: inline-block; padding: 8px 16px; border: 1px solid var(--lbp-line); border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 600; background: var(--lbp-surface); }
.lbp-chip input:checked + span { border-color: var(--lbp-accent); background: var(--lbp-accent); color: #111; }
.lbp-chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lbp-accent) 40%, transparent); }
.lbp-radio-card { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); margin-bottom: 10px; cursor: pointer; font-size: 14px; }
.lbp-radio-card input { accent-color: var(--lbp-accent); margin-top: 3px; }
.lbp-radio-card small { color: var(--lbp-muted); }
.lbp-radio-card em { color: var(--lbp-accent); font-style: normal; }

/* buttons */
.lbp-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.lbp-actions-wrap { justify-content: flex-start; }
.lbp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--lbp-radius); font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .02em; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .1s, filter .15s, background .15s; }
.lbp-btn:active { transform: translateY(1px); }
.lbp-btn:disabled { opacity: .6; cursor: progress; }
.lbp-btn-primary { background: var(--lbp-accent); color: #111; margin-left: auto; }
.lbp-btn-primary:hover { filter: brightness(1.08); }
.lbp-btn-ghost { background: transparent; color: var(--lbp-text); border-color: var(--lbp-line); }
.lbp-btn-ghost:hover { border-color: var(--lbp-accent); }
.lbp-btn-danger { background: transparent; color: var(--lbp-danger); border-color: color-mix(in srgb, var(--lbp-danger) 50%, transparent); }
.lbp-btn-lg { min-height: 54px; padding-inline: 28px; }
.lbp.is-busy .lbp-btn-primary { position: relative; }

/* alerts */
.lbp-alert { padding: 12px 14px; border-radius: var(--lbp-radius); background: color-mix(in srgb, var(--lbp-danger) 14%, var(--lbp-surface)); border: 1px solid color-mix(in srgb, var(--lbp-danger) 40%, transparent); margin: 0 0 16px; font-size: 14px; }
.lbp-notice { padding: 20px; }
.lbp-banner { padding: 14px 16px; border-radius: var(--lbp-radius); background: var(--lbp-surface-2); margin-bottom: 18px; font-weight: 600; }
.lbp-banner-ok { background: color-mix(in srgb, var(--lbp-ok) 16%, var(--lbp-surface)); }
.lbp-banner-warn { background: color-mix(in srgb, var(--lbp-accent) 18%, var(--lbp-surface)); }

/* vehicles */
.lbp-map { height: 240px; border-radius: var(--lbp-radius); overflow: hidden; margin-bottom: 10px; background: var(--lbp-surface); }
.lbp-route-meta { color: var(--lbp-muted); font-size: 14px; margin-bottom: 14px; }
.lbp-vehicles { display: grid; gap: 12px; }
.lbp-veh { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 12px; background: var(--lbp-surface); border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); color: var(--lbp-text); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.lbp-veh:hover:not(:disabled) { border-color: var(--lbp-accent); transform: translateY(-1px); }
.lbp-veh.is-selected { border-color: var(--lbp-accent); box-shadow: inset 0 0 0 1px var(--lbp-accent); }
.lbp-veh.is-disabled { opacity: .5; cursor: not-allowed; }
.lbp-veh-media { aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: var(--lbp-surface-2); }
.lbp-veh-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbp-veh-ph { width: 100%; height: 100%; background: no-repeat center/60% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32' fill='none' stroke='%23a3a09a' stroke-width='2'%3E%3Cpath d='M4 22h56v-5l-8-3-8-7H22l-9 7-9 3z'/%3E%3Ccircle cx='16' cy='23' r='4' fill='%23242428'/%3E%3Ccircle cx='48' cy='23' r='4' fill='%23242428'/%3E%3C/svg%3E"); }
.lbp-veh-body { overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lbp-veh-name { font-size: 16px; }
.lbp-veh-desc { color: var(--lbp-muted); font-size: 13px; }
.lbp-veh-cap { display: flex; gap: 12px; color: var(--lbp-muted); font-size: 13px; }
.lbp-i-pax::before { content: "👤 "; }
.lbp-i-bag::before { content: "🧳 "; }
.lbp-veh-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lbp-veh-price strong { font-size: 20px; }
.lbp-veh-price small { color: var(--lbp-muted); font-size: 12px; }
.lbp-veh-cta { margin-top: 6px; padding: 4px 12px; border-radius: 99px; background: var(--lbp-surface-2); font-size: 12px; font-weight: 700; }
.lbp-veh.is-selected .lbp-veh-cta { background: var(--lbp-accent); color: #111; }
.lbp-veh-reason { max-width: 110px; }
@container lbp (max-width: 560px) {
	.lbp-veh { grid-template-columns: 84px 1fr; }
	.lbp-veh-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
	.lbp-veh-cta { margin: 0; }
}

/* summary */
.lbp-summary { background: var(--lbp-surface); border: 1px solid var(--lbp-line); border-radius: var(--lbp-radius); padding: 18px; }
.lbp-summary h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--lbp-muted); }
.lbp-sum-trip { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; }
.lbp-sum-trip li { margin: 0 0 6px; padding-left: 18px; position: relative; }
.lbp-sum-trip li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--lbp-line); }
.lbp-sum-svc { font-weight: 700; padding-left: 0 !important; }
.lbp-sum-svc::before, .lbp-sum-when::before { display: none; }
.lbp-sum-when { padding-left: 0 !important; color: var(--lbp-muted); }
.lbp-sum-from::before, .lbp-sum-to::before { background: var(--lbp-accent) !important; }
.lbp-sum-return { color: var(--lbp-muted); }
.lbp-sum-return::before { content: "↩" !important; background: none !important; top: 0 !important; color: var(--lbp-accent); }
.lbp-lines { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 8px; border: 0; }
.lbp-lines td { padding: 5px 0; border: 0; background: none; vertical-align: top; }
.lbp-lines td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.lbp-lines .is-vehicle td { font-weight: 700; padding-bottom: 8px; }
.lbp-lines .is-surcharge td, .lbp-lines .is-fee td { color: var(--lbp-muted); }
.lbp-lines .is-discount td { color: var(--lbp-ok); }
.lbp-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--lbp-line); padding-top: 12px; font-size: 15px; }
.lbp-total strong { font-size: 24px; color: var(--lbp-accent); }
.lbp-total small { font-size: 12px; color: var(--lbp-muted); }
.lbp-deposit { display: flex; justify-content: space-between; color: var(--lbp-muted); font-size: 13px; margin-top: 6px; }

/* review */
.lbp-review { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; font-size: 14px; }
.lbp-review dt { color: var(--lbp-muted); }
.lbp-review dd { margin: 0; word-break: break-word; }

/* manage page */
.lbp-manage { max-width: 900px; }
.lbp-manage-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.lbp-eyebrow { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--lbp-muted); }
.lbp-order { margin: 0; font-size: 26px; letter-spacing: .02em; color: var(--lbp-text); }
.lbp-pill { display: inline-block; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--lbp-surface-2); }
.lbp-pill-confirmed, .lbp-pill-assigned, .lbp-pill-in_progress { background: color-mix(in srgb, var(--lbp-accent) 25%, var(--lbp-surface)); }
.lbp-pill-completed { background: color-mix(in srgb, var(--lbp-ok) 25%, var(--lbp-surface)); }
.lbp-pill-cancelled, .lbp-pill-no_show { background: color-mix(in srgb, var(--lbp-danger) 25%, var(--lbp-surface)); }
.lbp-track { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 4px; }
.lbp-track li { flex: 1; font-size: 12px; color: var(--lbp-muted); padding-top: 10px; border-top: 3px solid var(--lbp-line); margin: 0; }
.lbp-track li.is-done { border-color: var(--lbp-accent); color: var(--lbp-text); }
.lbp-driver { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--lbp-radius); background: var(--lbp-surface); border: 1px solid var(--lbp-accent); margin-bottom: 18px; }
.lbp-driver a { color: var(--lbp-accent); }
.lbp-driver-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lbp-accent); color: #111; font-weight: 800; font-size: 18px; }
.lbp-manage-grid { display: grid; gap: 20px; }
@container lbp (min-width: 760px) { .lbp-manage-grid { grid-template-columns: 1fr 320px; } }
.lbp-paystate { color: var(--lbp-muted); font-size: 13px; margin: 8px 0 0; }
.lbp-help { text-align: center; color: var(--lbp-muted); font-size: 14px; margin: 18px 0 0; }
.lbp-help a { color: var(--lbp-accent); font-weight: 700; }

/* quick quote */
.lbp-quick { padding: 18px; }
.lbp-quick .lbp-title { font-size: 20px; margin-bottom: 12px; }
.lbp-quick-form { display: grid; gap: 10px; }
@container lbp (min-width: 900px) { .lbp-quick-form { grid-template-columns: 1fr 1.4fr 1.4fr 1fr .8fr auto; align-items: stretch; } }
.lbp-quick-form .lbp-btn { margin: 0; }

@media (prefers-reduced-motion: reduce) { .lbp * { transition: none !important; } }
.lbp-qq-place { position: relative; }

/* Block themes: break out of the narrow content column. */
.lbp.alignwide { max-width: min(1100px, 100%); }
.lbp-veh, .lbp-veh * { letter-spacing: normal; text-transform: none; }
.lbp-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; background: color-mix(in srgb, var(--lbp-accent) 22%, transparent); color: var(--lbp-accent); }
.lbp-flight-live { padding: 12px 16px; border-radius: var(--lbp-radius); background: var(--lbp-surface); border: 1px solid var(--lbp-line); margin-bottom: 18px; font-size: 14px; }
.lbp-flight-live.lbp-flight-delayed { border-color: #dba617; }
.lbp-flight-live.lbp-flight-landed { border-color: var(--lbp-ok); }
.lbp-flight-live.lbp-flight-cancelled, .lbp-flight-live.lbp-flight-diverted { border-color: var(--lbp-danger); }
