/* ==========================================================================
   Third Party Claims — claim form (frontend) · v2.3.0
   --------------------------------------------------------------------------
   One clean stylesheet (replaces the stacked v2.0 / v8 / v2.1.2 / v2.1.3
   patch layers). Every rule that touches a control is scoped to the form's
   ID (#tpcf-form-root / #tpcf-thank-you) so theme and page-builder styles
   (Elementor, Astra, Divi, etc.) cannot reshape it.
   Brand colours live in the custom properties directly below.
   ========================================================================== */

.tpcf-wrap {
	--tpcf-ink: #0d2132;
	--tpcf-ink-2: #22394c;
	--tpcf-muted: #5d7183;
	--tpcf-faint: #8a9cab;
	--tpcf-line: #dfe7ed;
	--tpcf-line-strong: #c5d3dd;
	--tpcf-wash: #f5f8fa;
	--tpcf-surface: #ffffff;
	--tpcf-cyan: #00b4e6;
	--tpcf-cyan-ink: #00769e;
	--tpcf-cyan-soft: #e6f7fd;
	--tpcf-danger: #c42b3c;
	--tpcf-danger-soft: #fdf1f2;
	--tpcf-success: #12805c;
	--tpcf-radius: 12px;
	--tpcf-radius-lg: 18px;
	--tpcf-focus: 0 0 0 4px rgba(0, 180, 230, .18);
	--tpcf-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	max-width: 920px;
	margin: 40px auto;
	padding: 0 16px;
	color: var(--tpcf-ink);
	font-family: var(--tpcf-font);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.tpcf-wrap *, .tpcf-wrap *::before, .tpcf-wrap *::after { box-sizing: border-box; }
.tpcf-wrap [hidden] { display: none !important; }
.tpcf-wrap .tpcf-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tpcf-wrap .tpcf-icon { display: block; flex: 0 0 auto; width: 16px; height: 16px; }

/* ==========================================================================
   1. Reset — beats theme styles on everything inside the form
   ========================================================================== */
#tpcf-form-root button,
#tpcf-thank-you button {
	margin: 0; padding: 0; border: 0; border-radius: 0;
	background: none; color: inherit;
	font: inherit; line-height: 1.2; letter-spacing: normal;
	text-transform: none; text-shadow: none; text-decoration: none;
	box-shadow: none; min-width: 0; min-height: 0; width: auto; height: auto;
	cursor: pointer; -webkit-appearance: none; appearance: none; transform: none;
}
#tpcf-form-root button:disabled { cursor: default; }
#tpcf-form-root p, #tpcf-form-root h2, #tpcf-form-root h3,
#tpcf-form-root ul, #tpcf-form-root ol, #tpcf-form-root li,
#tpcf-form-root fieldset, #tpcf-form-root legend, #tpcf-form-root label {
	margin: 0; padding: 0; border: 0; background: none;
	letter-spacing: normal; text-transform: none; font-family: inherit;
}
#tpcf-form-root span { line-height: inherit; font-family: inherit; letter-spacing: inherit; }
#tpcf-form-root ul, #tpcf-form-root ol { list-style: none; }
#tpcf-form-root li::before, #tpcf-form-root li::marker { content: none; }
#tpcf-form-root fieldset { min-width: 0; }
#tpcf-form-root legend { display: block; width: 100%; float: none; }
#tpcf-form-root a { color: inherit; }
#tpcf-form-root label::before,
#tpcf-form-root label::after { content: none !important; display: none !important; }

/* Hidden real inputs behind the drawn Yes/No buttons and checkboxes.
   Locked with !important because many themes restyle radios/checkboxes that way. */
#tpcf-form-root .tpcf-checkbox input[type="checkbox"],
#tpcf-form-root .tpcf-radio-pill input[type="radio"] {
	position: absolute !important;
	top: 0 !important; left: 0 !important;
	width: 1px !important; height: 1px !important;
	min-width: 0 !important; min-height: 0 !important;
	margin: 0 !important; padding: 0 !important;
	border: 0 !important; opacity: 0 !important;
	-webkit-appearance: none !important; appearance: none !important;
	background: none !important; box-shadow: none !important;
	pointer-events: none;
}
#tpcf-form-root .tpcf-checkbox input[type="checkbox"]::before,
#tpcf-form-root .tpcf-checkbox input[type="checkbox"]::after,
#tpcf-form-root .tpcf-radio-pill input[type="radio"]::before,
#tpcf-form-root .tpcf-radio-pill input[type="radio"]::after { content: none !important; display: none !important; }

/* Steps: only the active one shows (also prevents a flash of all 9 before JS runs). */
#tpcf-form-root .tpcf-step:not(.is-active) { display: none; }

/* ==========================================================================
   2. Card + header
   ========================================================================== */
.tpcf-wrap .tpcf-card {
	position: relative;
	background: var(--tpcf-surface);
	border: 1px solid var(--tpcf-line);
	border-radius: 24px;
	box-shadow: 0 1px 2px rgba(13, 33, 50, .04), 0 28px 64px -28px rgba(13, 33, 50, .22);
	overflow: hidden;
}

#tpcf-form-root .tpcf-brand {
	position: relative;
	overflow: hidden;
	padding: 40px 48px 36px;
	background:
		radial-gradient(520px 260px at 100% 0%, rgba(0, 180, 230, .30), transparent 70%),
		linear-gradient(140deg, #08192a 0%, #0d2b42 60%, #0c3c57 100%);
	color: #fff;
}
#tpcf-form-root .tpcf-brand::after {
	content: "";
	position: absolute;
	right: -60px; top: -60px;
	width: 240px; height: 240px;
	border-radius: 50%;
	border: 1px solid rgba(111, 216, 247, .18);
	box-shadow: 0 0 0 36px rgba(111, 216, 247, .04), 0 0 0 72px rgba(111, 216, 247, .025);
	pointer-events: none;
}
#tpcf-form-root .tpcf-brand > * { position: relative; z-index: 1; }
#tpcf-form-root .tpcf-brand-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid rgba(111, 216, 247, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #8be3fb;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.2;
}
#tpcf-form-root .tpcf-brand-name::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #3fd0f7;
	box-shadow: 0 0 0 3px rgba(63, 208, 247, .2);
}
#tpcf-form-root .tpcf-title {
	max-width: 18em;
	margin: 16px 0 10px;
	color: #fff;
	font-size: clamp(28px, 4.4vw, 42px);
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -.03em;
}
#tpcf-form-root .tpcf-lede {
	max-width: 36em;
	color: #c2d4e0;
	font-size: 16px;
	line-height: 1.6;
}
#tpcf-form-root .tpcf-brand-help {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 8px 14px 8px 12px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #c2d4e0;
	font-size: 14px;
	line-height: 1.3;
}
#tpcf-form-root .tpcf-brand-help .tpcf-icon { color: #6fd8f7; }
#tpcf-form-root .tpcf-brand-help a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
#tpcf-form-root .tpcf-brand-help a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   3. Progress
   ========================================================================== */
