/* ==========================================================================
   PDX Legal Help — Consultation Booking
   All rules scoped to #pdxlh-app / .pdxlh- to prevent theme + Elementor bleed.
   Brand: #C8490A
   ========================================================================== */

#pdxlh-app {
	--pdxlh-brand: #C8490A;
	--pdxlh-brand-dark: #A43A06;
	--pdxlh-brand-soft: #FDF1EB;
	--pdxlh-ink: #16140F;
	--pdxlh-body: #413C35;
	--pdxlh-muted: #7A736A;
	--pdxlh-line: #DEDAD4;
	--pdxlh-bg: #FFFFFF;
	--pdxlh-radius: 6px;

	max-width: 1040px;
	margin: 0 auto;
	padding: 0 0 8px;
	color: var(--pdxlh-body);
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
}

#pdxlh-app *,
#pdxlh-app *::before,
#pdxlh-app *::after { box-sizing: border-box; }

#pdxlh-app p { margin: 0 0 12px; color: var(--pdxlh-body); }

/* --------------------------------------------------------------------------
   Letterhead (mirrors the printed PDF header)
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-letterhead {
	background: #fff;
	padding: 18px 10px 0;
	margin-bottom: 26px;
}

#pdxlh-app .pdxlh-lh-asimage { padding: 0; }

#pdxlh-app .pdxlh-lh-banner {
	display: block;
	width: 100%;
	height: auto;
	max-width: 1040px;
	margin: 0 auto;
}

/* Image mode: banner on desktop, coded version on phones. */
#pdxlh-app .pdxlh-lh-mobileonly { display: none; }

#pdxlh-app .pdxlh-lh-email {
	text-align: center;
	font-size: clamp(16px, 2.6vw, 30px);
	letter-spacing: .01em;
	color: var(--pdxlh-ink);
	margin-bottom: 14px;
	word-break: break-word;
}

#pdxlh-app .pdxlh-lh-grid {
	display: grid;
	grid-template-columns: 1fr minmax(120px, 0.7fr) 1fr;
	gap: 14px;
	align-items: start;
}

#pdxlh-app .pdxlh-lh-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#pdxlh-app .pdxlh-lh-box {
	border: 1.5px solid var(--pdxlh-ink);
	padding: 8px 12px;
	font-size: clamp(12px, 1.35vw, 16px);
	line-height: 1.35;
	background: #fff;
}

#pdxlh-app .pdxlh-lh-box strong {
	display: block;
	color: var(--pdxlh-ink);
	font-weight: 700;
}

#pdxlh-app .pdxlh-lh-box span {
	display: block;
	color: var(--pdxlh-ink);
}

#pdxlh-app .pdxlh-lh-center {
	align-items: center;
	justify-content: center;
}

#pdxlh-app .pdxlh-lh-statue {
	display: block;
	width: 100%;
	max-width: 230px;
	height: auto;
	margin: 0 auto;
}

#pdxlh-app .pdxlh-lh-plate {
	margin: 16px auto 0;
	max-width: 440px;
	background: var(--pdxlh-brand);
	border: 2px solid #111;
	text-align: center;
	padding: 10px 18px;
}

#pdxlh-app .pdxlh-lh-plate-name {
	display: block;
	font-size: clamp(20px, 3.2vw, 34px);
	font-weight: 800;
	color: #111;
	line-height: 1.15;
}

#pdxlh-app .pdxlh-lh-plate-sub {
	display: block;
	font-size: clamp(13px, 1.8vw, 20px);
	color: #111;
}

