.loannex-eligibility-wrap {
	max-width: 1000px;
	margin: 0 auto 2rem;
	width:100%
}

.loannex-eligibility {
	font-size: 1rem;
	line-height: 1.45;
	width:100%;
}

.loannex-eligibility__heading {
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.loannex-eligibility__group-title {
	margin: 1.25rem 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #50575e;
}

.loannex-eligibility__form > .loannex-eligibility__group-title:first-of-type {
	margin-top: 0;
}

.loannex-eligibility__scenarios {
	margin-bottom: 1.25rem;
	padding: 0.75rem 1rem;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.loannex-eligibility__label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.loannex-eligibility__select {
	min-width: min(100%, 320px);
}

.loannex-eligibility__hint {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: #50575e;
}

.loannex-eligibility__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	align-items: flex-start;
}

.loannex-eligibility__grid > .loannex-eligibility__field {
	flex: 1 1 220px;
	min-width: 0;
	box-sizing: border-box;
}

@media (min-width: 600px) {
	/* Two columns, row order: field 1 | field 2, … If count is odd, the last field stays in the left column only. */
	.loannex-eligibility__grid--two-cols {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-auto-flow: row;
		gap: 1rem 1.25rem;
		align-items: start;
	}

	.loannex-eligibility__grid--two-cols > .loannex-eligibility__field {
		flex: none;
		max-width: none;
		min-width: 0;
	}

	.loannex-eligibility__grid--two-cols > .loannex-eligibility__field--full-span {
		grid-column: 1 / -1;
	}

	.loannex-eligibility__grid--two-cols > .loannex-eligibility__field[hidden] {
		display: none;
	}
}

@media (max-width: 599px) {
	.loannex-eligibility__grid--two-cols {
		display: flex;
		flex-wrap: wrap;
	}

	.loannex-eligibility__grid--two-cols > .loannex-eligibility__field:not(.loannex-eligibility__field--full-span) {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* Legacy markup from older JS column split (removed in 1.5.5). */
.loannex-eligibility__grid-cols,
.loannex-eligibility__col {
	display: contents;
}

.loannex-eligibility__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: #fff;
}

.loannex-eligibility__field-note {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: #50575e;
}

/* Legacy: layout spacers removed from markup; hide if present in cached HTML */
.loannex-eligibility__grid-spacer,
.loannex-eligibility__scenario-grid-spacer {
	display: none !important;
}

.loannex-eligibility__affix {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.loannex-eligibility__affix .loannex-eligibility__affix-symbol {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding: 0 0.55rem;
	font-weight: 600;
	color: #50575e;
	background: #f0f0f1;
	border: 1px solid #8c8f94;
	border-right: none;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	line-height: 1;
}

.loannex-eligibility__affix.loannex-eligibility__affix--suffix .loannex-eligibility__affix-symbol {
	border-right: 1px solid #8c8f94;
	border-left: none;
	border-radius: 0 2px 2px 0;
}

.loannex-eligibility__affix input {
	flex: 1 1 auto;
	min-width: 0;
	border-radius: 0 2px 2px 0;
	border: 1px solid #8c8f94;
}

.loannex-eligibility__affix.loannex-eligibility__affix--suffix input {
	border-radius: 2px 0 0 2px;
	border-right-width: 0;
}

.loannex-eligibility__affix.loannex-eligibility__affix--suffix .loannex-eligibility__affix-symbol {
	border-left-width: 0;
	border-right: 1px solid #8c8f94;
}

.loannex-eligibility__field input,
.loannex-eligibility__field select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.45rem 0.5rem;
}

.loannex-eligibility__field .required {
	color: #b32d2e;
}

.loannex-eligibility__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	margin-top: 2.5rem;
}

.loannex-eligibility__submit {
	padding: 0.6rem 1.25rem;
	outline: none;
	border: none;
	cursor: pointer;
}

.loannex-eligibility__status {
	font-size: 0.95rem;
	color: #ffffff;
}

.loannex-eligibility-wrap .loannex-results {
	margin-top: 1.5rem;
}

.loannex-results__heading {
	margin-bottom: 0.75rem;
	font-size: 1.5rem !important;
	color: #fff !important;
}

.loannex-results__banner {
	padding: 0.5rem 0.75rem;
	margin-bottom: 0.75rem;
	background: #fff8e5;
	border: 1px solid #f0c33c;
	border-radius: 4px;
	font-size: 0.9rem;
}

.loannex-results__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.loannex-results__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin-top:6px;
	background-color: #fff;
	border-radius: 10px;
    overflow: hidden;
    font-family: var(--e-global-typography-secondary-font-weight);
}
.loannex-results__table th,
.loannex-results__table td {
	border: 1px solid #dcdcde;
	padding: 0.8rem 0.6rem;
	text-align: left;
	vertical-align: top;
}