#tpcf-form-root .tpcf-progress {
	padding: 22px 48px 20px;
	border-bottom: 1px solid var(--tpcf-line);
	background: #fff;
	scroll-margin-top: 96px;
}
#tpcf-form-root .tpcf-progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-bottom: 12px;
}
#tpcf-form-root .tpcf-progress-label { font-size: 14px; font-weight: 600; color: var(--tpcf-muted); }
#tpcf-form-root .tpcf-progress-label strong { margin-left: 6px; font-weight: 700; color: var(--tpcf-ink); }
#tpcf-form-root .tpcf-progress-next { font-size: 14px; color: var(--tpcf-faint); }
#tpcf-form-root .tpcf-lane { display: flex; gap: 6px; }
#tpcf-form-root .tpcf-lane li { flex: 1 1 0; min-width: 0; }
#tpcf-form-root .tpcf-lane-dash {
	position: relative;
	display: block;
	width: 100%;
	height: 18px;
	cursor: default;
}
#tpcf-form-root .tpcf-lane-dash::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 50%;
	height: 6px;
	margin-top: -3px;
	border-radius: 999px;
	background: #e6edf2;
	transition: background-color .25s ease, transform .15s ease;
}
#tpcf-form-root .tpcf-lane-dash.is-done::before { background: var(--tpcf-cyan); }
#tpcf-form-root .tpcf-lane-dash.is-active::before { background: var(--tpcf-ink); }
#tpcf-form-root .tpcf-lane-dash.is-visited::before { background: #a9e3f5; }
#tpcf-form-root .tpcf-lane-dash:not(:disabled) { cursor: pointer; }
#tpcf-form-root .tpcf-lane-dash:not(:disabled):hover::before { transform: scaleY(1.5); }
#tpcf-form-root .tpcf-lane-dash:focus-visible { outline: none; }
#tpcf-form-root .tpcf-lane-dash:focus-visible::before { box-shadow: var(--tpcf-focus); }

/* ==========================================================================
   4. Form body, step heading, groups
   ========================================================================== */
#tpcf-form-root #tpcf-form { margin: 0; padding: 0 48px 40px; }
#tpcf-form-root .tpcf-hp-wrap { display: none !important; }

#tpcf-form-root .tpcf-step.is-active { animation: tpcf-in .28s ease both; }
@keyframes tpcf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

#tpcf-form-root .tpcf-step-head { padding: 32px 0 24px; }
/* Shown visually in the progress bar; kept for screen readers that land on the step heading. */
#tpcf-form-root .tpcf-step-count {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
#tpcf-form-root .tpcf-step-head h3 {
	margin: 0 0 6px;
	color: var(--tpcf-ink);
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.025em;
	outline: none;
}
#tpcf-form-root .tpcf-step-sub { max-width: 40em; color: var(--tpcf-muted); font-size: 16px; line-height: 1.5; }

/* Section cards inside a step */
#tpcf-form-root .tpcf-group {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--tpcf-line);
	border-radius: var(--tpcf-radius-lg);
	background: #fff;
}
#tpcf-form-root .tpcf-group + .tpcf-group { margin-top: 16px; }
/* Floated so the legend sits inside the card's padding instead of on its border. */
#tpcf-form-root .tpcf-group > legend { float: left; width: 100%; }
#tpcf-form-root .tpcf-group > legend + * { clear: both; }
#tpcf-form-root .tpcf-subhead {
	margin: 0 0 18px;
	color: var(--tpcf-ink);
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -.01em;
}
#tpcf-form-root .tpcf-subhead:has(+ .tpcf-hint) { margin-bottom: 4px; }
#tpcf-form-root .tpcf-hint { margin: 0 0 18px; color: var(--tpcf-muted); font-size: 14px; line-height: 1.5; }
#tpcf-form-root .tpcf-opt { margin-left: 2px; color: var(--tpcf-faint); font-size: 13px; font-weight: 500; }

/* ==========================================================================
   5. Alert banner
   ========================================================================== */
#tpcf-form-root .tpcf-alert {
	margin: 24px 0 0;
	padding: 16px 18px;
	border: 1px solid #f1c6cb;
	border-left: 4px solid var(--tpcf-danger);
	border-radius: var(--tpcf-radius);
	background: var(--tpcf-danger-soft);
	color: #8a1c2a;
	font-size: 15px;
}
#tpcf-form-root .tpcf-alert-title { font-weight: 700; }
#tpcf-form-root .tpcf-alert ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#tpcf-form-root .tpcf-alert-link {
	padding: 6px 12px;
	border: 1px solid #ebb3ba;
	border-radius: 999px;
	background: #fff;
	color: #9c1f30;
	font-size: 14px;
	font-weight: 600;
}
#tpcf-form-root .tpcf-alert-link:hover { background: #fbe3e6; border-color: #e3929d; }
#tpcf-form-root .tpcf-alert-link:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(196, 43, 60, .3); }
#tpcf-form-root .tpcf-alert.is-shake { animation: tpcf-shake .4s ease; }
@keyframes tpcf-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* ==========================================================================
   6. Grid + text fields
   ========================================================================== */
#tpcf-form-root .tpcf-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px 16px;
	align-items: start;
}
#tpcf-form-root .tpcf-field { grid-column: 1 / -1; min-width: 0; }
#tpcf-form-root .tpcf-field--half { grid-column: span 3; }
#tpcf-form-root .tpcf-field--third { grid-column: span 2; }

/* One label style for every field type (text, radio, select, repeater). */
#tpcf-form-root .tpcf-label,
#tpcf-form-root label.tpcf-label {
	display: block !important;
	margin: 0 0 8px;
	color: var(--tpcf-ink-2);
	font-size: 15px;
	line-height: 1.35;
	font-weight: 600 !important;
}
#tpcf-form-root label.tpcf-label { cursor: pointer; }
#tpcf-form-root .tpcf-req { margin-left: 1px; color: var(--tpcf-danger); font-weight: 700; }
#tpcf-form-root .tpcf-field-hint { margin: -2px 0 10px; color: var(--tpcf-muted); font-size: 14px; line-height: 1.45; }

#tpcf-form-root input[type="text"],
#tpcf-form-root input[type="email"],
#tpcf-form-root input[type="tel"],
#tpcf-form-root input[type="date"],
#tpcf-form-root input[type="time"],
#tpcf-form-root select,
#tpcf-form-root textarea {
	display: block;
	width: 100%;
	max-width: none;
	height: 50px;
	min-height: 50px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--tpcf-line-strong);
	border-radius: var(--tpcf-radius);
	background: #fff;
	color: var(--tpcf-ink);
	font-family: var(--tpcf-font);
	font-size: 16px; /* 16px stops iOS zooming into fields */
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: 0 1px 2px rgba(13, 33, 50, .04);
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
#tpcf-form-root textarea {
	height: auto;
	min-height: 140px;
	padding: 13px 16px;
	line-height: 1.55;
	resize: vertical;
}
#tpcf-form-root input[readonly].flatpickr-input,
#tpcf-form-root input.flatpickr-alt-input,
#tpcf-form-root input.flatpickr-input.input { cursor: pointer; }
#tpcf-form-root input::placeholder,
#tpcf-form-root textarea::placeholder { color: #9aabb8; opacity: 1; }
#tpcf-form-root input:hover,
#tpcf-form-root select:hover,
#tpcf-form-root textarea:hover { border-color: #9fb4c3; }
#tpcf-form-root input:focus,
#tpcf-form-root select:focus,
#tpcf-form-root textarea:focus {
	border-color: var(--tpcf-cyan);
	background: #fff;
	box-shadow: var(--tpcf-focus);
	outline: none;
}
/* Calendar / clock icon on date & time fields (flatpickr's visible input). */
#tpcf-form-root .tpcf-field--date input.input,
#tpcf-form-root .tpcf-field--time input.input,
#tpcf-form-root .tpcf-field--date input[type="date"],
#tpcf-form-root .tpcf-field--time input[type="time"] {
	padding-right: 44px;
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 18px 18px;
}
#tpcf-form-root .tpcf-field--date input.input,
#tpcf-form-root .tpcf-field--date input[type="date"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235d7183' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='4.5' width='14' height='12.5' rx='2.5'/%3E%3Cpath d='M3 8.5h14M7 2.5v4M13 2.5v4'/%3E%3C/svg%3E");
}
#tpcf-form-root .tpcf-field--time input.input,
#tpcf-form-root .tpcf-field--time input[type="time"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235d7183' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.25'/%3E%3Cpath d='M10 6v4.25l2.75 1.75'/%3E%3C/svg%3E");
}