/* --------------------------------------------------------------------------
   Progress bar
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-progress {
	display: flex;
	gap: 4px;
	border-top: 1px solid var(--pdxlh-line);
	border-bottom: 1px solid var(--pdxlh-line);
	padding: 14px 0;
	margin-bottom: 28px;
}

#pdxlh-app .pdxlh-prog-item {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--pdxlh-muted);
	min-width: 0;
}

#pdxlh-app .pdxlh-prog-dot {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid var(--pdxlh-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	background: #fff;
}

#pdxlh-app .pdxlh-prog-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#pdxlh-app .pdxlh-prog-item.is-active { color: var(--pdxlh-ink); font-weight: 600; }
#pdxlh-app .pdxlh-prog-item.is-active .pdxlh-prog-dot {
	background: var(--pdxlh-brand);
	border-color: var(--pdxlh-brand);
	color: #fff;
}
#pdxlh-app .pdxlh-prog-item.is-done .pdxlh-prog-dot {
	background: var(--pdxlh-brand-soft);
	border-color: var(--pdxlh-brand);
	color: var(--pdxlh-brand);
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-step { display: none; }
#pdxlh-app .pdxlh-step.is-active { display: block; animation: pdxlh-fade .25s ease; }

@keyframes pdxlh-fade {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: none; }
}

#pdxlh-app .pdxlh-step-head { margin-bottom: 22px; }

#pdxlh-app .pdxlh-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--pdxlh-brand);
	margin-bottom: 8px;
}

#pdxlh-app .pdxlh-eyebrow::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 2px;
	background: var(--pdxlh-brand);
	vertical-align: middle;
	margin-right: 10px;
}

#pdxlh-app .pdxlh-h3 {
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.2;
	color: var(--pdxlh-ink);
	margin: 0 0 8px;
	font-weight: 700;
}

#pdxlh-app .pdxlh-lede { color: var(--pdxlh-muted); margin: 0 0 4px; }
#pdxlh-app .pdxlh-small { font-size: 13px; }

#pdxlh-app .pdxlh-subhead {
	margin: 30px 0 14px;
	padding-top: 18px;
	border-top: 1px solid var(--pdxlh-line);
	font-weight: 700;
	color: var(--pdxlh-ink);
	font-size: 15px;
	letter-spacing: .02em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Fields
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 18px;
}

#pdxlh-app .pdxlh-col-12 { grid-column: span 12; }
#pdxlh-app .pdxlh-col-6  { grid-column: span 6; }
#pdxlh-app .pdxlh-col-4  { grid-column: span 4; }

#pdxlh-app .pdxlh-field label,
#pdxlh-app .pdxlh-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--pdxlh-ink);
	margin-bottom: 7px;
}

#pdxlh-app .pdxlh-req { color: var(--pdxlh-brand); }

#pdxlh-app .pdxlh-input,
#pdxlh-app input.pdxlh-input,
#pdxlh-app select.pdxlh-input,
#pdxlh-app textarea.pdxlh-input {
	width: 100% !important;
	display: block !important;
	padding: 12px 14px !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	font-family: inherit !important;
	color: var(--pdxlh-ink) !important;
	background: #fff !important;
	border: 1px solid var(--pdxlh-line) !important;
	border-radius: var(--pdxlh-radius) !important;
	box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
	min-height: 48px;
	-webkit-appearance: none;
	appearance: none;
}

#pdxlh-app select.pdxlh-input {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23413C35' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 8px !important;
	padding-right: 38px !important;
}

#pdxlh-app textarea.pdxlh-input { min-height: 120px; resize: vertical; }

#pdxlh-app .pdxlh-input:focus,
#pdxlh-app input.pdxlh-input:focus,
#pdxlh-app select.pdxlh-input:focus,
#pdxlh-app textarea.pdxlh-input:focus {
	outline: none !important;
	border-color: var(--pdxlh-brand) !important;
	box-shadow: 0 0 0 3px rgba(200, 73, 10, .14) !important;
}

#pdxlh-app .pdxlh-input.pdxlh-invalid,
#pdxlh-app input.pdxlh-input.pdxlh-invalid,
#pdxlh-app select.pdxlh-input.pdxlh-invalid,
#pdxlh-app textarea.pdxlh-input.pdxlh-invalid {
	border-color: #C62828 !important;
	background: #FFF7F7 !important;
}

#pdxlh-app .pdxlh-help {
	display: block;
	font-size: 12.5px;
	color: var(--pdxlh-muted);
	margin-top: 6px;
}

#pdxlh-app .pdxlh-field-error {
	display: block;
	font-size: 12.5px;
	color: #C62828;
	margin-top: 6px;
	font-weight: 600;
}

/* Radios + checkboxes */

#pdxlh-app .pdxlh-radio {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 22px 0 0 !important;
	font-weight: 500 !important;
	cursor: pointer;
	color: var(--pdxlh-body);
}