.loannex-results__table td a{
	padding: 0px !important;
}

/* Results table thead: white text (dark bg for contrast). */
.loannex-results__table thead th {
	background: var(--e-global-color-text);;
	color: #fff;
	font-weight: 600;
	border-color: #3c434a;
}

.loannex-results__table tbody th {
	font-weight: 600;
}

.loannex-results__table tbody td {
	background: #fff;
	color: #1d2327;
}

.loannex-results__section td {
	padding: 0.45rem 0.6rem;
	font-weight: 600;
	background: #e8eaed;
	color: #1d2327;
}

.loannex-results__section--multi-column {

	font-weight: 600 !important;
}

.loannex-results__table thead th:first-child,
.loannex-results__table tbody tr:not(.loannex-results__row--ineligible-reasons) > td:first-child {
	width: 1%;
	white-space: nowrap;
}

.loannex-results__prog-title {
	font-size: 1em;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
}

.loannex-results__prog-subtitle {
	font-size: 0.85em;
	margin-top: 0.25rem;
	line-height: 1.25;
	color: #50575e;
}

.loannex-results__loan-products {
	font-size: 0.88rem;
	line-height: 1.35;
	max-width: 18rem;
}

.loannex-results__best-price-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.4rem;
	padding: 0.15rem 0.4rem 0.15rem 0.3rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #002d56;
	background-color: #D7EDDC;
	border: 2px solid #03BF70;
	border-radius: 4px;
	white-space: nowrap;
}

.loannex-results__best-price-badge-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	font-size: 1rem;
	line-height: 1;
	color: inherit;
}

.loannex-results__credit-events {
	font-size: 0.88rem;
	line-height: 1.35;
	max-width: 22rem;
}

.loannex-results__view-link {
	color: #135e96;
	font-weight: 600;
	text-decoration: none;
}

.loannex-results__view-link:hover {
	text-decoration: underline;
	color: #0a4b78;
}

.loannex-results__row--exception td {
	box-shadow: inset 3px 0 0 0 #c35600;
}

.loannex-results__ineligible-heading {
	margin: 1.25rem 0 0.5rem;
	font-size: 1rem !important;
	font-weight: 600;
	color: var(--e-global-color-primary) !important;
}

.loannex-results__table-wrap--ineligible {
	margin-top: 0;
}

.loannex-results__row--ineligible-reasons td {
	padding: 0.5rem 0.75rem 0.75rem;
	background: #f9f9f9;
	border-top: none;
	vertical-align: top;
}

.loannex-results__reason-cell {
	padding-left: 1.5rem !important;
}

.loannex-results__reason-label {
	font-weight: 600;
	color: #1d2327;
}

.loannex-results__reason-list {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #50575e;
}

.loannex-results__reason-list li {
	margin-bottom: 0.25rem;
}

.loannex-results__failures {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	background: #f6f7f7;
	border-radius: 4px;
}

.loannex-results__failures ul {
	margin: 0.5rem 0 0 1.25rem;
	padding: 0;
}

.loannex-results__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	margin-top: 1.5rem;
}

.loannex-results__cta {
	display: inline-block;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-ecb2579);
	font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 6px;
}

.loannex-results__cta:hover,
.loannex-results__cta:focus {
	text-decoration: none;
}