#tpcf-form-root .tpcf-select { position: relative; }
#tpcf-form-root .tpcf-select select { padding-right: 44px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer; }
#tpcf-form-root .tpcf-select::after {
	content: "";
	position: absolute;
	right: 18px; top: 50%;
	width: 8px; height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--tpcf-muted);
	border-bottom: 2px solid var(--tpcf-muted);
	transform: rotate(45deg);
	pointer-events: none;
}

/* Errors */
#tpcf-form-root .tpcf-error {
	display: flex !important;
	align-items: flex-start;
	gap: 6px;
	margin-top: 8px;
	color: var(--tpcf-danger);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
#tpcf-form-root .tpcf-error::before {
	content: "!";
	display: inline-grid;
	place-items: center;
	flex: 0 0 16px;
	width: 16px; height: 16px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--tpcf-danger);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}
#tpcf-form-root .tpcf-error:empty { display: none !important; }
#tpcf-form-root .tpcf-field-invalid input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
#tpcf-form-root .tpcf-field-invalid select,
#tpcf-form-root .tpcf-field-invalid textarea {
	border-color: var(--tpcf-danger);
	background-color: var(--tpcf-danger-soft);
}
#tpcf-form-root .tpcf-field-invalid input:focus,
#tpcf-form-root .tpcf-field-invalid select:focus,
#tpcf-form-root .tpcf-field-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(196, 43, 60, .16); background-color: #fff; }

/* Conditional fields */
#tpcf-form-root [data-show-if] { display: none; }
#tpcf-form-root [data-show-if].is-visible { display: block; animation: tpcf-in .22s ease both; }

/* ==========================================================================
   7. Option buttons (Yes / No, Wet / Dry, Sighted / Copy taken / Neither)
   ========================================================================== */
#tpcf-form-root .tpcf-radio-group {
	display: flex !important;
	flex-flow: row wrap !important;
	align-items: stretch;
	gap: 10px;
	width: auto;
	margin: 0;
	padding: 0;
}
#tpcf-form-root label.tpcf-radio-pill {
	position: relative !important;
	display: block !important;
	flex: 0 0 auto;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 600;
	cursor: pointer;
}
#tpcf-form-root .tpcf-radio-face {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-width: 132px;
	height: 50px;
	margin: 0;
	padding: 0 18px 0 14px;
	border: 1px solid var(--tpcf-line-strong);
	border-radius: var(--tpcf-radius);
	background: #fff;
	color: var(--tpcf-ink-2);
	font-size: 16px;
	font-weight: 600 !important;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(13, 33, 50, .04);
	transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
/* The tick lives inside a round indicator, like a modern radio. */
#tpcf-form-root .tpcf-radio-face .tpcf-icon {
	display: grid !important;
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	padding: 3px;
	border: 1.5px solid var(--tpcf-line-strong);
	border-radius: 50%;
	background: #fff;
	color: transparent;
	stroke-width: 2.4;
	opacity: 1;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#tpcf-form-root .tpcf-radio-text {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: inherit;
	font: inherit;
	min-height: 0 !important;
}
#tpcf-form-root .tpcf-radio-pill:hover .tpcf-radio-face { border-color: #8fb3c7; background: #fbfdfe; }
#tpcf-form-root .tpcf-radio-pill:hover .tpcf-radio-face .tpcf-icon { border-color: #8fb3c7; }
#tpcf-form-root .tpcf-radio-pill input:checked + .tpcf-radio-face {
	border-color: var(--tpcf-ink);
	background: var(--tpcf-ink);
	color: #fff;
	box-shadow: 0 8px 18px -8px rgba(13, 33, 50, .45);
}
#tpcf-form-root .tpcf-radio-pill input:checked + .tpcf-radio-face .tpcf-icon {
	border-color: var(--tpcf-cyan);
	background: var(--tpcf-cyan);
	color: #fff;
}
#tpcf-form-root .tpcf-radio-pill input:focus-visible + .tpcf-radio-face { box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-field-invalid .tpcf-radio-face { border-color: #e3929d; background: var(--tpcf-danger-soft); }
#tpcf-form-root .tpcf-field-invalid .tpcf-radio-face .tpcf-icon { border-color: #e3929d; }

/* ==========================================================================
   8. Checkboxes (claim types + declaration)
   ========================================================================== */
#tpcf-form-root .tpcf-checkbox-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}
#tpcf-form-root label.tpcf-checkbox {
	position: relative;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--tpcf-line-strong);
	border-radius: 14px;
	background: #fff;
	color: var(--tpcf-ink-2);
	font-size: 16px;
	font-weight: 600 !important;
	line-height: 1.45;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(13, 33, 50, .04);
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
#tpcf-form-root label.tpcf-checkbox:hover { border-color: #8fb3c7; }
#tpcf-form-root .tpcf-checkbox-box {
	display: grid !important;
	place-items: center;
	flex: 0 0 22px;
	width: 22px; height: 22px;
	margin: 0;
	border: 1.5px solid var(--tpcf-line-strong);
	border-radius: 6px;
	background: #fff;
	color: transparent;
	transition: background-color .15s ease, border-color .15s ease;
}
#tpcf-form-root .tpcf-checkbox-box .tpcf-icon { width: 14px; height: 14px; stroke-width: 2.4; }
#tpcf-form-root .tpcf-checkbox-text { display: block; flex: 1 1 auto; min-width: 0; }
#tpcf-form-root .tpcf-checkbox-text::before,
#tpcf-form-root .tpcf-checkbox-text::after { content: none !important; display: none !important; }
#tpcf-form-root .tpcf-checkbox input:checked ~ .tpcf-checkbox-box { border-color: var(--tpcf-ink); background: var(--tpcf-ink); color: #fff; }
#tpcf-form-root label.tpcf-checkbox:has(input:checked) {
	border-color: var(--tpcf-ink);
	background: var(--tpcf-wash);
	box-shadow: inset 0 0 0 1px var(--tpcf-ink);
}
#tpcf-form-root .tpcf-checkbox input:focus-visible ~ .tpcf-checkbox-box { box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-field-invalid label.tpcf-checkbox { border-color: var(--tpcf-danger); background: var(--tpcf-danger-soft); }
#tpcf-form-root .tpcf-field-invalid .tpcf-checkbox-box { border-color: var(--tpcf-danger); }

/* Declaration */
#tpcf-form-root .tpcf-declaration {
	position: relative;
	max-height: 240px;
	overflow: auto;
	margin-bottom: 16px;
	padding: 20px 22px;
	border: 1px solid var(--tpcf-line);
	border-left: 4px solid var(--tpcf-cyan);
	border-radius: var(--tpcf-radius);
	background: var(--tpcf-wash);
	color: var(--tpcf-ink-2);
	font-size: 15px;
	line-height: 1.7;
}
#tpcf-form-root .tpcf-declaration:focus-visible { outline: none; box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-step > .tpcf-field--checkbox { margin-bottom: 0; }
#tpcf-form-root .tpcf-grid--sign { margin-top: 24px; }

/* ==========================================================================
   9. Scene sketch
   ========================================================================== */