#pdxlh-app .pdxlh-radio input[type="radio"],
#pdxlh-app .pdxlh-check input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	min-height: 0 !important;
	margin: 0 !important;
	accent-color: var(--pdxlh-brand);
	flex: 0 0 18px;
}

#pdxlh-app .pdxlh-acks { margin: 22px 0 6px; }

#pdxlh-app .pdxlh-check {
	display: flex !important;
	align-items: flex-start;
	gap: 11px;
	padding: 12px 14px;
	margin-bottom: 10px !important;
	border: 1px solid var(--pdxlh-line);
	border-radius: var(--pdxlh-radius);
	background: #fff;
	cursor: pointer;
	font-size: 14.5px;
	font-weight: 500 !important;
	color: var(--pdxlh-body);
	line-height: 1.5;
	transition: border-color .15s, background .15s;
}

#pdxlh-app .pdxlh-check:hover { border-color: #C9C3BB; }
#pdxlh-app .pdxlh-check input[type="checkbox"] { margin-top: 2px !important; }
#pdxlh-app .pdxlh-check.pdxlh-checked { border-color: var(--pdxlh-brand); background: var(--pdxlh-brand-soft); }
#pdxlh-app .pdxlh-check.pdxlh-invalid { border-color: #C62828; background: #FFF7F7; }

/* Honeypot */
/* Honeypot. display:none rather than off-screen positioning: browsers and
   password managers autofill off-screen fields but skip hidden ones, and an
   autofilled trap was rejecting genuine clients. Hidden fields are still
   submitted, so the server-side check still works. */
#pdxlh-app .pdxlh-hp {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Agreement document
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-translation-note {
	margin: 0 0 14px;
	padding: 12px 16px;
	border-left: 4px solid var(--pdxlh-brand);
	background: var(--pdxlh-brand-soft);
	color: var(--pdxlh-ink);
	font-size: 13.5px;
	line-height: 1.55;
	border-radius: 0 var(--pdxlh-radius) var(--pdxlh-radius) 0;
}

#pdxlh-app .pdxlh-doc {
	max-height: 460px;
	overflow-y: auto;
	border: 1px solid var(--pdxlh-line);
	border-radius: var(--pdxlh-radius);
	padding: 24px 26px;
	background: #FCFBFA;
	font-size: 14.5px;
	line-height: 1.68;
	scroll-behavior: smooth;
}

#pdxlh-app .pdxlh-doc:focus { outline: 2px solid rgba(200, 73, 10, .3); outline-offset: 2px; }

#pdxlh-app .pdxlh-doc-title {
	text-align: center;
	font-size: 17px;
	letter-spacing: .06em;
	color: var(--pdxlh-ink);
	margin: 0 0 18px;
	font-weight: 700;
}

#pdxlh-app .pdxlh-doc p { margin: 0 0 14px; }
#pdxlh-app .pdxlh-doc strong { color: var(--pdxlh-ink); }

#pdxlh-app .pdxlh-doc-rule {
	border: 0;
	border-top: 1px solid var(--pdxlh-line);
	margin: 26px 0;
}

#pdxlh-app .pdxlh-doc-ack {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px dashed var(--pdxlh-line);
	font-style: italic;
	color: var(--pdxlh-ink);
}

#pdxlh-app .pdxlh-fineprint {
	font-size: 12.5px;
	color: var(--pdxlh-muted);
	margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Signature pad
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-sign-grid { margin-top: 20px; }

#pdxlh-app .pdxlh-sigwrap {
	position: relative;
	border: 1px solid var(--pdxlh-line);
	border-radius: var(--pdxlh-radius);
	background: #fff;
	overflow: hidden;
}

#pdxlh-app .pdxlh-sigwrap.pdxlh-invalid { border-color: #C62828; }

#pdxlh-app .pdxlh-sigpad {
	display: block;
	width: 100%;
	height: 190px;
	touch-action: none;
	cursor: crosshair;
	background: repeating-linear-gradient(45deg, #fff, #fff 12px, #FDFCFB 12px, #FDFCFB 24px);
}

