/* ============================================================
   LandTrust — HuntLease Application form overrides (WebsiteID 998877)
   Layered on top of /CSS/LandTrust.css (loaded by LandTrust.master).
   Re-skins the existing ElexiAJAX form WITHOUT changing any markup
   structure or JS behavior.
   ============================================================ */

/* ---- Root theme variables (copied from global LandTrust root) ---- */
:root {
    --paper: #F5F6F0;
    --paper-raised: #FFFFFF;
    --ink: #1E241B;
    --ink-soft: #4B5245;
    --sage: #767C6C;
    --line: #DBD7C6;
    --line-soft: #E7E4D6;
    --green-900: #17241B;
    --green-800: #223A2A;
    --green-700: #2F4A34;
    --green-600: #3D5C42;
    --gold: #A97C34;
    --gold-soft: #F1E3C6;
    --gold-line: #D9BD84;
    --danger: #8C4A3A;
    --radius-s: 5px;
    --radius-m: 8px;
    --measure: 66ch;
    --shadow-focus: 0 0 0 3px rgba(169, 124, 52, 0.25);

    /* ---- Map LandTrust-specific --lt-* variables to root palette so markup
       that references var(--lt-...) (eg. Default.aspx line ~311) picks up
       the site's core colors. This keeps the aside/wizard and other
       components consistent with the root theme. */
    --lt-muted: var(--sage);
    --lt-border: var(--line);
    --lt-text: var(--ink);
    --lt-green: var(--green-700);
    --lt-orange: var(--gold);
    --lt-cream: var(--gold-soft);
    --lt-gold: var(--gold);
    --lt-shadow-focus: var(--shadow-focus);
}

/* Button utilities (used for Add Joint Landowner button) */
.btn {
    font-family: inherit;
    font-size: 0.9rem;
    /* Use normal weight for LT buttons to match design */
    font-weight: 400;
    padding: 11px 20px;
    border-radius: var(--radius-s);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    text-decoration: none;
}
.btn-outline {
    background: transparent;
    border-color: var(--green-700, #2F4A34);
    color: var(--green-700, #2F4A34);
}
.btn-outline:hover {
    background: rgba(47, 74, 52, 0.06);
}

/* Scope the button styling for LandTrust layout */
.lt-app-content #JointLandownerButton.btn {
    margin-top: 8px;
}


/* ---- Page container: turn the App wrapper into a centered card sheet ---- */
#Application {
    max-width: 860px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid var(--lt-border, #e2ddd3);
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

/* Inside the sticky two-column layout, let the form fill its column */
.lt-app-content #Application {
    max-width: none;
    width: 100%;
    margin: 0;
}

/* When #Application wraps the two-column layout (WebsiteID=25), it must be a
   full-width, transparent shell -- the white card moves to .lt-app-content */
#Application:has(.lt-app-layout) {
    max-width: none;
    width: 100%;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

#Application .lt-app-content {
    /* Reset visual chrome when #Application wraps the two-column layout.
       These properties were removed to let the surrounding layout control
       the card appearance (handled by #Application or outer containers). */
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

#Application h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--lt-text, #23271f);
    text-align: left !important;
    margin: 0 0 6px;
}

/* ---- Login / back link ---- */
#LoginLink {
    display: inline-block;
    color: var(--lt-orange, #e2430c);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
}
#LoginLink span { text-decoration: underline; }

/* ---- Intro info block ---- */
#Info, #Text {
    color: var(--lt-muted, #5c6157);
    font-size: 15px;
}

