/* ============================================================
   NFA Landing Page Styles
   File: assets/css/nfa-landing.css
   ============================================================ */

:root {
    --nfa-navy: #0d1f3c;
    --nfa-navy-mid: #1a3a6b;
    --nfa-orange: #FF3E03;
    --nfa-orange-dark: #c04a1e;
    --nfa-green: #1d9e75;
    --nfa-star: #f5a623;
    --nfa-card-radius: 10px;
    --nfa-gap: 16px;
}

/* ════════ HERO ════════ */
/* .nfa-hero {
    background: var(--nfa-navy);
    color: #fff;
    padding: 52px 20px 0;
    text-align: center;
}

.nfa-hero__inner {
    margin: 0 auto;
    position: relative;
    z-index: 99;
}

.nfa-hero__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.2;
}

.nfa-hero__sub {
    font-size: 15px;
    color: #adc4e0;
    margin-bottom: 28px;
    line-height: 1.6;
} */

/* Form bar */
/* .nfa-hero__form-wrap {
    background: var(--nfa-navy-mid);
    border-radius: var(--nfa-card-radius) var(--nfa-card-radius) 0 0;
    padding: 20px 24px 24px;
}

.nfa-hero__fields {
    display: grid;
    grid-template-columns: repeat(7, 14%);
    flex-wrap: nowrap;
    gap: 7px;
    align-items: center;
}

.nfa-hero__input,
.nfa-hero__select {
    flex: 1 1 140px;
    height: 44px;
    border: none;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 13px;
    color: #111;
    background: #fff;
    outline: none;
    transition: box-shadow 0.15s;
}

.nfa-hero__input:focus,
.nfa-hero__select:focus {
    box-shadow: 0 0 0 2px var(--nfa-orange);
}

.nfa-hero__btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 28px;
    background: var(--nfa-orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}

.nfa-hero__btn:hover {
    background: var(--nfa-orange-dark);
}

.nfa-hero__btn:active {
    transform: scale(0.98);
}

.nfa-hero__state-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #ffcc00;
    text-align: left;
}
 */
/* ════════ FILTER BAR ════════ */
.main-banner {
    padding: 181px 20px 62px !important;
}

.nfa-filters {
    background-color: #fff;
    padding: 79px 0 48px 0;
    /*     position: sticky; */
    top: 0;
    z-index: 50;
}

.nfa-filters__inner {
    /*     max-width: 1720px;
    margin: 0 auto; */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nfa-filters__select {
    flex: 1 1 150px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-radius: 10px;
    padding: 18px 20px;
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    line-height: var(--lh-normal);
    text-transform: capitalize;
    color: #0A0A0A;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.nfa-filters__select {
    appearance: none;
    /* Standard */
    -webkit-appearance: none;
    /* Safari */
    -moz-appearance: none;
    /* Firefox */
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M6 9L12 15L18 9' stroke='%230A0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    padding-right: 50px;
    width: stretch;
}

.nfa-filters__select:focus {
    border-color: var(--nfa-navy-mid);
}

/* ── Monthly Sales Number Input ── */
.nfa-filters__input-wrap {
    flex: 1 1 200px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-radius: 10px;
    background: #fff;
    padding: 0 20px;
    transition: border-color 0.15s;
}
.nfa-filters__input-wrap:focus-within {
    border-color: var(--nfa-navy-mid);
}
.nfa-filters__input-prefix {
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    color: #555;
    margin-right: 4px;
    pointer-events: none;
    user-select: none;
}
.nfa-filters__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    color: #0A0A0A;
    background: transparent;
    padding: 18px 0;
    width: 100%;
    -moz-appearance: textfield;
}
.nfa-filters__input::-webkit-outer-spin-button,
.nfa-filters__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nfa-filters__input::placeholder { color: #aaa; font-weight: 400; font-size: 15px; }

/* ── Calculated Credit Line Banner ── */
.nfa-credit-est-banner {
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6b 100%);
    color: #fff;
    padding: 20px 0;
}
.nfa-credit-est-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 32px;
}
.nfa-credit-est-banner__main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.nfa-credit-est-banner__label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    white-space: nowrap;
}
.nfa-credit-est-banner__amount {
    font-size: 28px;
    font-weight: 800;
    color: #7ec8e3;
    white-space: nowrap;
}
.nfa-credit-est-banner__note {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
    flex: 1 1 280px;
}
.nfa-credit-est-banner__note em {
    display: block;
    margin-top: 4px;
    opacity: 0.6;
    font-style: normal;
}