#tpcf-form-root .tpcf-scene-tabs {
	display: inline-flex;
	gap: 4px;
	margin-bottom: 14px;
	padding: 4px;
	border-radius: 12px;
	background: #eaf0f4;
}
#tpcf-form-root .tpcf-scene-tab {
	padding: 9px 18px;
	border-radius: 9px;
	color: var(--tpcf-muted);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color .15s ease, color .15s ease;
}
#tpcf-form-root .tpcf-scene-tab:hover { color: var(--tpcf-ink); }
#tpcf-form-root .tpcf-scene-tab.is-active,
#tpcf-form-root .tpcf-scene-tab.is-active:hover { background: #fff; color: var(--tpcf-ink); box-shadow: 0 1px 3px rgba(13, 33, 50, .14); }
#tpcf-form-root .tpcf-scene-tab:focus-visible { outline: none; box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-scene-panel { display: none; }
#tpcf-form-root .tpcf-scene-panel.is-active { display: block; }
#tpcf-form-root .tpcf-canvas-wrap { position: relative; }
#tpcf-form-root #tpcf-scene-canvas {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 600 / 320;
	border: 1.5px dashed var(--tpcf-line-strong);
	border-radius: 14px;
	background-color: #fff;
	background-image: radial-gradient(circle, #d3dee6 1px, transparent 1.2px);
	background-size: 20px 20px;
	background-position: 10px 10px;
	touch-action: none;
	cursor: crosshair;
}
#tpcf-form-root .tpcf-canvas-empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--tpcf-faint);
	font-size: 15px;
	pointer-events: none;
}
#tpcf-form-root .tpcf-scene-tools { display: flex; gap: 8px; margin-top: 12px; }

/* ==========================================================================
   10. Uploads
   ========================================================================== */
#tpcf-form-root .tpcf-upload-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}
#tpcf-form-root .tpcf-dropzone { position: relative; display: flex; flex-direction: column; min-width: 0; }
#tpcf-form-root .tpcf-dropzone > label.tpcf-dropzone-label { flex: 1 1 auto; }
#tpcf-form-root label.tpcf-dropzone-label {
	position: relative;
	z-index: 1;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 196px;
	padding: 24px 18px;
	border: 1.5px dashed var(--tpcf-line-strong);
	border-radius: 16px;
	background: var(--tpcf-wash);
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
#tpcf-form-root .tpcf-dropzone-label:hover,
#tpcf-form-root .tpcf-dropzone.is-dragover .tpcf-dropzone-label { border-color: var(--tpcf-cyan); background: var(--tpcf-cyan-soft); }
#tpcf-form-root .tpcf-dropzone.has-files .tpcf-dropzone-label { border-style: solid; border-color: #9fdcef; background: #f3fbfe; }
#tpcf-form-root .tpcf-dropzone.has-error .tpcf-dropzone-label { border-color: var(--tpcf-danger); background: var(--tpcf-danger-soft); }
#tpcf-form-root .tpcf-dropzone-icon {
	display: grid !important;
	place-items: center;
	width: 46px; height: 46px;
	margin-bottom: 6px;
	border-radius: 14px;
	background: #fff;
	color: var(--tpcf-cyan-ink);
	box-shadow: 0 1px 3px rgba(13, 33, 50, .12), 0 6px 14px -6px rgba(0, 118, 158, .3);
}
#tpcf-form-root .tpcf-dropzone-icon .tpcf-icon { width: 20px; height: 20px; }
#tpcf-form-root .tpcf-dropzone-text { display: block !important; color: var(--tpcf-ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
#tpcf-form-root .tpcf-dropzone-hint { display: block !important; max-width: 26em; color: var(--tpcf-muted); font-size: 13px; line-height: 1.45; }
/* The real file input is visually hidden but stays focusable for keyboard users. */
#tpcf-form-root .tpcf-file-input {
	position: absolute !important;
	top: 0; left: 0;
	width: 1px !important; height: 1px !important;
	padding: 0 !important; border: 0 !important;
	opacity: 0;
	overflow: hidden;
}
#tpcf-form-root .tpcf-dropzone:focus-within .tpcf-dropzone-label { border-color: var(--tpcf-cyan); }
#tpcf-form-root .tpcf-dropzone:has(.tpcf-file-input:focus-visible) .tpcf-dropzone-label { box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-dropzone-list { display: grid; gap: 8px; margin-top: 10px; }
#tpcf-form-root .tpcf-dropzone-list:empty { display: none; }
#tpcf-form-root .tpcf-dropzone-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border: 1px solid var(--tpcf-line);
	border-radius: var(--tpcf-radius);
	background: #fff;
}
#tpcf-form-root .tpcf-file-thumb {
	display: grid !important;
	place-items: center;
	flex: 0 0 44px;
	width: 44px; height: 44px;
	border-radius: 8px;
	background: var(--tpcf-wash) center / cover no-repeat;
	color: var(--tpcf-muted);
	font-size: 11px;
	font-weight: 800;
}
#tpcf-form-root .tpcf-file-meta { display: flex !important; flex-direction: column; flex: 1; min-width: 0; }
#tpcf-form-root .tpcf-file-name { display: block !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tpcf-ink); font-size: 14px; font-weight: 600; }
#tpcf-form-root .tpcf-file-size { display: block !important; color: var(--tpcf-muted); font-size: 13px; }
#tpcf-form-root .tpcf-file-remove {
	display: grid !important;
	place-items: center;
	flex: 0 0 36px;
	width: 36px; height: 36px;
	border-radius: 9px;
	color: var(--tpcf-muted);
}
#tpcf-form-root .tpcf-file-remove:hover { background: var(--tpcf-danger-soft); color: var(--tpcf-danger); }
#tpcf-form-root .tpcf-file-remove:focus-visible { outline: none; box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-upload-total {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: var(--tpcf-radius);
	background: var(--tpcf-danger-soft);
	color: #8a1c2a;
	font-size: 14px;
	font-weight: 600;
}

/* ==========================================================================
   11. Passengers / witnesses
   ========================================================================== */
#tpcf-form-root .tpcf-repeat-rows { display: grid; gap: 12px; }
#tpcf-form-root .tpcf-repeat-rows:not(:empty) { margin-bottom: 12px; }
#tpcf-form-root .tpcf-repeat-row {
	padding: 16px 18px 20px;
	border: 1px solid var(--tpcf-line);
	border-radius: 14px;
	background: var(--tpcf-wash);
	animation: tpcf-in .22s ease both;
}
#tpcf-form-root .tpcf-repeat-row-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
#tpcf-form-root .tpcf-repeat-title { color: var(--tpcf-ink); font-size: 16px; font-weight: 700; }
#tpcf-form-root .tpcf-repeat-remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border: 1px solid var(--tpcf-line);
	border-radius: 9px;
	background: #fff;
	color: var(--tpcf-muted);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
#tpcf-form-root .tpcf-repeat-remove:hover { border-color: #ebb3ba; background: var(--tpcf-danger-soft); color: var(--tpcf-danger); }
#tpcf-form-root .tpcf-repeat-remove:focus-visible { outline: none; box-shadow: var(--tpcf-focus); }

/* ==========================================================================
   12. Buttons
   ========================================================================== */
#tpcf-form-root .tpcf-btn,
#tpcf-thank-you .tpcf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--tpcf-radius);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
#tpcf-form-root .tpcf-btn:focus-visible,
#tpcf-thank-you .tpcf-btn:focus-visible { outline: none; box-shadow: var(--tpcf-focus); }