/* ---- Green hero band (matches LandTrust reference) ---- */
.lt-app-hero {
	background: var(--lt-green, #1e3320);
	color: #fff;
	padding: 56px 0 52px;
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}
.lt-app-hero-inner {
	width: min(1320px, calc(100vw - 32px));
	margin: 0 auto;
}
.lt-app-hero h1 {
	font-family: 'Public Sans', 'Open Sans', Arial, sans-serif;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	margin: 0 0 16px;
	text-align: left;
}
.lt-app-hero p {
	max-width: 620px;
	font-size: 18px;
	line-height: 1.5;
	opacity: .95;
	margin: 0;
}
.lt-app-hero-login {
	margin-top: 22px;
	font-size: 15px;
	color: #fff;
}
.mkt-hero-inner {
    margin-top: 16px;
    background: rgba(241, 227, 198, 0.2);
    border-left: 4px solid var(--lt-gold, #A97C34);
    padding: 12px 16px;
    border-radius: 6px;
    color: #ffffff;
    max-width: 920px;
    font-size: 16px;
}
.lt-app-hero-login a {
	color: #f0c67a;
	font-weight: 700;
	text-decoration: underline;
}

/* ---- Two-column layout: sticky left step nav + content (Netlify look) ---- */
.lt-app-layout {
	display: flex;
	align-items: flex-start;
	gap: 36px;
	margin-top: 24px;
	/* Widen beyond the default container so the form isn't squeezed */
	width: min(1320px, calc(100vw - 32px));
	margin-left: 50%;
	transform: translateX(-50%);
}
.lt-app-nav {
	flex: 0 0 190px;
	position: sticky;
	top: 24px;
}
.lt-app-content {
	flex: 1 1 auto;
	min-width: 0;
}
.lt-app-nav-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
	font-weight: 700;
	color: var(--lt-muted, #5c6157);
	margin-bottom: 14px;
}
.lt-wizard-vert {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lt-wizard-vert li {
	display: flex;
    align-items: baseline;
	gap: 10px;
    padding: 8px 0 8px 14px;
    border-left: 2px solid var(--line, #DBD7C6);
    color: var(--sage, #767C6C);
	font-weight: 600;
    font-size: 0.9rem;
    transition: color .15s ease, border-color .15s ease;
}
.lt-wizard-vert li:hover {
    color: var(--ink, #1E241B);
}
.lt-wizard-vert li .lt-vindex {
    display: inline-block;
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
	flex: 0 0 auto;
}
.lt-wizard-vert li.active {
    color: var(--ink, #1E241B);
    font-weight: 800;
    border-left-color: var(--gold, #A97C34);
}
.lt-wizard-vert li.active .lt-vindex {
    color: inherit;
}
.lt-wizard-vert li.completed {
    color: var(--sage, #767C6C);
    border-left-color: var(--line, #DBD7C6);
}
.lt-wizard-vert li.completed .lt-vindex {
    color: inherit;
}
.lt-wizard-vert li:focus {
    outline: 2px solid var(--gold, #A97C34);
	outline-offset: 2px;
}

/* ---- Step indicator (legacy horizontal, kept for reference) ---- */
.lt-stepbar {
	display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 20px 0 28px;
    padding: 16px 0;
    border-top: 1px solid var(--lt-border, #e2ddd3);
    border-bottom: 1px solid var(--lt-border, #e2ddd3);
}
.lt-stepbar li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--lt-muted, #5c6157);
    font-size: 14px;
    padding-right: 18px;
}
.lt-stepbar li .lt-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--lt-border, #e2ddd3);
    font-size: 12px;
    font-weight: 800;
    color: var(--lt-muted, #5c6157);
}
.lt-stepbar li.active { color: var(--lt-orange, #e2430c); }
.lt-stepbar li.active .lt-step-index {
    border-color: var(--lt-orange, #e2430c);
    background: var(--lt-orange, #e2430c);
    color: #fff;
}

/* Small eyebrow used above section headers to indicate step progress */
.lt-step-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lt-orange, #A97C34);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lt-step-eyebrow .lt-step-dot {
    width: 6px;
    height: 6px;
    background: var(--lt-orange, #A97C34);
    border-radius: 50%;
    display: inline-block;
}

/* LT-specific Blurb card used on the Review & submit step */
.lt-blurb {
    background: var(--lt-cream, #F1E3C6);
    border: 1px solid var(--gold-line, #D9BD84);
    padding: 22px 26px;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.02) inset;
    margin-bottom: 22px;
    color: var(--lt-text, #23271f);
}
.lt-blurb p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.lt-blurb p:last-child { margin-bottom: 0; }
.lt-agree-row { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.lt-agree-row input[type=checkbox] { width: 20px; height: 20px; }
.lt-agree-row label { font-weight: 700; }

/* ---- Section group headers become step titles ---- */
.GroupHeader {
    margin: 34px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--lt-border, #e2ddd3);
}
.GroupHeader h3 {
    font-family: 'Public Sans', 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--lt-text, #23271f);
    margin: 0;
}

/* ---- Form inputs ---- */
#Application input[type=text],
#Application input[type=password],
#Application input[type=email],
#Application input[type=tel],
#Application select,
#Application textarea,
#Application .elexiTextBox input,
#Application .elexiCombo select {
    padding: 10px 12px;
    border: 1px solid var(--lt-border, #e2ddd3);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
}
#Application input[type=text]:focus,
#Application input[type=password]:focus,
#Application select:focus,
#Application textarea:focus {
    outline: none;
    border-color: var(--lt-gold, #a97c34);
    box-shadow: var(--lt-shadow-focus, 0 0 0 3px rgba(169,124,52,.25));
}
#Application label { font-weight: 600; }

/* Show custom dropdown arrow for LT selects (placed on the right) */
/* Scoped with #Application to win specificity over "#Application select { background: #fff; }"
   which was overwriting background-image (the arrow) and making the control look like a textbox. */
.lt-app-content #Application select,
#Application .lt-app-content select {
    /* keep native appearance so browser arrow remains visible; only supply an optional decorative arrow
       (some browsers will show native arrow alongside background image) */
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path d='M1 1 L7 7 L13 1' stroke='%23000000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px 8px;
    padding-right: 54px; /* room for decorative arrow */
}

/* Ensure the placeholder option visually matches the select color */
.lt-app-content select option[value=""] { color: var(--lt-muted, #767C6C); }

/* HuntClub selects get the thicker gold-lined treatment shown in the reference */
/* huntclub-specific thicker border removed to match legacy inputs; keep generic select arrow above */

/* Communication preferences checkbox label (LandTrust only) */
.lt-app-content label[for="MailCommunication"] {
    font-size: 16px; /* slightly larger for readability */
    font-weight: 600;
    color: var(--lt-text, #23271f);
}

/* ---- Hunt Club card layout (table#HuntClub) - scoped to LandTrust layout only ---- */
.lt-app-content table#HuntClub {
    width: 100%;
    border-collapse: separate;
    border-spacing: 18px 12px;
    background: #fff;
    border: 1px solid var(--gold-line, #D9BD84);
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.02) inset;
    margin-left: 30px;
}
.lt-app-content table#HuntClub td {
    vertical-align: top;
    padding: 6px 8px;
}
.lt-app-content table#HuntClub td.First { width: 50%; }
.lt-app-content table#HuntClub td.Second { width: 50%; }

.lt-app-content table#HuntClub td.First, .lt-app-content table#HuntClub td.Second {
    color: var(--lt-text, #23271f);
}
}
.lt-app-content table#HuntClub td.First { font-weight: 700; }

/* Inputs inside hunt club card */
table#HuntClub input[type=text],
table#HuntClub input[type=password],
table#HuntClub select,
table#HuntClub textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--line, #DBD7C6);
    background: #fff;
    font-size: 16px;
    color: var(--ink, #1E241B);
    box-sizing: border-box;
}

/* MainLandownerOnly help text and button spacing for LT */
.lt-app-content #LandownersSection .MainLandownerOnly {
    margin-bottom: 12px;
    font-weight: 400;
    color: var(--lt-muted, #767C6C);
    line-height: 1.6;
}
.lt-app-content #LandownersSection .MainLandownerOnly a.btn {
    margin-top: 12px;
    display: inline-flex;
}


/* Fix helper text spacing (overrides inline padding-left in markup) */
.lt-app-content #LandownersSection table.Landowner td[colspan="2"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 6px !important;
    font-weight: 400 !important;
    color: var(--lt-muted, #767C6C) !important;
}
.lt-app-content table#HuntClub input::placeholder {
    color: #cfc6b6;
}

/* Smaller inline account info column (keeps right column content separated) */
.lt-app-content table#HuntClub td#AccountInfo { padding: 8px 16px; }

/* subtle helper text below inputs */
.lt-app-content table#HuntClub .SubText { color: var(--lt-muted, #767C6C); font-size: 13px; margin-top: 6px; }

/* Stack label above input by treating each table row as a 2-column grid
   where the first two tds form column 1 (label then input) and the next
   two form column 2. This keeps markup unchanged but visually places
   the label above its control. */
.lt-app-content table#HuntClub tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    /* reduce vertical spacing between label and control */
    gap: 6px 18px;
    align-items: start;
}
.lt-app-content table#HuntClub tr > td:nth-child(1) { grid-column: 1; grid-row: 1; }
.lt-app-content table#HuntClub tr > td:nth-child(2) { grid-column: 1; grid-row: 2; }
.lt-app-content table#HuntClub tr > td:nth-child(3) { grid-column: 2; grid-row: 1; }
.lt-app-content table#HuntClub tr > td:nth-child(4) { grid-column: 2; grid-row: 2; }

/* AccountInfo uses colspan/rowspan; ensure it spans the right area */
.lt-app-content table#HuntClub tr > td[colspan="2"] {
    grid-column: 2 / span 1;
    grid-row: 1 / span 3;
}

/* Move label styling above controls */
.lt-app-content table#HuntClub td.First {
    /* labels appear above inputs; left-align and tighten spacing */
    font-weight: 700;
    padding-bottom: 2px;
    text-align: left;
}
.lt-app-content table#HuntClub td.Second {
    padding-bottom: 2px;
    text-align: left;
}

/* Ensure inputs fill the grid cell width when stacked */
.lt-app-content table#HuntClub input[type=text],
.lt-app-content table#HuntClub input[type=password],
.lt-app-content table#HuntClub select,
.lt-app-content table#HuntClub textarea {
    width: 100%;
}

/* Ensure all HuntClub inputs share an explicit control height and line-height
   so left and right columns match exactly. Use min-height rather than fixed
   height to preserve flexibility for large text. */
.lt-app-content table#HuntClub input[type=text],
.lt-app-content table#HuntClub input[type=password],
.lt-app-content table#HuntClub select,
.lt-app-content table#HuntClub textarea {
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.25;
    min-height: 48px;
    box-sizing: border-box;
}

/* ---- Landowners card: match HuntClub skin when in LT layout ---- */
.lt-app-content #LandownersSection table.Landowner {
    width: 100%;
    border-collapse: separate;
    padding: 18px 22px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.02) inset;
    margin-bottom: 18px;
    position: relative; /* allow Remove link to be positioned without affecting flow */
}
.lt-app-content #LandownersSection table.Landowner td {
    vertical-align: top;
    padding: 8px 12px;
}
.lt-app-content #LandownersSection table.Landowner td.Main {
    width: 50%;
    box-sizing: border-box;
    padding: 0 18px;
}
.lt-app-content #LandownersSection table.Landowner > tbody > tr:first-child > td:first-child {
    /* override inline padding-left on the header row so left column aligns with controls */
    padding-left: 18px !important;
}
.lt-app-content #LandownersSection .RemoveLandowner {
    /* position the Remove link at the top-right of the Landowner card */
    position: absolute;
    right: 22px;
    top: 18px;
    text-align: right;
    z-index: 5;
}
/* Prevent the Remove link from wrapping onto two lines */
.lt-app-content #LandownersSection .RemoveLandowner a,
.lt-app-content #LandownersSection .RemoveLandowner a.button {
    white-space: nowrap;
    display: inline-block;
}

/* Inner detail tables inside each column: label above input, full-width controls */
.lt-app-content #LandownersSection table.Landowner td.Main table {
    width: 100%;
}
.lt-app-content #LandownersSection table.Landowner td.Main table {
    /* remove inline left indent used in markup so controls align with HuntClub gutters */
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.lt-app-content #LandownersSection table.Landowner td.Main table tr {
    display: grid;
    grid-template-columns: 1fr;
    /* match HuntClub vertical rhythm */
    gap: 6px 0;
    margin-bottom: 6px;
}
.lt-app-content #LandownersSection table.Landowner td.Main table td {
    display: block;
    width: 100%;
    padding: 2px 0;
    text-align: left;
}
.lt-app-content #LandownersSection table.Landowner td.Main table td.First {
    font-weight: 700;
}
.lt-app-content #LandownersSection table.Landowner td.Main table input[type=text],
.lt-app-content #LandownersSection table.Landowner td.Main table select,
.lt-app-content #LandownersSection table.Landowner td.Main table textarea {
    /* match HuntClub control sizing exactly */
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--line, #DBD7C6);
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
    line-height: 1.25;
    min-height: 48px;
}


