/* (#300) Sign-up in steps — same look as the app sign-up pop-up (includes/nm-app-onboard.php) */
.nss-roles{margin:0 0 14px}
.nss-roles-l{display:block;font-size:11.5px;font-weight:800;color:#64748B;text-transform:uppercase;letter-spacing:.05em;margin-bottom:7px}
.nss-roles-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;margin:0 -2px}
.nss-roles-row::-webkit-scrollbar{display:none}
.nss-role{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:6px 13px 6px 6px;border-radius:99px;border:1.5px solid #E2E8F0;background:#fff;color:#334155;font:700 13px Inter,system-ui,sans-serif;text-decoration:none;transition:border-color .2s,box-shadow .2s,background .2s}
.nss-role i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center}
.nss-role svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nss-role.r-buyer i{background:#EFF6FF;color:#2563EB}.nss-role.r-owner i{background:#ECFDF5;color:#059669}.nss-role.r-agent i{background:#FFF7ED;color:#EA580C}
.nss-role.r-developer i{background:#F5F3FF;color:#7C3AED}.nss-role.r-professional i{background:#FDF2F8;color:#DB2777}
.nss-role:hover{border-color:#BFDBFE}
.nss-role.on{border-color:#2563EB;background:#EFF6FF;color:#1D4ED8;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.nss-role.on i{background:#2563EB;color:#fff}

/* header: dots + "Step 1 of 4" + step title */
.nss-head{position:relative;margin:4px 0 14px;padding:14px 14px 12px;border-radius:16px;background:linear-gradient(135deg,#EFF6FF,#F5F3FF);border:1px solid #DBEAFE}
.nss-dots{display:flex;gap:6px;margin-bottom:8px;padding-right:86px}
.nss-dots i{height:6px;flex:1;max-width:46px;border-radius:9px;background:#CBD5E1;transition:background .3s,flex .3s}
.nss-dots i.done{background:#93C5FD}.nss-dots i.on{background:#2563EB;flex:1.6}
.nss-count{position:absolute;top:12px;right:14px;font:700 11.5px Inter,system-ui,sans-serif;color:#64748B}
.nss-st b{display:block;font:800 16.5px Poppins,Inter,sans-serif;color:#0F172A}
.nss-st small{display:block;font-size:12.5px;color:#475569;margin-top:2px;line-height:1.4}

/* steps */
.nss-on .nss-step[hidden]{display:none}
.nss-step.in{animation:nssIn .35s cubic-bezier(.2,.8,.2,1)}.nss-step.bk{animation:nssBk .35s cubic-bezier(.2,.8,.2,1)}
@keyframes nssIn{from{opacity:0;translate:22px 0}to{opacity:1;translate:0 0}}
@keyframes nssBk{from{opacity:0;translate:-22px 0}to{opacity:1;translate:0 0}}
.nss-on .nss-step > label,.nss-on .nss-step > .nss-auto{display:block;font-size:12.5px;font-weight:700;color:#334155;margin:12px 0 6px}
.nss-on .nss-step > label:first-child{margin-top:0}
.nss-on .nss-step input:not([type=radio]):not([type=checkbox]):not([type=file]),.nss-on .nss-step select,.nss-on .nss-step textarea{height:48px;border:1.5px solid #D5DBE7;border-radius:14px;padding:0 14px;font-size:15px;font-weight:600;color:#0F172A;background:#fff;width:100%;box-sizing:border-box;margin:0}
.nss-on .nss-step textarea{height:auto;min-height:90px;padding:12px 14px;font-weight:500}
.nss-on .nss-step input:focus,.nss-on .nss-step select:focus,.nss-on .nss-step textarea:focus{outline:0;border-color:#2563EB;box-shadow:0 0 0 4px rgba(37,99,235,.13)}
.nss-on .nss-step input[type=file]{width:100%;padding:12px;border:1.5px dashed #BFDBFE;border-radius:14px;background:#F8FAFF;font-size:13px;box-sizing:border-box}
.nss-on .nss-step small{display:block;margin:6px 0 0!important}
.nss-on .nss-step p.muted{margin:12px 0 0!important;padding:10px 12px;border-radius:12px;background:#F0FDF4;color:#166534!important}

/* buttons */
.nss-nav{display:flex;align-items:center;gap:10px;margin-top:18px}
.nss-back{flex:0 0 auto;height:50px;padding:0 16px;border-radius:15px;border:1.5px solid #E2E8F0;background:#fff;color:#334155;font:700 14px Inter,system-ui,sans-serif;cursor:pointer}
.nss-next,.nss-on .nss-submit{flex:1;height:52px;border:0;border-radius:15px;background:linear-gradient(135deg,#2563EB,#1D4ED8)!important;color:#fff!important;font:800 16px Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 12px 26px -12px rgba(37,99,235,.9);display:flex;align-items:center;justify-content:center;gap:8px;margin:0!important;width:auto!important}
.nss-next span{transition:translate .2s}.nss-next:active span{translate:4px 0}
.nss-next[hidden],.nss-on .nss-submit[hidden]{display:none!important}

/* OTP screen header (last step) */
.nss-otp{margin-bottom:16px}
@media (prefers-reduced-motion:reduce){.nss-step.in,.nss-step.bk{animation:none}}
.nss-on .nss-step > [hidden]{display:none!important}
.nss-back[hidden]{display:none}

/* (#301) inside the app sign-up pop-up (iframe ?embed=1): only the form — the pop-up has its own title */
body.embed-mode{background:#fff!important;margin:0;padding:0!important}
body.embed-mode .hv2-auth-wrap{padding:2px 2px 8px!important;background:none!important;min-height:0!important;display:block!important}
body.embed-mode .hv2-auth-card{box-shadow:none!important;padding:0!important;max-width:none!important;border:0!important;margin:0!important;background:none!important}
body.embed-mode .hv2-auth-icon,body.embed-mode .nss-roles,body.embed-mode .nss-roles ~ h2,body.embed-mode .nss-roles ~ .hv2-auth-sub,
body.embed-mode .nss-otp ~ h2,body.embed-mode .hv2-auth-divider,body.embed-mode .hv2-auth-divider + .hv2-auth-links{display:none!important}
body.embed-mode .nss-head{margin-top:0}
body.embed-mode main.main-content{padding:0!important;margin:0!important;max-width:none!important}