#pdxlh-app .pdxlh-sigline {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 44px;
	border-bottom: 1px solid #B9B2A9;
	pointer-events: none;
}

#pdxlh-app .pdxlh-sigclear {
	position: absolute !important;
	right: 10px;
	bottom: 10px;
	background: #fff !important;
	border: 1px solid var(--pdxlh-line) !important;
	border-radius: 4px !important;
	color: var(--pdxlh-muted) !important;
	font-size: 12px !important;
	padding: 6px 12px !important;
	cursor: pointer;
	line-height: 1 !important;
	min-height: 0 !important;
}

#pdxlh-app .pdxlh-sigclear:hover { color: var(--pdxlh-brand) !important; border-color: var(--pdxlh-brand) !important; }

/* --------------------------------------------------------------------------
   Payment
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-summary {
	border: 1px solid var(--pdxlh-line);
	border-radius: var(--pdxlh-radius);
	padding: 18px 20px;
	margin-bottom: 18px;
	font-size: 14.5px;
	background: #FCFBFA;
}

#pdxlh-app .pdxlh-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 0;
	border-bottom: 1px dashed var(--pdxlh-line);
}

#pdxlh-app .pdxlh-summary-row:last-child { border-bottom: 0; }
#pdxlh-app .pdxlh-summary-row span { color: var(--pdxlh-muted); }
#pdxlh-app .pdxlh-summary-row strong { color: var(--pdxlh-ink); text-align: right; }

#pdxlh-app .pdxlh-pay-card {
	border: 2px solid var(--pdxlh-brand);
	border-radius: var(--pdxlh-radius);
	padding: 22px 24px;
	background: var(--pdxlh-brand-soft);
}

#pdxlh-app .pdxlh-pay-row,
#pdxlh-app .pdxlh-pay-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

#pdxlh-app .pdxlh-pay-row { padding-bottom: 12px; border-bottom: 1px solid rgba(200, 73, 10, .25); }

#pdxlh-app .pdxlh-pay-total {
	padding-top: 12px;
	font-size: 18px;
	color: var(--pdxlh-ink);
}

#pdxlh-app .pdxlh-pay-total strong { font-size: 26px; color: var(--pdxlh-brand); }

#pdxlh-app .pdxlh-pay-note {
	margin: 16px 0 0;
	font-size: 13.5px;
	color: var(--pdxlh-body);
}

/* Payment method chooser */

#pdxlh-app .pdxlh-methods {
	display: grid;
	gap: 12px;
	margin-bottom: 18px;
}

#pdxlh-app .pdxlh-method {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--pdxlh-line);
	border-radius: var(--pdxlh-radius);
	background: #fff;
	cursor: pointer;
	font-weight: 500 !important;
	margin: 0 !important;
	transition: border-color .15s, background .15s;
}

#pdxlh-app .pdxlh-method:hover { border-color: #C9C3BB; }

/* Only one method available — show it as the selected method, not a choice. */
#pdxlh-app .pdxlh-methods-single .pdxlh-method { cursor: default; }
#pdxlh-app .pdxlh-methods-single .pdxlh-method input[type="radio"] { pointer-events: none; }

#pdxlh-app .pdxlh-method.pdxlh-checked {
	border-color: var(--pdxlh-brand);
	background: var(--pdxlh-brand-soft);
	box-shadow: inset 0 0 0 1px var(--pdxlh-brand);
}

#pdxlh-app .pdxlh-method input[type="radio"] {
	width: 18px !important;
	height: 18px !important;
	min-height: 0 !important;
	margin: 2px 0 0 !important;
	flex: 0 0 18px;
	accent-color: var(--pdxlh-brand);
}

#pdxlh-app .pdxlh-method-body { display: block; }

#pdxlh-app .pdxlh-method-body strong {
	display: block;
	color: var(--pdxlh-ink);
	font-size: 15.5px;
	margin-bottom: 3px;
}

#pdxlh-app .pdxlh-method-body em {
	display: block;
	font-style: normal;
	font-size: 13.5px;
	color: var(--pdxlh-muted);
	line-height: 1.5;
}

/* Client type + amount */

#pdxlh-app .pdxlh-first-subhead {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