/* Landowners section: stack label above control for nested inner tables
   inside the LandownersSection. These inner tables are the left/right
   detail tables for each landowner; convert their rows to block so the
   label sits above its input without changing markup. */
/* Landowners section — scoped to LT layout only */
.lt-app-content #LandownersSection table.Landowner {
    width: 100%;
}
/* Make the outer Landowner table behave as two equal columns; keep the
   left/right columns independent to avoid overlap. */
.lt-app-content #LandownersSection table.Landowner > tbody > tr {
    /* Use flex to create two equal columns and avoid overlap; min-width:0
       ensures children can shrink correctly inside flex basis. Align items
       at the start and add a slight top padding to match HuntClub rhythm. */
    display: flex;
    gap: 36px;
    align-items: flex-start;
    padding-top: 6px;
}
.lt-app-content #LandownersSection table.Landowner > tbody > tr > td.Main {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 18px;
}
/* Inner detail tables fill their column and stack label above control
   using a single-column grid for predictable spacing without affecting
   other table layouts. */
.lt-app-content #LandownersSection table.Landowner td.Main table {
    width: 100%;
}
.lt-app-content #LandownersSection table.Landowner td.Main table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 0;
    margin-bottom: 8px;
}
.lt-app-content #LandownersSection table.Landowner td.Main table td {
    display: block;
    width: 100%;
    padding: 2px 0;
    text-align: left;
}
.lt-app-content #LandownersSection table.Landowner td.Main table td.First { font-weight: 700; }
.lt-app-content #LandownersSection table.Landowner td.Main table input[type=text],
.lt-app-content #LandownersSection table.Landowner td.Main table select,
.lt-app-content #LandownersSection table.Landowner td.Main table textarea {
    width: 100%;
    box-sizing: border-box;
}

