/* All selectors are scoped to the Apply Now popup. */
#hfl-loan-modal, #hfl-loan-modal *, #hfl-loan-modal *::before, #hfl-loan-modal *::after{box-sizing:border-box}
#hfl-loan-modal [hidden],#hfl-loan-modal[hidden]{display:none!important}
body.hfl-loan-open{overflow:hidden}
.hfl-loan-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;font-family:inherit}
.hfl-loan-backdrop{position:absolute;inset:0;background:rgba(6,30,24,.7);backdrop-filter:blur(5px)}
.hfl-loan-dialog{position:relative;width:min(680px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;border-radius:24px;background:#fffdf8;box-shadow:0 30px 100px #041c1855;animation:hflLoanOpen .3s ease}
.hfl-loan-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:27px 30px;background:linear-gradient(135deg,#143c35,#2e4c43);color:#fff}
.hfl-loan-eyebrow{display:block;color:#f4d878;font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:8px}
.hfl-loan-header h2{font-family:inherit;font-size:22px;line-height:1.35;color:#fff;margin:0}
.hfl-loan-close{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#ffffff10;color:#fff;font-size:25px;cursor:pointer}
.hfl-loan-progress{display:flex;justify-content:space-between;gap:8px;list-style:none;margin:0;padding:22px 30px;border-bottom:1px solid #e5ebe4;background:#f3f6ef}
.hfl-loan-progress li{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#65766b}
.hfl-loan-progress li>span{display:grid;place-items:center;width:27px;height:27px;border:1px solid #cad6ca;border-radius:50%;font-size:11px;background:#fff}
.hfl-loan-progress li.is-current{color:#143c35}
.hfl-loan-progress li.is-current>span{background:#2e4c43;color:#fff;border-color:#2e4c43;box-shadow:0 0 0 4px #2e4c4310}
.hfl-loan-progress li.is-complete>span{background:#e8efd8;border-color:#c1ceaa;color:#2e4c43}
#hfl-loan-form{padding:26px 30px 24px}
.hfl-loan-step h3,.hfl-loan-success h3{margin:0 0 10px;color:#143c35;font-family:inherit;font-size:24px;font-weight:800;line-height:1.35}
.hfl-loan-step>p,.hfl-loan-welcome p,.hfl-loan-success p{color:#627368;font-size:13px;line-height:1.8;margin:0 0 20px}
.hfl-loan-welcome{text-align:center;margin-bottom:25px}
.hfl-namaste{display:grid;place-items:center;width:94px;height:94px;margin:0 auto 18px;border-radius:28px;background:linear-gradient(135deg,#f4e8c8,#f8f3e8);font-size:54px;line-height:1;box-shadow:inset 0 0 0 1px #d9ae3830}
.hfl-loan-kicker{display:block;color:#82651e;font-size:10px;letter-spacing:.14em;font-weight:800;margin-bottom:10px}
#hfl-loan-form label:not(.hfl-loan-category):not(.hfl-loan-agree){display:block;margin:16px 0 7px;font-size:12px;font-weight:700;text-transform:none;letter-spacing:normal;color:#2e4c43}
#hfl-loan-form label>span:not(.hfl-loan-category-card){color:inherit}
#hfl-loan-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]),#hfl-loan-form textarea{display:block;width:100%;margin:0;padding:13px 14px;border:1px solid #d7e1d6;border-radius:11px;background:#fff;color:#203c30;font:inherit;font-size:14px;outline:none}
#hfl-loan-form textarea{resize:vertical;min-height:95px}
#hfl-loan-form input:focus,#hfl-loan-form textarea:focus{border-color:#2e4c43;box-shadow:0 0 0 3px #2e4c4312}
.hfl-loan-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0;margin:20px 0 0;padding:0;min-width:0}
#hfl-loan-form .hfl-loan-category{position:relative;display:block;margin:0;font:inherit;letter-spacing:normal;text-transform:none;cursor:pointer}
.hfl-loan-category input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0}
.hfl-loan-category-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:146px;height:100%;padding:18px 12px;border:1px solid #dce5da;border-radius:16px;background:#fff;text-align:center;transition:border-color .2s,background .2s,transform .2s}
.hfl-loan-category-card strong{font-size:12px;line-height:1.5;color:#2e4c43;overflow-wrap:anywhere}
.hfl-loan-category-icon{display:grid;place-items:center;width:57px;height:57px;padding:11px;border-radius:16px;background:linear-gradient(135deg,#143c35,#2e4c43);color:#f4d878;font-size:25px}
.hfl-loan-category-icon img,.hfl-loan-category-icon svg{display:block;width:100%;height:100%;object-fit:contain}
.hfl-loan-category-check{position:absolute;right:8px;top:7px;color:#2e4c43;opacity:0;font-size:14px}
.hfl-loan-category input:checked+.hfl-loan-category-card{border-color:#2e4c43;background:#f0f5e9;box-shadow:0 0 0 1px #2e4c43}
.hfl-loan-category input:checked+.hfl-loan-category-card .hfl-loan-category-check{opacity:1}
.hfl-loan-category input:focus-visible+.hfl-loan-category-card{outline:3px solid #b38d2e;outline-offset:3px}
.hfl-loan-terms{margin-top:16px;padding:20px;border:1px solid #e3e8dc;border-radius:14px;background:#f6f7ef;color:#465d4e;font-size:13px;line-height:1.85}
.hfl-loan-terms p{margin:0 0 12px}.hfl-loan-terms ul{margin:0;padding-left:20px}.hfl-loan-terms li{margin-bottom:10px}.hfl-loan-terms li:last-child{margin-bottom:0}
#hfl-loan-form .hfl-loan-agree{display:flex;align-items:flex-start;gap:10px;padding:16px 0 0;margin:0;color:#2e4c43;font-size:13px;font-weight:700;text-transform:none;letter-spacing:normal;cursor:pointer}
#hfl-loan-form .hfl-loan-agree input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;padding:0;accent-color:#2e4c43}
.hfl-loan-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hfl-loan-actions{display:flex;align-items:center;gap:12px;margin-top:27px;padding-top:20px;border-top:1px solid #e2e8dd}
.hfl-loan-next,.hfl-loan-back{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;border:1px solid transparent;border-radius:10px;font:inherit;font-size:12px;font-weight:800;line-height:1.5;cursor:pointer}
.hfl-loan-next{background:#2e4c43;color:#fff}.hfl-loan-next:hover{background:#143c35}.hfl-loan-back{background:#eef3e9;color:#2e4c43;border-color:#dce5d5}
.hfl-loan-step-count{flex:1;color:#748074;font-size:11px}
#hfl-loan-modal button:disabled{opacity:.55;cursor:wait}
#hfl-loan-modal button:focus-visible,#hfl-loan-modal [tabindex]:focus-visible{outline:3px solid #b38d2e;outline-offset:3px}
.hfl-loan-error{margin-bottom:20px;padding:13px 15px;border:1px solid #efc5bb;border-radius:10px;background:#fff0eb;color:#8a3027;font-size:13px;line-height:1.6}
.hfl-loan-success{padding:40px 30px;text-align:center}
.hfl-loan-success-icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 22px;border-radius:50%;background:#e6efdc;color:#2e4c43;font-size:36px}
.hfl-loan-success .hfl-loan-reference{font-size:11px;overflow-wrap:anywhere}.hfl-loan-reference strong{display:block;color:#2e4c43;margin-top:5px}
.hfl-loan-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hfl-loan-no-categories{grid-column:1/-1;color:#627368;font-size:13px}
@keyframes hflLoanOpen{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:575px){.hfl-loan-modal{padding:12px}.hfl-loan-dialog{max-height:calc(100dvh - 24px);border-radius:18px}.hfl-loan-header{padding:22px 20px}.hfl-loan-header h2{font-size:19px}.hfl-loan-progress{padding:18px 16px;gap:5px}.hfl-loan-progress li{flex-direction:column;gap:6px;font-size:9px}.hfl-loan-progress li>span{width:25px;height:25px}#hfl-loan-form{padding:22px 20px}.hfl-loan-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hfl-loan-category-card{min-height:135px}.hfl-loan-fields{grid-template-columns:1fr;gap:0}.hfl-loan-step h3,.hfl-loan-success h3{font-size:22px}.hfl-loan-actions{flex-wrap:wrap;gap:10px}.hfl-loan-next,.hfl-loan-back{padding:12px 14px}.hfl-loan-terms{padding:16px}}
@media(prefers-reduced-motion:reduce){#hfl-loan-modal *{animation:none!important;transition:none!important}}