#pdxlh-app .pdxlh-clienttype { margin-bottom: 22px; }

#pdxlh-app .pdxlh-amount-row { margin-bottom: 4px; }

#pdxlh-app .pdxlh-money-input { position: relative; }

#pdxlh-app .pdxlh-money-sign {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--pdxlh-muted);
	font-size: 16px;
	font-weight: 700;
	pointer-events: none;
}

#pdxlh-app .pdxlh-money-input .pdxlh-input {
	padding-left: 30px !important;
	font-variant-numeric: tabular-nums;
}

/* Hide the number spinners — the amount is typed, not nudged. */
#pdxlh-app .pdxlh-money-input input[type="number"] {
	-moz-appearance: textfield;
}
#pdxlh-app .pdxlh-money-input input[type="number"]::-webkit-outer-spin-button,
#pdxlh-app .pdxlh-money-input input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Bank transfer block */

#pdxlh-app .pdxlh-bank {
	border: 2px solid var(--pdxlh-brand);
	border-radius: var(--pdxlh-radius);
	background: var(--pdxlh-brand-soft);
	padding: 18px 20px;
	text-align: left;
}

#pdxlh-app .pdxlh-bank-head {
	font-weight: 700;
	color: var(--pdxlh-ink);
	margin-bottom: 12px;
	font-size: 15px;
}

#pdxlh-app .pdxlh-bank-list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 18px;
	margin: 0;
}

#pdxlh-app .pdxlh-bank-list dt {
	color: var(--pdxlh-muted);
	font-size: 14px;
	margin: 0;
}

#pdxlh-app .pdxlh-bank-list dd {
	margin: 0;
	color: var(--pdxlh-ink);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .02em;
	word-break: break-word;
}

#pdxlh-app .pdxlh-bank-extra,
#pdxlh-app .pdxlh-bank-ref {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--pdxlh-ink);
}

#pdxlh-app .pdxlh-bank-ref { font-weight: 700; }

#pdxlh-app .pdxlh-bank-warn {
	margin: 12px 0 0;
	font-size: 12.5px;
	color: var(--pdxlh-body);
	line-height: 1.5;
}

#pdxlh-app .pdxlh-done-bank { margin: 18px 0; }

#pdxlh-app .pdxlh-error {
	display: none;
	margin-top: 16px;
	padding: 13px 16px;
	border-left: 4px solid #C62828;
	background: #FFF4F4;
	color: #8E1F1F;
	font-size: 14px;
	border-radius: 0 var(--pdxlh-radius) var(--pdxlh-radius) 0;
}

#pdxlh-app .pdxlh-error.is-visible { display: block; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--pdxlh-line);
	flex-wrap: wrap;
}

#pdxlh-app .pdxlh-btn,
#pdxlh-app button.pdxlh-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: .01em;
	padding: 16px 30px !important;
	border-radius: var(--pdxlh-radius) !important;
	border: 2px solid transparent !important;
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background .15s, color .15s, border-color .15s;
	min-height: 52px;
}

#pdxlh-app .pdxlh-btn-primary,
#pdxlh-app button.pdxlh-btn-primary {
	background: var(--pdxlh-brand) !important;
	border-color: var(--pdxlh-brand) !important;
	color: #fff !important;
}

#pdxlh-app .pdxlh-btn-primary:hover,
#pdxlh-app .pdxlh-btn-primary:focus,
#pdxlh-app .pdxlh-btn-primary:active,
#pdxlh-app button.pdxlh-btn-primary:hover,
#pdxlh-app button.pdxlh-btn-primary:focus,
#pdxlh-app button.pdxlh-btn-primary:active {
	background: var(--pdxlh-brand-dark) !important;
	border-color: var(--pdxlh-brand-dark) !important;
	color: #fff !important;
}

#pdxlh-app .pdxlh-btn-ghost,
#pdxlh-app button.pdxlh-btn-ghost {
	background: #fff !important;
	border-color: var(--pdxlh-line) !important;
	color: var(--pdxlh-body) !important;
}