/* ---- Radios & checkboxes: keep control and its label on one line ---- */
#Application input[type=radio],
#Application input[type=checkbox] {
	display: inline-block;
	width: auto;
	margin: 0 6px 0 0;
	vertical-align: middle;
}
#Application input[type=radio] + label,
#Application input[type=checkbox] + label,
#Application #CoverageDates label {
	display: inline;
	vertical-align: middle;
}

/* ---- Coverage Date card tiles ---- */
.lt-date-intro {
	font-size: 15px;
	color: var(--lt-muted, #5c6157);
	margin-bottom: 20px;
	line-height: 1.6;
}
.lt-date-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 30px;
}
.lt-date-option {
    background: #fff;
    border: 1px solid var(--lt-border, #d6d1c4);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
/* Radio + label header — flex row */
.lt-date-option-header {
	display: flex;
	align-items: center;
	gap: 12px;
}
.lt-date-option.lt-date-selected {
	border-color: var(--lt-green, #2d5016);
	box-shadow: 0 0 0 3px rgba(45,80,22,.10);
}
/* Support native :checked state so the card highlights even before JS runs
   in browsers that support :has. This mirrors the .lt-date-selected class. */
.lt-date-option:has(input[type=radio]:checked) {
    border-color: var(--lt-green, #2d5016);
    box-shadow: 0 0 0 3px rgba(45,80,22,.10);
}
/* Radio inside date card */
.lt-date-option input[type=radio] {
	flex-shrink: 0;
	width: 18px !important;
	height: 18px;
	margin: 0 !important;
	accent-color: var(--lt-green, #2d5016);
}
.lt-date-option label {
	display: block !important;
	cursor: pointer;
	font-weight: normal !important;
	margin: 0;
}


.lt-app-content #DateSection label span {
    font-size: 0.83rem;
    color: var(--ink);
}
.lt-date-range {
	font-size: 15px;
	font-weight: 700;
	color: var(--lt-text, #23271f);
}
/* SubText callout inside card */
.lt-date-option .lt-date-msg {
	display: none;
	margin: 12px 0 0 30px;
	padding: 10px 14px;
	background: #f5ead8;
	border: 1px solid #d9c49a;
	border-radius: 6px;
	font-size: 13px;
	color: #5a4a1e;
	line-height: 1.5;
	width: auto !important;
}

/* Additional Insured warning callout */
.lt-app-content .SubText.AddInsMessage {
    margin: 12px 0 0 30px;
    padding: 10px 14px 10px 44px;
    width: auto;
    background: #f5ead8;
    border: 1px solid #d9c49a;
    border-radius: 6px;
    color: #5a4a1e;
    line-height: 1.5;
    position: relative;
}
.lt-app-content .SubText.AddInsMessage > div {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    float: none !important;
    margin: 0 !important;
}

/* ---- Themed blurb / disclaimer ---- */
.Blurb {
    background: var(--lt-cream, #f5f3ee);
    border: 1px solid var(--lt-border, #e2ddd3);
    border-radius: 10px;
    padding: 18px 20px;
}

/* ---- Continuing-quote / info banner ---- */
#Info div { color: var(--lt-muted, #5c6157); }

/* ---- Full-width section resets (override legacy align=center / centered tables) ---- */
#DateSection,
#TotalsSection,
#PaymentSection,
#CommunicationPreferencesSection {
    text-align: left;
    width: 100%;
}
#DateSection .Question {
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* ---- Payment type card tiles ---- */
    #PaymentSection #PaymentMain {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 10px;
        margin-left: 20px;
    }
#PaymentSection #PaymentMain > tbody > tr > td:first-child {
    padding: 0;
}
/* Each top-level payment option row becomes a card */
#PaymentSection #PaymentMain > tbody > tr > td:first-child {
    background: #fff;
    border: 1px solid var(--lt-border, #d6d1c4);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    transition: border-color .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
#PaymentSection #PaymentMain .CreditCardSection {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 14px;
}
/* Radio sits at the top-left of the card flex row */
#PaymentSection #PaymentMain > tbody > tr > td:first-child > input[type=radio] {
    flex-shrink: 0;
    margin: 3px 0 0;
}

#PaymentSection #PaymentMain table.PaymentInfo {
    width: 100%;
    margin-bottom: 10px;
}

    #PaymentSection #PaymentMain table.PaymentInfo th {
        font-weight: normal;
        padding: 6px;
        font-size: 13px;
        text-align: left;
    }

/* Credit card iframe overlay */
.lt-theme #CCFrameBG {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(23, 36, 27, 0.35);
    z-index: 300;
    display: none;
}