/* ════════ CARDS ════════ */
.nfa-cards {
    background: #fff;
    padding-bottom: 80px;
}

.nfa-cards__inner {
    /*     max-width: 1720px;
    margin: 0 auto; */
    border-radius: var(--radius-10, 10px);
    /* border: 1px solid var(--0-a-0-a-0-a, #0A0A0A); */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nfa-cards__empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 15px;
}

/* Individual card */
.nfa-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    gap: 61px;
    border-radius: var(--nfa-card-radius);
    display: grid;
    grid-template-columns: 447px 1fr 400px;
    overflow: hidden;
    transition: box-shadow 0.2s, opacity 0.2s;
}

.nfa-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Hidden states */
.nfa-card--hidden,
.nfa-card--state-hidden {
    display: none !important;
}

/* Loading shimmer */
.nfa-card--loading {
    opacity: 0.45;
    pointer-events: none;
}

/* LEFT */
.nfa-card__left {
    border-right: 1px solid #e2e8f0;
    padding-right: 27px;
}

.nfa-card__logo-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    /*     margin-bottom: 20px !important; */
    background: var(--nfa-navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfa-card__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nfa-card__logo-placeholder {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.nfa-card__name {
    color: #0A0A0A;
}

.nfa-card__meta-label {
    font-size: var(--fs-16);
    line-height: var(--lh-150);
    color: #0A0A0A;
    font-weight: var(--fw-400);
    letter-spacing: -0.312px;
}

.nfa-card__meta-val {
    font-size: var(--fs-16);
    line-height: var(--lh-150);
    color: #5F5F5F;
    font-weight: var(--fw-400);
}

.nfa-card__divider {
    border: none;
    border-top: 1px solid #5F5F5F;
    margin-top: 12px;
}

.nfa-card__section-title {
    font-size: var(--fs-20);
    font-weight: var(--fw-600);
    line-height: var(--lh-normal);
    color: #0A0A0A;
}

.nfa-card__fact-row {
    display: flex;
    justify-content: space-between;
    color: #0A0A0A;
    font-size: var(--fs-18);
    font-weight: var(--fw-400);
    line-height: var(--lh-166);
    letter-spacing: -0.15px;
}

.nfa-card-fact {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.nfa-card__fact-row span:last-child {
    text-align: right;
}

/* MID */

.nfa-card__tags {
    padding-bottom: 20px;
    line-height: 2;
    border-bottom: 1px solid rgba(95, 95, 95, 0.20);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nfa-card__tag {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.30);
    border-radius: 10px;
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    line-height: var(--lh-125);
    padding: 12px;
    white-space: nowrap;
    /*     margin: 0 4px 0 0; */
    color: #444;
}

.nfa-card__desc {
    font-size: var(--fs-16);
    color: #0A0A0A;
    line-height: var(--lh-150);
}

.nfa-card__cx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: auto;
    padding-bottom: 20px;
}

.nfa-card__stars {
    color: #00D743;
    font-size: 24px;
    letter-spacing: 1px;
}

/* RIGHT */
.nfa-card__right {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 10px;
    background: #EFFFF4;
}

.nfa-card__est-label {
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    line-height: var(--lh-normal);
    color: #0A0A0A;
}

.nfa-card__est-amount {
    /*     font-size: 28px;
    font-weight: 700; */
    color: #0d1f3c;
    padding-bottom: 24px;
    border-bottom: 1px solid #5F5F5F;
}

.nfa-card__rate-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    line-height: var(--lh-150);
    color: #0A0A0A;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(95, 95, 95, 0.40);
}

.nfa-card__percentage-rate {
    border: none !important;
    margin: 0 !important;
}

.nfa-card__percentage-rate:last-child {
    padding-bottom: 24px !important;
}

/* .nfa-card__rate-row span:first-child {
    color: #888;
}

.nfa-card__rate-row span:last-child {
    color: #333;
    font-weight: 600;
} */

.nfa-card__rate-row--total span:first-child {
    color: #555;
    font-weight: 600;
}

.nfa-card__rate-row--total span:last-child {
    color: #0d1f3c;
}

.nfa-card__fee-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-20);
    font-weight: var(--fw-600);
    line-height: var(--lh-normal);
}