#tpcf-form-root .tpcf-btn--primary {
	background: var(--tpcf-ink);
	border-color: var(--tpcf-ink);
	color: #fff;
	box-shadow: 0 10px 22px -10px rgba(13, 33, 50, .6);
}
#tpcf-form-root .tpcf-btn--primary:hover { background: #18374f; border-color: #18374f; color: #fff; transform: translateY(-1px); }
#tpcf-form-root .tpcf-btn--primary:active { transform: none; }
#tpcf-form-root .tpcf-btn--primary:disabled { background: #4a6377; border-color: #4a6377; color: #fff; cursor: progress; transform: none; }
#tpcf-form-root .tpcf-btn--primary .tpcf-icon { color: #6fd8f7; }
#tpcf-form-root [data-tpcf-submit] { background: var(--tpcf-cyan-ink); border-color: var(--tpcf-cyan-ink); box-shadow: 0 10px 22px -10px rgba(0, 118, 158, .7); }
#tpcf-form-root [data-tpcf-submit]:hover { background: #00658a; border-color: #00658a; }

#tpcf-form-root .tpcf-btn--ghost,
#tpcf-thank-you .tpcf-btn--ghost { background: #fff; border-color: var(--tpcf-line-strong); color: var(--tpcf-ink); }
#tpcf-form-root .tpcf-btn--ghost:hover,
#tpcf-thank-you .tpcf-btn--ghost:hover { background: var(--tpcf-wash); border-color: #8fb3c7; color: var(--tpcf-ink); }

#tpcf-form-root .tpcf-btn--quiet { height: 40px; padding: 0 14px; background: #fff; border-color: var(--tpcf-line); color: var(--tpcf-ink-2); font-size: 14px; font-weight: 600; }
#tpcf-form-root .tpcf-btn--quiet:hover { background: var(--tpcf-wash); border-color: var(--tpcf-line-strong); color: var(--tpcf-ink); }
#tpcf-form-root .tpcf-btn--quiet:disabled { opacity: .45; background: #fff; border-color: var(--tpcf-line); color: var(--tpcf-ink-2); }

#tpcf-form-root .tpcf-btn--add {
	width: 100%;
	height: 52px;
	border: 1.5px dashed var(--tpcf-line-strong);
	background: #fff;
	color: var(--tpcf-cyan-ink);
	font-size: 15px;
}
#tpcf-form-root .tpcf-btn--add:hover { border-color: var(--tpcf-cyan); background: var(--tpcf-cyan-soft); color: var(--tpcf-cyan-ink); }

#tpcf-form-root .tpcf-btn.is-loading::before {
	content: "";
	width: 16px; height: 16px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tpcf-spin .7s linear infinite;
}
@keyframes tpcf-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   13. Bottom navigation
   ========================================================================== */
#tpcf-form-root .tpcf-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--tpcf-line);
}
#tpcf-form-root .tpcf-form-msg { flex: 1; color: var(--tpcf-danger); font-size: 14px; font-weight: 600; }
#tpcf-form-root .tpcf-nav [data-tpcf-next],
#tpcf-form-root .tpcf-nav [data-tpcf-submit] { margin-left: auto; min-width: 176px; }

/* ==========================================================================
   14. Success (inline, when no thank-you page redirect is set)
   ========================================================================== */
#tpcf-form-root .tpcf-success { padding: 64px 40px 72px; text-align: center; outline: none; }
.tpcf-wrap .tpcf-success-icon {
	display: grid;
	place-items: center;
	width: 68px; height: 68px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #dcf3ea;
	color: var(--tpcf-success);
	animation: tpcf-pop .45s cubic-bezier(.2, 1.3, .4, 1) both;
}
.tpcf-wrap .tpcf-success-icon .tpcf-icon { width: 30px; height: 30px; stroke-width: 2.25; }
@keyframes tpcf-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#tpcf-form-root .tpcf-success h3 { margin: 0 0 10px; color: var(--tpcf-ink); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
#tpcf-form-root .tpcf-success p { max-width: 30em; margin: 0 auto 6px; color: var(--tpcf-muted); }
#tpcf-form-root .tpcf-mail-note { max-width: 32em; margin: 14px auto 0 !important; color: var(--tpcf-ink-2) !important; font-size: 15px; }
#tpcf-form-root .tpcf-mail-note.is-warning { padding: 12px 16px; border-radius: 10px; background: #fff7e6; color: #7a4a00 !important; }
#tpcf-form-root .tpcf-ref-wrap { margin-top: 24px !important; font-size: 15px; }
#tpcf-form-root .tpcf-ref {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 18px;
	border-radius: 12px;
	background: var(--tpcf-wash);
	color: var(--tpcf-ink);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   15. Date picker skin
   ========================================================================== */
.flatpickr-calendar { border: 0 !important; border-radius: 14px !important; box-shadow: 0 18px 44px rgba(13, 33, 50, .22) !important; font-family: "Figtree", system-ui, sans-serif; }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: #0d2132; border-color: #0d2132; }
.flatpickr-day.today { border-color: #00b4e6; }
.flatpickr-day.today:hover { background: #e6f7fd; color: #0d2132; }
.flatpickr-time input:hover, .flatpickr-time .flatpickr-am-pm:hover, .flatpickr-time input:focus { background: #e6f7fd; }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 860px) {
	#tpcf-form-root .tpcf-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tpcf-form-root .tpcf-upload-grid > .tpcf-dropzone:first-child { grid-column: 1 / -1; }
	#tpcf-form-root .tpcf-upload-grid label.tpcf-dropzone-label { min-height: 170px; }
}

@media (max-width: 720px) {
	.tpcf-wrap { margin: 12px auto 24px; padding: 0 10px; }
	.tpcf-wrap .tpcf-card { border-radius: 18px; }
	#tpcf-form-root .tpcf-brand { padding: 28px 20px 24px; }
	#tpcf-form-root .tpcf-brand::after { right: -120px; top: -120px; }
	#tpcf-form-root .tpcf-lede { font-size: 15px; }
	#tpcf-form-root .tpcf-progress { padding: 16px 20px 14px; scroll-margin-top: 72px; }
	#tpcf-form-root .tpcf-progress-next { display: none; }
	#tpcf-form-root .tpcf-lane { gap: 4px; }
	#tpcf-form-root #tpcf-form { padding: 0 20px; }
	#tpcf-form-root .tpcf-step-head { padding: 24px 0 18px; }
	#tpcf-form-root .tpcf-group { padding: 18px 16px; border-radius: 14px; }
	#tpcf-form-root .tpcf-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	#tpcf-form-root .tpcf-field--half,
	#tpcf-form-root .tpcf-field--third { grid-column: 1 / -1; }
	#tpcf-form-root .tpcf-radio-group { flex-wrap: nowrap !important; }
	#tpcf-form-root label.tpcf-radio-pill { flex: 1 1 0; min-width: 0; }
	#tpcf-form-root .tpcf-radio-face { width: 100%; min-width: 0; padding: 0 12px; }
	#tpcf-form-root .tpcf-checkbox-group { grid-template-columns: minmax(0, 1fr); }
	#tpcf-form-root .tpcf-upload-grid { grid-template-columns: minmax(0, 1fr); }
	#tpcf-form-root .tpcf-upload-grid label.tpcf-dropzone-label { min-height: 150px; }
	#tpcf-form-root .tpcf-repeat-row { padding: 14px 14px 18px; }
	#tpcf-form-root .tpcf-scene-tabs { display: flex; }
	#tpcf-form-root .tpcf-scene-tab { flex: 1; }
	#tpcf-form-root .tpcf-nav {
		position: sticky;
		bottom: 0;
		z-index: 5;
		margin: 28px -20px 0;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--tpcf-line);
		background: rgba(255, 255, 255, .96);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		box-shadow: 0 -8px 20px rgba(13, 33, 50, .06);
	}
	#tpcf-form-root .tpcf-form-msg { display: none; }
	#tpcf-form-root .tpcf-nav .tpcf-btn--ghost { padding: 0 16px; }
	#tpcf-form-root .tpcf-nav [data-tpcf-next],
	#tpcf-form-root .tpcf-nav [data-tpcf-submit] { flex: 1; min-width: 0; }
	#tpcf-form-root .tpcf-success { padding: 48px 20px 56px; }
}