#pdxlh-app .pdxlh-btn-ghost:hover,
#pdxlh-app .pdxlh-btn-ghost:focus,
#pdxlh-app .pdxlh-btn-ghost:active,
#pdxlh-app button.pdxlh-btn-ghost:hover,
#pdxlh-app button.pdxlh-btn-ghost:focus,
#pdxlh-app button.pdxlh-btn-ghost:active {
	background: #fff !important;
	border-color: var(--pdxlh-brand) !important;
	color: var(--pdxlh-brand) !important;
}

#pdxlh-app .pdxlh-btn.is-loading {
	pointer-events: none;
	opacity: .72;
}

#pdxlh-app .pdxlh-btn.is-loading::after {
	content: "";
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: pdxlh-spin .7s linear infinite;
}

@keyframes pdxlh-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Confirmation + notices
   -------------------------------------------------------------------------- */

#pdxlh-app .pdxlh-done {
	text-align: center;
	padding: 34px 20px 44px;
	border: 1px solid var(--pdxlh-line);
	border-radius: var(--pdxlh-radius);
	background: #FCFBFA;
}

#pdxlh-app .pdxlh-done-mark {
	width: 62px;
	height: 62px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--pdxlh-brand);
	color: #fff;
	font-size: 32px;
	line-height: 62px;
}

#pdxlh-app .pdxlh-ref {
	display: inline-block;
	margin: 14px 0 18px;
	padding: 9px 18px;
	border: 1px dashed var(--pdxlh-brand);
	border-radius: var(--pdxlh-radius);
	background: var(--pdxlh-brand-soft);
	color: var(--pdxlh-ink);
	letter-spacing: .04em;
}

#pdxlh-app .pdxlh-notice {
	padding: 18px 22px;
	border-radius: var(--pdxlh-radius);
	border-left: 4px solid var(--pdxlh-brand);
	background: var(--pdxlh-brand-soft);
	color: var(--pdxlh-ink);
}

#pdxlh-app .pdxlh-notice-error { border-left-color: #C62828; background: #FFF4F4; }
#pdxlh-app .pdxlh-notice-warn  { border-left-color: #E09400; background: #FFF9EC; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Spanish labels run longer than English — give them room before hiding. */
@media (max-width: 1040px) {
	#pdxlh-app .pdxlh-prog-item { font-size: 12px; }
	#pdxlh-app .pdxlh-prog-dot { flex-basis: 24px; width: 24px; height: 24px; }
}

@media (max-width: 880px) {
	#pdxlh-app .pdxlh-prog-label { display: none; }
	#pdxlh-app .pdxlh-prog-item { flex: 0 0 auto; justify-content: center; }
	#pdxlh-app .pdxlh-progress { justify-content: center; gap: 14px; }
	#pdxlh-app .pdxlh-prog-item.is-active { flex: 1; }
	#pdxlh-app .pdxlh-prog-item.is-active .pdxlh-prog-label { display: block; }
}

@media (max-width: 782px) {
	#pdxlh-app .pdxlh-col-6,
	#pdxlh-app .pdxlh-col-4 { grid-column: span 12; }

	#pdxlh-app .pdxlh-lh-asimage { display: none; }
	#pdxlh-app .pdxlh-lh-mobileonly { display: block; }

	#pdxlh-app .pdxlh-lh-grid { grid-template-columns: 1fr; }
	#pdxlh-app .pdxlh-lh-center { order: -1; }
	#pdxlh-app .pdxlh-lh-statue { max-width: 160px; }
	#pdxlh-app .pdxlh-lh-box { font-size: 13px; }
	#pdxlh-app .pdxlh-doc { padding: 18px 16px; max-height: 380px; }
	#pdxlh-app .pdxlh-pay-card { padding: 18px 16px; }
	#pdxlh-app .pdxlh-actions { flex-direction: column-reverse; align-items: stretch; }
	#pdxlh-app .pdxlh-btn { width: 100% !important; }
	#pdxlh-app .pdxlh-sigpad { height: 160px; }
}

/* Print — lets staff print a clean signed copy from the browser */
@media print {
	#pdxlh-app .pdxlh-progress,
	#pdxlh-app .pdxlh-actions,
	#pdxlh-app .pdxlh-sigclear { display: none !important; }
	#pdxlh-app .pdxlh-doc { max-height: none; overflow: visible; border: 0; }
}