.nfa-card__fee-row span:first-child {
    font-weight: 600;
    color: #333;
}

.nfa-card__fee-val {
    color: var(--nfa-green);
    font-weight: 600;
}

.nfa-card__req-btn {
    width: 100%;
    background: var(--nfa-orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 16px 40px;
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    line-height: var(--lh-normal);
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.15s;
}

.nfa-card__req-btn:hover:not(:disabled) {
    background: var(--nfa-orange-dark);
}

.nfa-card__req-btn:disabled {
    cursor: default;
}

.nfa-card__compare {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    line-height: var(--lh-normal);
    color: #0A0A0A;
    cursor: pointer;
    user-select: none;
}

.nfa-card__compare input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* ════════ MODAL ════════ */
.nfa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    /* hidden by default — JS sets display:flex on open */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.nfa-modal {
    background: #fff;
    border-radius: 12px;
    padding: 28px 28px 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
}

.nfa-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /*     margin-bottom: 6px; */
    gap: 12px;
}

.nfa-modal__title {
    font-size: 26px;
    font-weight: 600;
    color: #0A0A0A;
    line-height: normal;
}

.nfa-modal__close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    padding: 0;
    transition: color 0.15s;
}

.nfa-modal__close:hover {
    color: #333;
}

.nfa-modal__sub {
    font-size: var(--fs-16);
    color: #4A5565;
    /*     margin-bottom: 20px; */
}

.nfa-modal__info-box {
    background: #F3F3F5;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
}

.nfa-modal__info-title {
    font-size: var(--fs-20);
    font-weight: 600;
    color: #0d1f3c;
    /*     margin-bottom: 10px; */
}

.nfa-modal__info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 16px;
    font-size: 12.5px;
}

.nfa-modal__info-grid>div span {
    color: #4A5565;
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    line-height: var(--lh-125);
}

.nfa-modal__info-grid>div strong {
    color: #0A0A0A;
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    line-height: var(--lh-125);
}

.nfa-modal__disclosure {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    /*     margin-bottom: 16px; */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nfa-modal__disclosure p {
    color: #5F5F5F;
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    line-height: var(--lh-125);
}

.nfa-modal__disclosure .nfa-modal__info-title {
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    color: #0A0A0A;
    line-height: var(--lh-normal);
}

.nfa-modal__disclosure p:last-child {
    margin-bottom: 0;
}

.nfa-modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /*     margin-bottom: 20px; */
    cursor: pointer;
}

.nfa-modal__consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--nfa-orange);
}

.nfa-modal__consent span {
    font-size: var(--fs-16);
    color: #0A0A0A;
    font-weight: var(--fw-500);
    line-height: 137.5%;
}

.nfa-modal__btns {
    display: flex;
    gap: 12px;
}

.nfa-modal__btn {
    padding: 12px 16px;
    width: 50%;
    /*     flex: 1; */
    /*     height: 44px; */
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.nfa-modal__btn--cancel {
    background: #F3F3F5;
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: #0A0A0A;
}

.nfa-modal__btn--cancel:hover {
    background: #f7f8fa;
}

.nfa-modal__btn--submit {
    /*     flex: 2; */
    background: var(--nfa-orange);
    border: none;
    color: #fff;
    position: relative;
}

.nfa-modal__btn--submit:hover:not(:disabled) {
    background: var(--nfa-orange-dark);
}

.nfa-modal__btn--submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Submit loading spinner */
.nfa-modal__btn--submit.nfa-loading {
    color: transparent;
}

.nfa-modal__btn--submit.nfa-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: nfa-spin 0.7s linear infinite;
}