/* Three-option questions (e.g. Sighted / Copy taken / Neither) wrap on very small phones. */
@media (max-width: 400px) {
	#tpcf-form-root .tpcf-radio-group:has(> :nth-child(3)) { flex-wrap: wrap !important; }
	#tpcf-form-root .tpcf-radio-group:has(> :nth-child(3)) > label.tpcf-radio-pill { flex: 1 1 40%; }
}

@media (prefers-reduced-motion: reduce) {
	.tpcf-wrap *, .tpcf-wrap *::before, .tpcf-wrap *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   17. Thank-you page  ([tpcf_thank_you] shortcode)
   ========================================================================== */
#tpcf-thank-you h2, #tpcf-thank-you h3, #tpcf-thank-you h4,
#tpcf-thank-you p, #tpcf-thank-you ol, #tpcf-thank-you li,
#tpcf-thank-you dl, #tpcf-thank-you dt, #tpcf-thank-you dd { margin: 0; padding: 0; letter-spacing: normal; text-transform: none; font-family: inherit; }
#tpcf-thank-you ol { list-style: none; }
#tpcf-thank-you li::marker { content: none; }

#tpcf-thank-you .tpcf-ty-hero { padding: 52px 48px 44px; background: var(--tpcf-ink); color: #fff; text-align: center; }
#tpcf-thank-you .tpcf-success-icon { margin: 0 auto 20px; background: rgba(111, 216, 247, .16); color: #6fd8f7; }
#tpcf-thank-you .tpcf-ty-hero h2 { margin-bottom: 10px; color: #fff; font-size: clamp(26px, 4.4vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
#tpcf-thank-you .tpcf-ty-hero p { max-width: 34em; margin-left: auto; margin-right: auto; color: #c3d3de; }
#tpcf-thank-you .tpcf-ty-ref { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 24px; padding: 12px 20px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
#tpcf-thank-you .tpcf-ty-ref span { font-size: 14px; color: #c3d3de; }
#tpcf-thank-you .tpcf-ty-ref strong { font-size: 28px; font-weight: 800; letter-spacing: .04em; color: #fff; font-variant-numeric: tabular-nums; }
#tpcf-thank-you .tpcf-ty-hero .tpcf-ty-mail { margin-top: 16px; font-size: 15px; }
#tpcf-thank-you .tpcf-ty-hero .tpcf-ty-mail strong { color: #fff; }

#tpcf-thank-you .tpcf-ty-body { padding: 8px 48px 44px; }
#tpcf-thank-you .tpcf-ty-h { margin: 32px 0 14px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--tpcf-ink); }
#tpcf-thank-you .tpcf-ty-body > .tpcf-ty-h:first-child { margin: 36px 0 22px; text-align: center; }

/* What happens next — three centred steps joined by a line */
#tpcf-thank-you .tpcf-ty-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ty; }
#tpcf-thank-you .tpcf-ty-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 6px; text-align: center; counter-increment: ty; }
#tpcf-thank-you .tpcf-ty-steps li::before { content: counter(ty); position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; background: var(--tpcf-cyan-soft); box-shadow: 0 0 0 6px #fff; color: var(--tpcf-cyan-ink); font-weight: 800; font-size: 16px; }
#tpcf-thank-you .tpcf-ty-steps li + li::after { content: ""; position: absolute; top: 20px; right: calc(50% + 28px); width: calc(100% - 40px); height: 2px; background: var(--tpcf-line); }
#tpcf-thank-you .tpcf-ty-steps strong { font-size: 16px; color: var(--tpcf-ink); }
#tpcf-thank-you .tpcf-ty-steps span { max-width: 17em; font-size: 15px; line-height: 1.45; color: var(--tpcf-muted); }

#tpcf-thank-you .tpcf-ty-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
#tpcf-thank-you .tpcf-ty-head .tpcf-ty-h { margin: 0; }
#tpcf-thank-you .tpcf-ty-print { height: 40px; padding: 0 16px; font-size: 14px; }
#tpcf-thank-you .tpcf-ty-meta { margin: 6px 0 16px; font-size: 14px; color: var(--tpcf-muted); }

#tpcf-thank-you .tpcf-ty-section { margin: 0 0 14px; border: 1px solid var(--tpcf-line); border-radius: 12px; overflow: hidden; background: #fff; }
#tpcf-thank-you .tpcf-ty-section h4 { margin: 0; padding: 12px 18px; background: var(--tpcf-wash); color: var(--tpcf-ink); font-size: 15px; font-weight: 700; }
#tpcf-thank-you .tpcf-ty-row { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; padding: 11px 18px; border-top: 1px solid #e8eff3; }
#tpcf-thank-you .tpcf-ty-section dl .tpcf-ty-row:first-child { border-top: 1px solid var(--tpcf-line); }
#tpcf-thank-you .tpcf-ty-row dt { font-size: 14px; font-weight: 600; color: var(--tpcf-muted); }
#tpcf-thank-you .tpcf-ty-row dd { font-size: 15px; color: var(--tpcf-ink); word-break: break-word; }

#tpcf-thank-you .tpcf-ty-contact { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 36px; text-align: center; padding: 18px 20px; border-radius: 12px; background: var(--tpcf-wash); color: var(--tpcf-ink-2); font-size: 15px; }
#tpcf-thank-you .tpcf-ty-contact a { color: var(--tpcf-cyan-ink); font-weight: 700; }

@media (max-width: 720px) {
	#tpcf-thank-you .tpcf-ty-hero { padding: 36px 20px 30px; }
	#tpcf-thank-you .tpcf-ty-body { padding: 4px 20px 28px; }
	#tpcf-thank-you .tpcf-ty-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	#tpcf-thank-you .tpcf-ty-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	#tpcf-thank-you .tpcf-ty-steps li + li::after { top: -20px; right: auto; left: 50%; width: 2px; height: 14px; transform: translateX(-1px); }
	#tpcf-thank-you .tpcf-ty-steps li::before { margin-bottom: 6px; }
}
@media print {
	#tpcf-thank-you .tpcf-ty-print, #tpcf-thank-you .tpcf-ty-steps { display: none !important; }
	#tpcf-thank-you .tpcf-card { box-shadow: none; border: 0; }
	#tpcf-thank-you .tpcf-ty-hero { background: #fff !important; color: #000; padding: 0 0 20px; }
	#tpcf-thank-you .tpcf-ty-hero h2, #tpcf-thank-you .tpcf-ty-ref strong { color: #000; }
	#tpcf-thank-you .tpcf-ty-hero p, #tpcf-thank-you .tpcf-ty-ref span { color: #333; }
	#tpcf-thank-you .tpcf-ty-body { padding: 0; }
}

/* ==========================================================================
   18. Modern skin (v2.3.0)
   --------------------------------------------------------------------------
   Numbered stepper with labels, softer rounded fields, segmented Yes / No
   controls, tinted selection states and pill buttons. Sits on top of the
   base rules above, so markup and JavaScript are unchanged.
   ========================================================================== */
.tpcf-wrap {
	--tpcf-field-bg: #f8fafc;
	--tpcf-radius: 14px;
	--tpcf-radius-lg: 20px;
	--tpcf-shadow-soft: 0 1px 2px rgba(13, 33, 50, .05), 0 8px 24px -16px rgba(13, 33, 50, .18);
}
.tpcf-wrap .tpcf-card { border-radius: 28px; border-color: #e3eaf0; box-shadow: 0 1px 2px rgba(13, 33, 50, .04), 0 40px 80px -40px rgba(13, 33, 50, .30); }

/* Header: faint grid texture for depth */
#tpcf-form-root .tpcf-brand {
	padding: 44px 48px 40px;
	background:
		radial-gradient(560px 280px at 100% 0%, rgba(0, 180, 230, .32), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(140deg, #08192a 0%, #0d2b42 60%, #0c3c57 100%);
}

/* ---- Stepper: numbered circles, labels, connecting line ---- */
#tpcf-form-root .tpcf-progress { padding: 26px 32px 22px; background: linear-gradient(#fff, #fbfdfe); }
#tpcf-form-root .tpcf-progress-meta {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
#tpcf-form-root .tpcf-lane { gap: 0; align-items: flex-start; }
#tpcf-form-root .tpcf-lane li { position: relative; }
#tpcf-form-root .tpcf-lane li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 15px;
	left: calc(50% + 22px);
	right: calc(-50% + 22px);
	height: 2px;
	border-radius: 2px;
	background: #e3eaf0;
	transition: background-color .3s ease;
}
#tpcf-form-root .tpcf-lane li:has(.is-done):not(:last-child)::after { background: var(--tpcf-cyan); }
#tpcf-form-root .tpcf-lane-dash {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	height: auto;
	padding: 0 4px;
	text-align: center;
}
#tpcf-form-root .tpcf-lane-dash::before {
	content: attr(data-dot);
	position: static;
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	margin: 0;
	border: 2px solid #d5e0e8;
	border-radius: 50%;
	background: #fff center / 14px 14px no-repeat;
	color: var(--tpcf-faint);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease;
}
#tpcf-form-root .tpcf-lane-dash::after {
	content: attr(data-title);
	max-width: 9em;
	color: var(--tpcf-faint);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	transition: color .2s ease;
}
#tpcf-form-root .tpcf-lane-dash.is-active::before {
	border-color: var(--tpcf-ink);
	background-color: var(--tpcf-ink);
	color: #fff;
	box-shadow: 0 0 0 5px rgba(0, 180, 230, .18);
}
#tpcf-form-root .tpcf-lane-dash.is-active::after { color: var(--tpcf-ink); font-weight: 700; }
#tpcf-form-root .tpcf-lane-dash.is-done::before {
	border-color: var(--tpcf-cyan);
	background-color: var(--tpcf-cyan);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
	color: transparent;
}
#tpcf-form-root .tpcf-lane-dash.is-done::after { color: var(--tpcf-ink-2); }
#tpcf-form-root .tpcf-lane-dash.is-visited::before { border-color: #9fdcef; background-color: var(--tpcf-cyan-soft); color: var(--tpcf-cyan-ink); }
#tpcf-form-root .tpcf-lane-dash.is-visited::after { color: var(--tpcf-muted); }
#tpcf-form-root .tpcf-lane-dash:not(:disabled):hover::before { transform: scale(1.08); }
#tpcf-form-root .tpcf-lane-dash:not(:disabled):hover::after { color: var(--tpcf-cyan-ink); }
#tpcf-form-root .tpcf-lane-dash:focus-visible::before { box-shadow: var(--tpcf-focus); }