@media (max-width: 375px) {
	.loannex-eligibility__grid > .loannex-eligibility__field {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* —— Float labels (opt-in from Settings) —— */
.loannex-eligibility--float-labels .loannex-eligibility__field--scenarios-pick,
.loannex-eligibility--float-labels .loannex-eligibility__field--float {
	position: relative;
	padding-top: 0.25rem;
	z-index: 0;
}

.loannex-eligibility--float-labels .loannex-eligibility__field--float > label,
.loannex-eligibility--float-labels .loannex-eligibility__field--scenarios-pick > .loannex-eligibility__label--over-field {
	display: block;
	margin: 0;
	position: absolute;
	left: 0.5rem;
	right: auto;
	top: 50%;
	transform: translateY(-0.1rem) scale(1);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	color: #999;
	pointer-events: none;
	z-index: 1;
	transform-origin: left top;
	transition:
		top 0.2s ease,
		transform 0.2s ease,
		font-size 0.2s ease,
		color 0.2s ease;
}

.loannex-eligibility--float-labels .loannex-eligibility__field--scenarios-pick {
	min-height: 2.75rem;
}

.loannex-eligibility--float-labels .loannex-eligibility__scenarios--float {
	padding-top: 0.25rem;
}

.loannex-eligibility--float-labels .loannex-eligibility__control,
.loannex-eligibility--float-labels .loannex-eligibility__select.loannex-eligibility__control {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	appearance: auto;
	-webkit-appearance: auto;
	-moz-appearance: auto;
}

.loannex-eligibility--float-labels .loannex-eligibility__field--float .loannex-eligibility__control,
.loannex-eligibility--float-labels .loannex-eligibility__field--float .loannex-eligibility__select,
.loannex-eligibility--float-labels .loannex-eligibility__field--scenarios-pick .loannex-eligibility__select {
	padding: 0.9rem 0.5rem 0.4rem;
	min-height: 2.65rem;
}

/* Floated (filled or focused) label state */
.loannex-eligibility--float-labels .loannex-eligibility__field--float:focus-within > label,
.loannex-eligibility--float-labels .loannex-eligibility__field--float.loannex-eligibility__field--float-filled > label,
.loannex-eligibility--float-labels
	.loannex-eligibility__field--scenarios-pick:focus-within
	> .loannex-eligibility__label--over-field,
.loannex-eligibility--float-labels
	.loannex-eligibility__field--scenarios-pick.loannex-eligibility__field--float-filled
	> .loannex-eligibility__label--over-field {
	top: 0.1rem;
	transform: translateY(0) scale(0.8);
	font-size: 0.7rem;
	color: #999;
}

@supports not selector(:has(*)) {
	.loannex-eligibility--float-labels .loannex-eligibility__field--float.loannex-eligibility__field--float-filled > label {
		top: 0.1rem;
		transform: translateY(0) scale(0.8);
		font-size: 0.7rem;
		color: #999;
	}
}

.loannex-results__success-banner {
   margin-bottom: 1rem;
   padding: 0 1rem;
}

.loannex-results__success-banner a:hover {
	color: var(--e-global-color-2a758a9) !important;
}

.loannex-results__success-banner-body-container {
	background: #dfe1e4;
	padding: 1rem;
	border-radius: 10px;
}

.loannex-results__success-banner-body-container h3 {
	color: var(--e-global-color-primary) !important;
}

.loannex-results__success-banner-body-container h4 {
	color: var(--e-global-color-primary) !important;
}

.loannex-results__success-banner-body {
	margin-top: 0.5rem;
	color: #fff;
}

.loannex-results__success-banner-body > :first-child {
	margin-top: 0;
}

.loannex-results__success-banner-body > :last-child {
	margin-bottom: 0;
}

.loannex-results__success-banner-body p,
.loannex-results__success-banner-body ul,
.loannex-results__success-banner-body ol {
	margin: 0.5rem 0 0;
}

.loannex-results__success-banner-body a {
	color: inherit;
	text-decoration: underline;
}

.loannex-results.loannex-results--obscured .loannex-results__success-banner-body-container,
.loannex-results.loannex-results--obscured .loannex-results__ctas {
	filter: blur(6px);
	pointer-events: none;
	user-select: none;
}

.loannex-email-gate {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.loannex-email-gate[hidden] {
	display: none !important;
}

.loannex-email-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.loannex-email-gate__dialog {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
	background: #fff;
	border-radius: 10px;
	padding: 1.25rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.loannex-email-gate__title {
	margin: 0;
	font-size: 1.35rem !important;
	color: #1d2327 !important;
}

.loannex-email-gate__message {
	margin: 0.6rem 0 1rem;
	white-space: pre-line;
	color: #50575e;
}

.loannex-email-gate__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.loannex-email-gate__fields {
	display: flex;
	gap: 0.6rem;
	align-items: stretch;
}

.loannex-email-gate__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.6rem 0.65rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
}

.loannex-email-gate__submit {
	flex: 0 0 auto;
	padding: 0.6rem 1rem;
	border: 0;
	border-radius: 6px;
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-ecb2579);
	cursor: pointer;
}

.loannex-email-gate__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.loannex-email-gate__send-results {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #50575e;
	cursor: pointer;
}

.loannex-email-gate__send-results[hidden] {
	display: none !important;
}

.loannex-email-gate__send-results input {
	margin: 0.15rem 0 0;
	flex: 0 0 auto;
}

.loannex-email-gate__offer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}

.loannex-email-gate__offer-actions[hidden] {
	display: none !important;
}

.loannex-email-gate__offer-no {
	padding: 0.6rem 1rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	cursor: pointer;
}

.loannex-email-gate__offer-no:disabled {
	opacity: 0.65;
	cursor: wait;
}

.loannex-email-gate__fields[hidden] {
	display: none !important;
}

.loannex-email-gate__error {
	margin: 0.75rem 0 0;
	color: #b32d2e;
	font-weight: 600;
}

@media (max-width: 640px) {
	.loannex-email-gate__fields {
		flex-direction: column;
	}
}