.nfa-card__mid {
    padding-top: 20px;
    /*     border-top: 1px solid rgba(95, 95, 95, 0.20); */
    display: flex;
    flex-direction: column;
}

@keyframes nfa-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ════════ TOAST ════════ */
.nfa-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0d1f3c;
    color: #fff;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 14px;
    z-index: 99999;
    max-width: 360px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s;
}

.nfa-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.nfa-toast--success {
    background: #1d6e4a;
}

.nfa-toast--error {
    background: #a32d2d;
}
.nfa-card__rate-row--total{
	padding-top:12px;
	border-top:1px solid rgba(95, 95, 95, 0.40) !important;
	gap:10px;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 800px) {
    .nfa-card {
        grid-template-columns: 1fr;
    }

    .nfa-card__left,
    .nfa-card__mid {
        /*         border-right: none; */
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 600px) {
    .nfa-hero__title {
        font-size: 24px;
    }

    .nfa-hero__fields {
        flex-direction: column;
    }

    .nfa-hero__input,
    .nfa-hero__select {
        width: 100%;
        flex: none;
    }

    .nfa-modal__info-grid {
        grid-template-columns: 1fr;
    }

    .nfa-modal__btns {
        flex-direction: column;
    }
}

/* .main-banner{
	padding: 180px 20px 60px 20px !important;
} */

/* .main-banner {
    background: radial-gradient(52.76% 45.54% at 50% 50%, #053068 0%, #000D1D 100%);
    padding: 180px 20px 60px 20px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.main-banner-container {
    max-width: 1720px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.main-banner-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 20px !important;
    line-height: 1.15 !important;
    text-align: center !important;
}

.main-banner-subtitle {
    font-size:  var(--fs-22);
	font-weight: var(--fw-500);
    color: #c8d6e8 !important;
    margin: 0 auto 81px !important;
    line-height: var(--lh-normal);
	padding: 0;
    text-align: center !important;
} */

/* ============================================================
   NFA MODAL + ALGOLIA FIX CSS
   Add to: assets/css/nfa-landing.css (append at bottom)
   ============================================================ */

/*
 * FIX: Modal overlay must use display:flex to center the modal box.
 * The PHP template sets display:none initially — JS sets display:flex on open.
 */
.nfa-modal-overlay {
    display: none;
    /* hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

/* When JS sets display:flex it centers correctly */
.nfa-modal-overlay[style*="flex"] {
    display: flex !important;
}

/* ── Modal scroll on small screens ── */
.nfa-modal {
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

/* ── Algolia search bar ── */
#nfaAlgoliaSearchWrap {
    width: 100%;
    margin-top: 16px;
}

#nfaAlgoliaInput:focus {
    outline: none;
    border-color: #1a3a6b;
    box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

.nfa-algolia-hit:last-child {
    border-bottom: none !important;
    border-radius: 0 0 10px 10px;
}

.nfa-algolia-hit mark,
.nfa-algolia-hit em {
    background: #fff3cd;
    font-style: normal;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
}

/* Sort By active state */
#filterSort:has(option:not([value=""]):checked) {
    border-color: #1a3a6b;
    background-color: #f0f5ff;
}

/* Loading state overlay on cards during filter */
#nfaFilterLoading {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 24px;
    margin: 8px 0;
    font-size: 15px;
    font-weight: 500;
    color: #0d1f3c;
    text-align: center;
}

/* Compare bar bottom spacing when visible */
body.nfa-has-compare-bar .nfa-cards {
    padding-bottom: 80px;
}

/* ── Pagination style ── */
#nfaPagination {
    padding: 32px 0 0;
    gap: 16px;
}

#nfaPrevBtn,
#nfaNextBtn {
    padding: 10px 24px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0d1f3c;
    transition: background 0.15s, border-color 0.15s;
}