/* ---- Step heading: visible "Step x of 9" eyebrow ---- */
#tpcf-form-root .tpcf-step-head { padding: 36px 0 26px; }
#tpcf-form-root .tpcf-step-count {
	position: static; width: auto; height: auto; margin: 0 0 12px; clip: auto; overflow: visible;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px 5px 10px;
	border-radius: 999px;
	background: var(--tpcf-cyan-soft);
	color: var(--tpcf-cyan-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
}
#tpcf-form-root .tpcf-step-count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tpcf-cyan); }
#tpcf-form-root .tpcf-step-head h3 { font-size: clamp(26px, 3.2vw, 32px); letter-spacing: -.03em; }

/* ---- Section cards ---- */
#tpcf-form-root .tpcf-group {
	padding: 26px 26px 28px;
	border-color: #e6edf2;
	border-radius: var(--tpcf-radius-lg);
	background: linear-gradient(180deg, #fbfdfe 0%, #fff 72px);
	box-shadow: var(--tpcf-shadow-soft);
}
#tpcf-form-root .tpcf-group + .tpcf-group { margin-top: 18px; }
#tpcf-form-root .tpcf-group > .tpcf-subhead { display: flex; align-items: center; gap: 10px; }
#tpcf-form-root .tpcf-group > .tpcf-subhead::before {
	content: "";
	flex: 0 0 4px;
	width: 4px; height: 18px;
	border-radius: 4px;
	background: linear-gradient(var(--tpcf-cyan), #4fd2f6);
}
#tpcf-form-root .tpcf-group > .tpcf-subhead + .tpcf-hint { padding-left: 14px; }

/* ---- Text fields ---- */
#tpcf-form-root .tpcf-grid { gap: 22px 18px; }
#tpcf-form-root .tpcf-label,
#tpcf-form-root label.tpcf-label { margin-bottom: 8px; color: var(--tpcf-ink); font-size: 14px; letter-spacing: .005em; }
#tpcf-form-root input[type="text"],
#tpcf-form-root input[type="email"],
#tpcf-form-root input[type="tel"],
#tpcf-form-root input[type="date"],
#tpcf-form-root input[type="time"],
#tpcf-form-root select,
#tpcf-form-root textarea {
	height: 54px;
	min-height: 54px;
	padding: 0 18px;
	border: 1.5px solid #d9e3ea;
	border-radius: var(--tpcf-radius);
	background-color: var(--tpcf-field-bg);
	box-shadow: none;
}
#tpcf-form-root textarea { height: auto; min-height: 150px; padding: 15px 18px; }
#tpcf-form-root input:hover,
#tpcf-form-root select:hover,
#tpcf-form-root textarea:hover { border-color: #b3c6d3; background-color: #fff; }
#tpcf-form-root input:focus,
#tpcf-form-root select:focus,
#tpcf-form-root textarea:focus {
	border-color: var(--tpcf-cyan);
	background-color: #fff;
	box-shadow: 0 0 0 4px rgba(0, 180, 230, .14), 0 6px 18px -10px rgba(0, 118, 158, .45);
}
#tpcf-form-root .tpcf-field--date input.input,
#tpcf-form-root .tpcf-field--time input.input,
#tpcf-form-root .tpcf-field--date input[type="date"],
#tpcf-form-root .tpcf-field--time input[type="time"] { padding-right: 46px; background-position: right 16px center; }
#tpcf-form-root .tpcf-select::after { right: 20px; border-color: var(--tpcf-cyan-ink); }