.lt-theme #CCFrame {
    position: absolute;
    left: 50%;
    top: 0;
    width: 430px;
    margin-left: -215px;
    background: #fff;
    border: 1px solid var(--lt-border, #d6d1c4);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.lt-theme #CCFrame table {
    width: 100%;
}

.lt-theme #CCFrame a {
    color: var(--lt-green, #2d5016);
}

.lt-theme #CCFrame td[align='right'] {
    padding: 10px 12px 6px 12px !important;
}

.lt-theme #CCFrame #Buttons {
    margin: 14px 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: inherit;
}

.lt-theme #CCFrame #Buttons input[type='button'],
.lt-theme #CCFrame #Buttons input[type='submit'],
.lt-theme #CCFrame #Buttons button {
    background: var(--lt-green, #2d5016);
    border: 1px solid var(--lt-green, #2d5016);
    color: #fff;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 600;
    box-shadow: none;
}

.lt-theme #CCFrame #Buttons a {
    color: var(--lt-green, #2d5016);
    font-weight: 600;
    text-decoration: underline;
}

/* LT skin for ElexiAJAX confirm dialog */
.lt-theme #ElexiAJAX_ConfirmBG {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(23, 36, 27, 0.35);
    z-index: 100000;
}

.lt-theme #ElexiAJAX_Confirm {
    position: absolute;
    width: 440px;
    left: 50%;
    top: 35%;
    margin-left: -220px;
    z-index: 100001;
    display: none;
    background: #fff;
    border: 1px solid var(--lt-border, #d6d1c4);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    padding: 0;
    overflow: hidden;
}