#nfaPrevBtn:hover:not(:disabled),
#nfaNextBtn:hover:not(:disabled) {
    background: #f0f5ff;
    border-color: #1a3a6b;
}

#nfaPrevBtn:disabled,
#nfaNextBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ── Request button sent state ── */
.nfa-card__req-btn[disabled] {
    background: #1d9e75 !important;
    cursor: default !important;
    opacity: 1 !important;
}

@media (max-width: 600px) {
    .nfa-modal {
        padding: 20px 16px;
    }

    #nfaAlgoliaSearchWrap {
        max-width: 100%;
    }
}

@media only screen and (max-width:1720px) {
    .nfa-filter-search {
        margin: 0 20px;
    }
}

@media only screen and (max-width:1599px) {
    .nfa-card {
        grid-template-columns: 1fr 2fr 1fr;
    }

    .nfa-hero__fields {
        gap: 15px;
    }

    .nfa-filters {
        padding: 35px 0 35px 0;
    }

    .nfa-filters__select {
        padding: 16px 20px;
    }

    .nfa-cards__inner {
        gap: 30px;
    }

    .nfa-card {
        gap: 40px;
    }

    .nfa-card__right {
        padding: 15px;
    }

    .nfa-card__req-btn {
        padding: 12px 14px;
    }

    .nfa-card__left {
        padding-right: 15px;
    }

    .nfa-card__name {
        font-size: 20px;
    }

    .nfa-card__meta-label,
    .nfa-card__meta-val,
    .nfa-card__desc {
        font-size: 15px;
    }

    .nfa-card-fact {
        gap: 7px;
    }

    .nfa-card__fact-row {
        font-size: 15px;
    }

    .nfa-card__section-title,
    .nfa-card__fee-row {
        font-size: 18px;
    }

    .nfa-card__est-amount {
        font-size: 30px;
    }

    .nfa-card__rate-row {
        font-size: 15px !important;
    }

    .nfa-card__rate-row {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .nfa-card__est-amount {
        padding-bottom: 15px;
    }

    #filterRecourse {
        padding-right: 30px;
    }

    .nfa-modal__title {
        font-size: 24px;
    }

}