/* ---- Yes / No: segmented control ---- */
#tpcf-form-root .tpcf-radio-group {
	width: fit-content;
	max-width: 100%;
	gap: 4px;
	padding: 4px;
	border: 1.5px solid #e1e9ef;
	border-radius: 16px;
	background: #eef3f6;
}
#tpcf-form-root .tpcf-radio-face {
	justify-content: center;
	min-width: 118px;
	height: 46px;
	padding: 0 18px 0 14px;
	border-color: transparent;
	border-radius: 12px;
	background: transparent;
	color: var(--tpcf-muted);
	box-shadow: none;
}
#tpcf-form-root .tpcf-radio-face .tpcf-icon { width: 18px !important; height: 18px !important; flex-basis: 18px; border-color: #c2d1db; background: transparent; }
#tpcf-form-root .tpcf-radio-pill:hover .tpcf-radio-face { border-color: transparent; background: rgba(255, 255, 255, .6); color: var(--tpcf-ink); }
#tpcf-form-root .tpcf-radio-pill input:checked + .tpcf-radio-face {
	border-color: transparent;
	background: #fff;
	color: var(--tpcf-ink);
	box-shadow: 0 1px 2px rgba(13, 33, 50, .08), 0 6px 16px -8px rgba(13, 33, 50, .35);
}
#tpcf-form-root .tpcf-radio-pill input:checked + .tpcf-radio-face .tpcf-icon { border-color: var(--tpcf-cyan); background: var(--tpcf-cyan); color: #fff; }
#tpcf-form-root .tpcf-radio-pill input:focus-visible + .tpcf-radio-face { box-shadow: var(--tpcf-focus); }
#tpcf-form-root .tpcf-field-invalid .tpcf-radio-group { border-color: #e3929d; background: var(--tpcf-danger-soft); }
#tpcf-form-root .tpcf-field-invalid .tpcf-radio-face { border-color: transparent; background: transparent; }

/* ---- Checkbox cards ---- */
#tpcf-form-root .tpcf-checkbox-group { gap: 12px; }
#tpcf-form-root label.tpcf-checkbox {
	padding: 18px 20px;
	border: 1.5px solid #dfe7ed;
	border-radius: 16px;
	box-shadow: var(--tpcf-shadow-soft);
	font-size: 15px;
}
#tpcf-form-root label.tpcf-checkbox:hover { border-color: #9fdcef; transform: translateY(-1px); }
#tpcf-form-root .tpcf-checkbox-box { border-radius: 7px; border-color: #c2d1db; }
#tpcf-form-root .tpcf-checkbox input:checked ~ .tpcf-checkbox-box { border-color: var(--tpcf-cyan); background: var(--tpcf-cyan); }
#tpcf-form-root label.tpcf-checkbox:has(input:checked) {
	border-color: var(--tpcf-cyan);
	background: var(--tpcf-cyan-soft);
	color: var(--tpcf-ink);
	box-shadow: 0 0 0 3px rgba(0, 180, 230, .10);
}

/* ---- Declaration ---- */
#tpcf-form-root .tpcf-declaration { padding: 22px 24px; border: 1px solid #e3eaf0; border-left: 0; border-radius: 16px; background: linear-gradient(90deg, var(--tpcf-cyan) 0 4px, var(--tpcf-wash) 4px); }

/* ---- Scene sketch ---- */
#tpcf-form-root .tpcf-scene-tabs { border-radius: 14px; background: #eef3f6; }
#tpcf-form-root .tpcf-scene-tab { border-radius: 10px; }
#tpcf-form-root #tpcf-scene-canvas { border-radius: 16px; border-color: #cfdbe4; background-color: #fbfdfe; }

/* ---- Uploads ---- */
#tpcf-form-root label.tpcf-dropzone-label {
	border-color: #cfdbe4;
	border-radius: 20px;
	background: linear-gradient(180deg, #f8fbfd, #f1f6f9);
}
#tpcf-form-root .tpcf-dropzone-label:hover,
#tpcf-form-root .tpcf-dropzone.is-dragover .tpcf-dropzone-label { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0, 118, 158, .45); }
#tpcf-form-root .tpcf-dropzone-icon {
	width: 52px; height: 52px;
	border-radius: 16px;
	background: linear-gradient(140deg, #19c3f0, var(--tpcf-cyan-ink));
	color: #fff;
	box-shadow: 0 10px 22px -10px rgba(0, 118, 158, .7);
}
#tpcf-form-root .tpcf-dropzone-list li { border-radius: 12px; box-shadow: var(--tpcf-shadow-soft); }

/* ---- Passengers / witnesses ---- */
#tpcf-form-root .tpcf-repeat-row { border-radius: 18px; background: #f6f9fb; border-color: #e3eaf0; }
#tpcf-form-root .tpcf-repeat-row input { background-color: #fff; }

/* ---- Buttons: pills ---- */
#tpcf-form-root .tpcf-btn,
#tpcf-thank-you .tpcf-btn { height: 52px; padding: 0 26px; border-radius: 999px; }
#tpcf-form-root .tpcf-btn--primary {
	border: 0;
	background: linear-gradient(135deg, #17364f 0%, var(--tpcf-ink) 100%);
	box-shadow: 0 12px 26px -12px rgba(13, 33, 50, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
#tpcf-form-root .tpcf-btn--primary:hover { background: linear-gradient(135deg, #1e4462 0%, #13304a 100%); }
#tpcf-form-root .tpcf-btn--primary .tpcf-icon { transition: transform .15s ease; }
#tpcf-form-root .tpcf-btn--primary:hover .tpcf-icon { transform: translateX(3px); }
#tpcf-form-root [data-tpcf-submit] { background: linear-gradient(135deg, #10b6e6 0%, var(--tpcf-cyan-ink) 100%); box-shadow: 0 12px 26px -12px rgba(0, 118, 158, .8); }
#tpcf-form-root [data-tpcf-submit]:hover { background: linear-gradient(135deg, #0aa6d4 0%, #00658a 100%); }
#tpcf-form-root .tpcf-btn--ghost { border: 1.5px solid #d5e0e8; }
#tpcf-form-root .tpcf-btn--quiet { height: 40px; border-radius: 999px; }
#tpcf-form-root .tpcf-btn--add { height: 54px; border-radius: 16px; background: #fbfdfe; }
#tpcf-form-root .tpcf-repeat-remove { border-radius: 999px; }
#tpcf-form-root .tpcf-alert { border-radius: 16px; }
#tpcf-form-root .tpcf-alert-link { border-radius: 999px; }

/* ---- Small screens ---- */
@media (max-width: 720px) {
	.tpcf-wrap .tpcf-card { border-radius: 22px; }
	#tpcf-form-root .tpcf-brand { padding: 30px 20px 26px; }
	#tpcf-form-root .tpcf-progress { padding: 16px 16px 14px; }
	#tpcf-form-root .tpcf-progress-meta {
		position: static; width: auto; height: auto; margin: 0 0 12px; clip: auto; overflow: visible; white-space: normal;
	}
	#tpcf-form-root .tpcf-lane-dash { padding: 0; }
	#tpcf-form-root .tpcf-lane-dash::after { display: none; }
	#tpcf-form-root .tpcf-lane-dash::before { width: 26px; height: 26px; font-size: 12px; background-size: 12px 12px; }
	#tpcf-form-root .tpcf-lane-dash.is-active::before { box-shadow: 0 0 0 4px rgba(0, 180, 230, .18); }
	#tpcf-form-root .tpcf-lane li:not(:last-child)::after { top: 12px; left: calc(50% + 16px); right: calc(-50% + 16px); }
	#tpcf-form-root .tpcf-step-count { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); }
	#tpcf-form-root .tpcf-step-head { padding: 24px 0 18px; }
	#tpcf-form-root .tpcf-group { padding: 20px 16px 22px; }
	#tpcf-form-root .tpcf-radio-group { width: 100%; }
	#tpcf-form-root .tpcf-radio-face { min-width: 0; }
	#tpcf-form-root .tpcf-nav .tpcf-btn { height: 50px; }
}