.lt-theme #ElexiAJAX_Confirm_Message {
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 18px 20px 12px;
    color: var(--lt-text, #23271f);
    line-height: 1.5em;
}

.lt-theme #ElexiAJAX_Confirm #Buttons {
    text-align: center;
    padding: 0 20px 20px;
}

.lt-theme #ElexiAJAX_Confirm #Buttons input[type=button] {
    background: var(--lt-green, #2d5016);
    border: 1px solid var(--lt-green, #2d5016);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    border-radius: 6px;
    margin: 3px;
    font-weight: 600;
    width: auto;
    min-width: 80px;
    height: 32px;
    padding: 0 16px;
}

/* LT skin for the generic alert dialog */
.lt-theme #divAlert {
    position: absolute;
    display: none;
    left: 50%;
    width: 420px;
    margin-left: -210px;
    background: #fff;
    border: 1px solid var(--lt-border, #d6d1c4);
    border-radius: 10px;
    z-index: 2000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.lt-theme #divAlertTitle {
    background: var(--lt-green, #2d5016);
    font-size: 10pt;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
}

.lt-theme #divAlert #divClose {
    color: #fff;
    font-weight: 600;
    font-size: 8pt;
    text-align: right;
    float: right;
    cursor: pointer;
}

.lt-theme #divAlert #divClose:hover {
    text-decoration: underline;
}