@media screen and (max-width:1366px) {
    .nfa-card {
        /* 		    padding: 24px; */
        gap: 25px;
    }

    .nfa-card__right {
        padding: 15px;
    }

    .nfa-card__req-btn {
        padding: 12px 14px;
    }

    .nfa-card__left {
        padding-right: 15px;
    }

    .nfa-card__name {
        font-size: 20px;
    }

    .nfa-card__meta-label,
    .nfa-card__meta-val,
    .nfa-card__desc {
        font-size: 15px;
    }

    .nfa-card-fact {
        gap: 7px;
    }

    .nfa-card__fact-row {
        font-size: 15px;
    }

    .nfa-card__section-title,
    .nfa-card__fee-row {
        font-size: 18px;
    }

    .nfa-card__est-amount {
        font-size: 30px;
    }

    .nfa-card__rate-row {
        font-size: 15px !important;
    }

    .nfa-card__rate-row {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .nfa-card__est-amount {
        padding-bottom: 15px;
    }

    .nfa-cards__inner {
        gap: 25px;
    }

    .nfa-footer {
        padding: 50px 0;
    }

    .nfa-card__tags {
        gap: 10px;
    }
	.nfa-field-error{
		font-size:12px;
	}
}

@media only screen and (max-width:1199px) {
    .nfa-card {
        gap: 30px;
    }

    .nfa-footer {
        padding: 40px 0;
    }
	.nfa-field-error{
		font-size: 11px !important;
	}
}

@media only screen and (max-width:1024px) {
    .nfa-card {
        grid-template-columns: 1fr 2fr;
    }

    .nfa-card> :nth-child(3) {
        grid-column: 1 / -1;
        /* full width */
    }

    /* 	.nfa-card{
		padding: 20px;
	} */
    .nfa-card__right {
        padding: 15px;
    }

    .nfa-footer {
        padding: 30px 0;
    }
	.nfa-hero__fields{
		row-gap: 26px;
		column-gap:10px;
	}
	.nfa-hero__state-hint{
		margin-top: 10px;
	}
}

@media only screen and (max-width:767px) {
    .nfa-card {
        grid-template-columns: 1fr;
    }

    .nfa-card__logo-wrap {
        width: 70%;
        margin: 0 auto;
    }

    .nfa-card__left {
        padding-right: 0;
    }

    /* 	.nfa-card{
		padding:15px;
	} */
    .nfa-card__left,
    .nfa-card__mid {
        border-right: none;
    }

    .nfa-card__left {
        padding-bottom: 20px;
    }

    .nfa-card__mid {
        padding-top: 0 !important;
    }

    .nfa-header__inner {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .nfa-filter-search {
        margin: 0 15px;
    }

    .nfa-modal__title {
        font-size: 20px;
    }

    .nfa-modal {
        padding: 25px;
    }

    .nfa-modal__info-box {
        padding: 15px;
    }

    .nfa-modal__disclosure {
        padding: 15px;
    }
	.main-banner {
    padding: 130px 20px 150px !important;
}

}

@media only screen and (max-width:600px) {
    .nfa-card__logo-wrap {
        width: 100%;
    }

    .nfa-modal__title {
        font-size: 18px;
    }

    .nfa-modal {
        padding: 15px;
    }

    .nfa-modal__btn {
        width: 100%;
    }

    .nfa-modal__btn {
        padding: 10px 16px;
    }

    /* 	    .nfa-hero__form-wrap {
        margin-top: -360px !important;
    }
	.main-banner {
    padding: 181px 20px 290px !important;
} */
}

@media only screen and (max-width:450px) {
    .nfa-hero__form-wrap {
        margin-top: -360px !important;
    }

    .main-banner {
        padding: 181px 20px 290px !important;
    }
}


/* ── Rating Stars (home modal) ── */
.nfa-modal__stars {
    display: flex;
    gap: 4px;
    font-size: 24px;
    color: #D1D5DB;
    cursor: pointer;
}

.nfa-modal__stars span.lit {
    color: #00D743;
}

.nfa-modal__rating-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 600;
}

.nfa-modal__rating-wrap {
    margin-top: 16px;
    margin-bottom: 4px;
}

.nfa-modal__msg.msg--success {
    background: #d1fae5;
    color: #065f46;
}

.nfa-modal__msg.msg--error {
    background: #fee2e2;
    color: #991b1b;
}

/* ══════════════════════════════════════════
   HERO FORM — Per-field inline error styles
══════════════════════════════════════════ */

/* Wrapper for each field + its error span */
.nfa-field-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Error message span shown below the input */
.nfa-field-error {
    display: none;
    /* shown by JS */
    font-size: 13px;
    font-weight: 500;
    color: #f73b3b;
    margin-top: 4px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Input error state */
.nfa-hero__input[style*="EF4444"],
.nfa-hero__input.nfa-input--error {
    border-color: #EF4444 !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Select error state */
.nfa-hero__select[style*="EF4444"] {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* ══════════════════════════════════════════
   HOME MODAL — Rating stars
══════════════════════════════════════════ */
.nfa-modal__stars {
    display: flex;
    gap: 6px;
    font-size: 28px;
    color: #D1D5DB;
    cursor: pointer;
    line-height: 1;
    margin-top: 4px;
}

.nfa-modal__stars span {
    transition: color 0.12s;
    user-select: none;
}

.nfa-modal__stars span:hover,
.nfa-modal__stars span.lit {
    color: #00D743;
}

.nfa-modal__rating-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.nfa-modal__rating-wrap {
    margin-top: 16px;
    margin-bottom: 8px;
}

/* ══════════════════════════════════════════
   HOME MODAL — Success / Error message
══════════════════════════════════════════ */
.nfa-modal__msg {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 4px;
}

.nfa-modal__msg.msg--success {
    background: #d1fae5;
    color: #065f46;
}

.nfa-modal__msg.msg--error {
    background: #fee2e2;
    color: #991b1b;
}