.lt-theme #divAlertMessage {
    text-align: left;
    font-size: 9pt;
    padding: 12px;
    color: var(--lt-text, #23271f);
}
#PaymentSection #PaymentMain > tbody > tr > td:first-child:has(input:checked),
#PaymentSection #PaymentMain > tbody > tr > td.lt-pay-selected {
    border-color: var(--lt-green, #2d5016);
    box-shadow: 0 0 0 3px rgba(45,80,22,.10);
}
/* Radio inside card */
#PaymentSection #PaymentMain > tbody > tr input[type=radio] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--lt-green, #2d5016);
}
/* Label inside card — flex column for title + desc, fills remaining width */
#PaymentSection #PaymentMain > tbody > tr > td > label {
    display: flex !important;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.4;
}
.lt-pay-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--lt-text, #23271f);
}
.lt-pay-desc {
    font-size: 13px;
    color: var(--lt-muted, #5c6157);
    font-weight: 400;
}

/* ---- Expanded payment details inside the card ---- */
.lt-pay-details {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lt-border, #e2ddd3);
    width: 100%;
}

/* ---- Payment Calculation table ---- */
#TotalsSection {
    margin-bottom: 24px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* border: 1px solid var(--lt-border, #d6d1c4); */
    /* border-radius: 10px; */
    overflow: hidden;
}

/* LT-specific TotalsSection layout: center the totals area with wide gutters */
.lt-app-content div#TotalsSection {
    /* Remove background and border for LT TotalsSection and align left
       so the block sits against the main content column. Keep a right
       gutter to avoid touching the page edge. */
    background: transparent;
    border: none;
    margin-top: 20px;
    margin-left: 0;    /* move section left */
    margin-right: 150px; /* keep right gutter */
    padding-left: 0;
}

/* Layout TotalsSection as two columns for LT: place PaymentTable strictly
   in the first (left) column. This reserves the right half for any other
   content or spacing and keeps the table confined to the left 50%. */
.lt-app-content div#TotalsSection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.lt-app-content #PaymentTable {
    grid-column: 1 / 2;
    width: 100%;
    justify-self: start;
}
/* Scoped PaymentTable for LT layout */
.lt-app-content #PaymentTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.7;
    margin-left: 30px;
}
.lt-app-content #PaymentTable tr + tr {
    border-top: 1px solid var(--lt-border, #e2ddd3);
}
.lt-app-content #PaymentTable td {
    padding: 18px 22px;
    vertical-align: middle;
}
.lt-app-content #PaymentTable td.First {
    width: auto;
    padding-right: 24px;
}
.lt-app-content #PaymentTable td.First strong {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--lt-text, #23271f);
}
.lt-app-content #PaymentTable td.First .muted {
    display: block;
    margin-top: 6px;
    color: var(--lt-muted, #5c6157);
    font-size: 14px;
    font-weight: 400;
}
.lt-app-content #PaymentTable td.Second {
    text-align: right;
    min-width: 90px;
    font-weight: 700;
    color: var(--lt-text, #23271f);
    white-space: nowrap;
    font-size: 18px;
}
.lt-app-content #PaymentTable #TotalRow td {
    /* remove background colour for total row in LT layout */
    background: transparent;
}
.lt-app-content #PaymentTable #TotalRow td.Second {
    font-size: 20px;
    font-weight: 800;
}

/* Intro paragraph for LT payment section */
.lt-pay-intro {
    margin: 12px 0 20px 30px;
    color: var(--lt-muted, #5c6157);
    font-size: 18px;
    max-width: 720px;
}

/* ---- Submit button styling ---- */
#ContinueButton input[type=image] {
    transition: filter .15s ease;
}
#ContinueButton input[type=image]:hover { filter: brightness(.95); }

/* LandTrust full-width submit button */
#ContinueButton .lt-submit-btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-family: 'Public Sans', 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: #B9BBAE;          /* muted gray-green — unchecked/disabled state */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: background .2s ease, box-shadow .2s ease;
    letter-spacing: .01em;
    margin-top: 20px;
}
#ContinueButton .lt-submit-btn:hover {
    background: #8a9a88;
}
/* Checked / active state — reference button palette */
#ContinueButton .lt-submit-btn.lt-submit-active {
    background: var(--lt-btn-bg, #2f4a34);
    color: var(--lt-btn-text, #fbf9f2);
}
#ContinueButton .lt-submit-btn.lt-submit-active:hover {
    background: var(--lt-btn-bg-hover, #223a2a);
    color: var(--lt-btn-text, #fbf9f2);
    box-shadow: 0 4px 16px rgba(45,74,30,.25);
}

/* Disabled state: match requested muted color and show not-allowed cursor */
#ContinueButton .lt-submit-btn:disabled,
#ContinueButton .lt-submit-btn[disabled] {
    background: #B9BBAE;
    cursor: not-allowed;
    color: #ffffff;
    opacity: 1; /* keep solid color */
}
/* Prevent hover styles from applying when disabled */
#ContinueButton .lt-submit-btn:disabled:hover,
#ContinueButton .lt-submit-btn[disabled]:hover {
    background: #B9BBAE;
}

/* ---- LandTrust disclaimer / agreement row ---- */
.lt-agree-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    text-align: left;
}
.lt-agree-row input[type=checkbox] {
    flex-shrink: 0;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    border-radius: 4px;
    accent-color: var(--lt-green, #2d4a1e);
    cursor: pointer;
}
.lt-agree-row label {
    font-size: 15px;
    font-weight: 600;
    color: var(--lt-text, #23271f);
    cursor: pointer;
    display: inline !important;
}

/* LandTrust disclaimer box — warm tan background */
#SubmitSection .Blurb {
    background: #f5e8c8;
    border: 1px solid #d9c49a;
    border-radius: 12px;
    padding: 20px 24px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    #Application { padding: 28px 20px; margin: 20px 12px; }
    .lt-stepbar li { padding-right: 12px; }
    .lt-app-layout { flex-direction: column; gap: 20px; }
    .lt-app-layout { width: auto; margin-left: 0; transform: none; }
    .lt-app-nav { position: static; flex-basis: auto; width: 100%; }
    .lt-wizard-vert { display: flex; flex-wrap: wrap; border-left: none; }
    .lt-wizard-vert li { margin-left: 0; padding: 6px 12px; border-left: none; }
    .lt-app-hero { padding: 40px 0; }
    .lt-app-hero-inner { width: auto; padding: 0 20px; }
    .lt-app-hero h1 { font-size: 30px; }
}



.dropdselect 
{
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path d='M1 1 L7 7 L13 1' stroke='%23000000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 14px 8px !important;
    padding-right: 54px !important; /* room for decorative arrow */
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
     outline: 0px solid var(--gold) !important; 
     outline-offset: 0px !important; 
}

.quote-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-m);
    padding: 12px 16px;
    font-size: 0.86rem;
    color: var(--ink);
    margin-bottom: 24px;
}

.quote-banner .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}