
.nfsh-wrap{--gold:var(--nfsh-primary,#c99a3c);--gold-dark:#a97722;--text:#222;--muted:#777;max-width:820px;margin:30px auto;padding:0 14px;font-family:inherit;color:var(--text)}
.nfsh-wrap *{box-sizing:border-box}
.nfsh-head{text-align:center;margin-bottom:20px}
.nfsh-brand{color:var(--gold);font-size:12px;letter-spacing:2px}
.nfsh-head h2{margin:5px 0 7px;font-size:30px;font-weight:800}
.nfsh-head p{margin:0;color:var(--muted);font-size:14px}
.nfsh-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:520px;margin:0 auto 24px;background:#f7f4ee;padding:6px;border-radius:12px}
.nfsh-tab{border:0;background:transparent;border-radius:9px;padding:11px 14px;font-family:inherit;font-weight:700;cursor:pointer;color:#666}
.nfsh-tab.active{background:#fff;color:#222;box-shadow:0 3px 12px rgba(0,0,0,.06)}
.nfsh-tab-panel[hidden]{display:none!important}
.nfsh-steps{display:flex;align-items:flex-start;justify-content:center;margin-bottom:24px}
.nfsh-step{min-width:145px;text-align:center;transition:.25s}
.nfsh-step span{width:38px;height:38px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;border-radius:50%;background:#d9d9d9;color:#fff;font-weight:800}
.nfsh-step.active span,.nfsh-step.done span{background:linear-gradient(135deg,#d8ad52,#b67f21)}
.nfsh-step b{font-size:13px;color:#777}.nfsh-step.active b,.nfsh-step.done b{color:#333}
.nfsh-line{width:210px;height:38px;display:flex;align-items:center}.nfsh-line:before{content:"";width:100%;height:2px;background:#ddd}
.nfsh-card{background:#fff;border:1px solid #eee9e0;border-radius:18px;padding:34px 46px;box-shadow:0 10px 35px rgba(0,0,0,.06);text-align:center}
.nfsh-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;border-radius:50%;background:#f8f0df;color:var(--gold);font-size:22px}
.nfsh-card h3{margin:0 0 7px;font-size:22px}.nfsh-card>p{color:#777;font-size:13px;line-height:2;margin:0 0 24px}
.nfsh-card label{display:block;text-align:right;margin:12px 0 7px;font-size:13px;font-weight:700}
.nfsh-row{display:grid;grid-template-columns:1fr 160px;gap:10px}
.nfsh-mobile,.nfsh-code,.nfsh-reset-mobile,.nfsh-reset-code,.nfsh-register-form input,.nfsh-reset-password-form input{width:100%;height:50px;padding:0 14px;border:1px solid #ddd9d1;border-radius:9px;outline:none;font-family:inherit;font-size:14px}
.nfsh-mobile:focus,.nfsh-code:focus,.nfsh-reset-mobile:focus,.nfsh-reset-code:focus,.nfsh-register-form input:focus,.nfsh-reset-password-form input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,154,56,.12)}
.nfsh-send,.nfsh-verify,.nfsh-register-submit,.nfsh-reset-send,.nfsh-reset-verify,.nfsh-reset-password-submit,.nfsh-products-button,.nfsh-account-button{border:0;border-radius:9px;background:#222;color:#fff;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:50px;text-decoration:none}
.nfsh-send:hover,.nfsh-verify:hover,.nfsh-register-submit:hover,.nfsh-reset-send:hover,.nfsh-reset-verify:hover,.nfsh-reset-password-submit:hover,.nfsh-products-button:hover,.nfsh-account-button:hover{background:var(--gold);color:#fff}
.nfsh-send:disabled,.nfsh-verify:disabled,.nfsh-register-submit:disabled,.nfsh-reset-send:disabled,.nfsh-reset-verify:disabled,.nfsh-reset-password-submit:disabled{opacity:.55;cursor:not-allowed}
.nfsh-code-box,.nfsh-reset-code-box{margin-top:20px;text-align:right}
.nfsh-code-box[hidden],.nfsh-panel[hidden],.nfsh-reset-code-box[hidden],.nfsh-reset-panel[hidden]{display:none!important}
.nfsh-verify,.nfsh-reset-verify,.nfsh-register-submit,.nfsh-reset-password-submit{width:100%;margin-top:12px}
.nfsh-resend-row{margin-top:13px;text-align:center;font-size:12px;color:#777}
.nfsh-resend,.nfsh-reset-resend{border:0;background:transparent;color:var(--gold-dark);font-family:inherit;font-weight:700;cursor:pointer}
.nfsh-message,.nfsh-register-message,.nfsh-reset-message,.nfsh-reset-password-message{min-height:22px;margin-top:15px;font-size:12px;line-height:1.9}
.nfsh-message.success,.nfsh-register-message.success,.nfsh-reset-message.success,.nfsh-reset-password-message.success{color:#2d7b45}
.nfsh-message.error,.nfsh-register-message.error,.nfsh-reset-message.error,.nfsh-reset-password-message.error{color:#b43939}
.nfsh-success{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf8f0;color:#2f8a4d;font-size:28px;font-weight:900}
.nfsh-verified-mobile{margin:0 auto 20px;display:inline-block;padding:8px 13px;border-radius:8px;background:#faf7ef;color:#7c6736;direction:ltr}
.nfsh-register-form,.nfsh-reset-password-form{text-align:right;margin-top:5px}
.nfsh-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.nfsh-final-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:15px}
.nfsh-products-button,.nfsh-account-button{display:inline-flex;align-items:center;justify-content:center;padding:0 28px}
.nfsh-account-button{background:#f5f1e8;color:#6f5423}
.nfsh-login{max-width:600px;margin:30px auto;padding:20px;text-align:center;background:#fff;border:1px solid #eee;border-radius:12px}
.nfsh-login a{color:#b7832c}
@media(max-width:650px){
    .nfsh-wrap{padding:0 9px;margin:18px auto}
    .nfsh-head h2{font-size:25px}
    .nfsh-card{padding:24px 16px;border-radius:14px}
    .nfsh-step{min-width:96px}
    .nfsh-line{width:58px}
    .nfsh-step b{font-size:11px}
    .nfsh-row,.nfsh-form-grid{grid-template-columns:1fr}
    .nfsh-send,.nfsh-reset-send{min-height:46px}
    .nfsh-tabs{max-width:none}
    .nfsh-products-button,.nfsh-account-button{width:100%}
}


/* v0.5.0 refinements */
.woocommerce-account .nfsh-wrap{max-width:860px}
.woocommerce-account .woocommerce{max-width:1180px;margin-inline:auto}
.nfsh-card{backdrop-filter:saturate(120%) blur(1px)}
.nfsh-tab{transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.nfsh-card input::placeholder{color:#aaa}
.nfsh-card input[aria-invalid="true"]{border-color:#b43939;box-shadow:0 0 0 3px rgba(180,57,57,.08)}
.nfsh-inline-note{margin-top:10px;font-size:12px;color:#777;line-height:1.9}
.nfsh-message:empty,.nfsh-register-message:empty,.nfsh-reset-message:empty,.nfsh-reset-password-message:empty{min-height:0;margin-top:0}
@media(max-width:650px){
  .woocommerce-account .nfsh-wrap{width:100%}
  .nfsh-head p{font-size:12px;line-height:1.9}
  .nfsh-tabs{position:sticky;top:8px;z-index:3}
  .nfsh-card label{font-size:12px}
  .nfsh-mobile,.nfsh-code,.nfsh-reset-mobile,.nfsh-reset-code,.nfsh-register-form input,.nfsh-reset-password-form input{font-size:16px}
}


/* v0.6.0 */
.nfsh-card{border-color:#ebe5d9}
.nfsh-final-actions a{box-shadow:none}
@media(min-width:900px){
  .woocommerce-account .nfsh-wrap{padding-top:8px}
}


/* v0.8.0 admin/frontend refinements */
.nfsh-wrap button,.nfsh-wrap a,.nfsh-wrap input{transition:all .18s ease}
.nfsh-wrap button:focus-visible,.nfsh-wrap a:focus-visible,.nfsh-wrap input:focus-visible{outline:2px solid var(--nfsh-primary,#c99a3c);outline-offset:2px}
@media(max-width:480px){
  .nfsh-head h2{font-size:23px}
  .nfsh-card{padding:21px 13px}
  .nfsh-tabs{gap:4px;padding:4px}
  .nfsh-tab{padding:10px 8px;font-size:12px}
}


/* v0.9.0 release-candidate UX */
.nfsh-wrap button.is-loading{position:relative;color:transparent!important;pointer-events:none}
.nfsh-wrap button.is-loading:after{content:"";position:absolute;inset:50% auto auto 50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:nfsh-spin .7s linear infinite;color:#fff}
@keyframes nfsh-spin{to{transform:rotate(360deg)}}
.nfsh-message.error,.nfsh-register-message.error,.nfsh-reset-message.error,.nfsh-reset-password-message.error{background:#fff4f4;border:1px solid #f2cece;border-radius:8px;padding:8px 10px}
.nfsh-message.success,.nfsh-register-message.success,.nfsh-reset-message.success,.nfsh-reset-password-message.success{background:#f1fbf4;border:1px solid #cfe9d6;border-radius:8px;padding:8px 10px}


/* v0.9.5 final polish */
.nfsh-wrap{contain:layout style}
.nfsh-card{min-height:120px}
.nfsh-message,.nfsh-register-message,.nfsh-reset-message,.nfsh-reset-password-message{transition:opacity .18s ease,transform .18s ease}
.nfsh-card button:disabled{opacity:.72;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){
  .nfsh-wrap *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media(max-width:420px){
  .nfsh-card{padding:18px 11px}
  .nfsh-final-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .nfsh-final-actions a{width:100%;text-align:center}
}


/* v1.1.0 White-Label */
.nfsh-wrap{--nfsh-primary:#c99a3c}
.nfsh-brand-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin-bottom:8px}
.nfsh-brand-logo{display:block;max-width:180px;max-height:72px;width:auto;height:auto;object-fit:contain}
.nfsh-brand{max-width:100%;overflow-wrap:anywhere;text-align:center}
.nfsh-tab.active,.nfsh-step.active span,.nfsh-products-button,.nfsh-register-submit,.nfsh-send,.nfsh-verify,.nfsh-reset-send,.nfsh-reset-verify,.nfsh-reset-password-submit{
  background-color:var(--nfsh-primary,#c99a3c)
}
.nfsh-head a,.nfsh-wrap a:not(.nfsh-account-button){color:var(--nfsh-primary,#c99a3c)}
@media(max-width:480px){
  .nfsh-brand-logo{max-width:140px;max-height:60px}
  .nfsh-brand{font-size:12px;letter-spacing:.12em}
}


/* =========================================================
   NeoForge SMS Hub Pro v1.1.1 — Frontend UI Polish
   No functional changes.
   ========================================================= */

.nfsh-wrap{
  --nfsh-radius:12px;
  --nfsh-control-height:46px;
  --nfsh-card-pad:26px;
}

/* Header / brand */
.nfsh-head{
  margin-bottom:16px;
  text-align:center;
}

.nfsh-brand-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-bottom:6px;
}

.nfsh-brand-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:215px;   /* ~19% larger than v1.1.0 */
  max-height:86px;   /* ~19% larger than v1.1.0 */
  object-fit:contain;
  object-position:center;
}

.nfsh-brand{
  max-width:min(100%, 420px);
  margin:0 auto;
  padding:0 8px;
  overflow-wrap:anywhere;
  word-break:normal;
  text-align:center;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
  letter-spacing:.08em;
}

.nfsh-head h2{
  margin:4px 0 4px;
  font-size:clamp(22px, 2vw, 28px);
  line-height:1.35;
  font-weight:800;
}

.nfsh-head p{
  margin:0;
  line-height:1.7;
}

/* Tabs / steps */
.nfsh-tabs{
  margin-bottom:16px;
}

.nfsh-tab{
  min-height:42px;
  border-radius:10px;
}

.nfsh-step{
  gap:7px;
}

.nfsh-step span{
  width:34px;
  height:34px;
  min-width:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.nfsh-steps{
  margin:14px 0 18px;
}

/* Cards and spacing */
.nfsh-card{
  padding:var(--nfsh-card-pad);
  border-radius:16px;
}

.nfsh-card h3{
  margin-top:8px;
  margin-bottom:8px;
  line-height:1.45;
}

.nfsh-card p{
  line-height:1.75;
}

.nfsh-form-grid{
  gap:14px;
}

/* Inputs and buttons: same height / radius */
.nfsh-wrap input[type="text"],
.nfsh-wrap input[type="tel"],
.nfsh-wrap input[type="email"],
.nfsh-wrap input[type="password"],
.nfsh-wrap select,
.nfsh-wrap button,
.nfsh-final-actions a{
  min-height:var(--nfsh-control-height);
  border-radius:var(--nfsh-radius);
}

.nfsh-wrap input[type="text"],
.nfsh-wrap input[type="tel"],
.nfsh-wrap input[type="email"],
.nfsh-wrap input[type="password"]{
  padding-top:0;
  padding-bottom:0;
  line-height:var(--nfsh-control-height);
}

.nfsh-send,
.nfsh-verify,
.nfsh-register-submit,
.nfsh-reset-send,
.nfsh-reset-verify,
.nfsh-reset-password-submit,
.nfsh-products-button,
.nfsh-account-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:var(--nfsh-control-height);
  padding:0 18px;
}

/* White-label primary color consistency */
.nfsh-tab.active,
.nfsh-step.active span,
.nfsh-send,
.nfsh-verify,
.nfsh-register-submit,
.nfsh-reset-send,
.nfsh-reset-verify,
.nfsh-reset-password-submit,
.nfsh-products-button{
  background:var(--nfsh-primary,#c99a3c);
  border-color:var(--nfsh-primary,#c99a3c);
}

.nfsh-step.active b,
.nfsh-head a,
.nfsh-wrap a:not(.nfsh-account-button):not(.nfsh-products-button){
  color:var(--nfsh-primary,#c99a3c);
}

/* Preserve readability */
.nfsh-tab.active,
.nfsh-send,
.nfsh-verify,
.nfsh-register-submit,
.nfsh-reset-send,
.nfsh-reset-verify,
.nfsh-reset-password-submit,
.nfsh-products-button{
  color:#fff;
  text-decoration:none;
}

.nfsh-account-button{
  text-decoration:none;
}

/* Long brand names must never escape the layout */
.nfsh-brand,
.nfsh-head h2,
.nfsh-head p{
  overflow-wrap:anywhere;
}

/* Tablet */
@media (max-width:768px){
  .nfsh-wrap{
    --nfsh-card-pad:20px;
    --nfsh-control-height:46px;
  }

  .nfsh-brand-logo{
    max-width:185px;
    max-height:76px;
  }

  .nfsh-brand{
    font-size:13px;
    max-width:90%;
  }

  .nfsh-head h2{
    font-size:23px;
  }
}

/* Mobile */
@media (max-width:480px){
  .nfsh-wrap{
    --nfsh-card-pad:16px;
    --nfsh-control-height:46px;
  }

  .nfsh-head{
    margin-bottom:12px;
  }

  .nfsh-brand-block{
    gap:5px;
    margin-bottom:4px;
  }

  .nfsh-brand-logo{
    max-width:165px;
    max-height:68px;
  }

  .nfsh-brand{
    font-size:12.5px;
    line-height:1.45;
    letter-spacing:.05em;
  }

  .nfsh-head h2{
    margin-top:3px;
    font-size:21px;
  }

  .nfsh-head p{
    font-size:12px;
  }

  .nfsh-card{
    border-radius:14px;
  }

  .nfsh-row{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .nfsh-row > input,
  .nfsh-row > button,
  .nfsh-register-submit,
  .nfsh-reset-password-submit,
  .nfsh-final-actions a{
    width:100%;
  }

  .nfsh-form-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .nfsh-final-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .nfsh-step b{
    font-size:11px;
  }
}

@media (prefers-reduced-motion:reduce){
  .nfsh-wrap *,
  .nfsh-wrap *::before,
  .nfsh-wrap *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}


/* =========================================================
   NeoForge SMS Hub Pro v1.1.4 — One-step auth + button text fix
   ========================================================= */
.nfsh-steps-single{
  display:flex;
  align-items:center;
  justify-content:center;
}
.nfsh-steps-single .nfsh-step{
  width:auto;
  min-width:180px;
}
.nfsh-products-button{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
.nfsh-products-button:hover,
.nfsh-products-button:focus{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}


/* =========================================================
   NeoForge SMS Hub Pro v1.1.5 — Product button text hardening
   ========================================================= */
.nfsh-final-actions .nfsh-products-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:150px!important;
  min-height:46px!important;
  padding:0 22px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.4!important;
  text-indent:0!important;
  letter-spacing:normal!important;
  white-space:normal!important;
  overflow:visible!important;
  text-decoration:none!important;
  background-color:var(--nfsh-primary,#c99a3c)!important;
  border-color:var(--nfsh-primary,#c99a3c)!important;
}
.nfsh-final-actions .nfsh-products-button:hover,
.nfsh-final-actions .nfsh-products-button:focus,
.nfsh-final-actions .nfsh-products-button:visited{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}


/* =========================================================
   NeoForge SMS Hub Pro v2.0.0 — SMS & Authentication Platform
   ========================================================= */
.woo-auth-v2 .nfsh-card{margin-bottom:16px}
.woo-auth-v2 label{display:block;margin:12px 0 6px;font-weight:600}
.woo-auth-v2 input{width:100%;box-sizing:border-box}
.woo-auth-captcha-box{
  display:flex;align-items:center;gap:8px;margin:12px 0 8px
}
.woo-auth-captcha-challenge{
  flex:1;display:flex;align-items:center;justify-content:center;
  min-height:50px;border:1px dashed #c9ced6;border-radius:12px;
  background:#f8f9fa;font-family:monospace;font-size:22px;font-weight:800;
  letter-spacing:.22em;direction:ltr;user-select:none
}
.woo-auth-captcha-refresh{min-width:44px;min-height:44px;border-radius:10px!important}
.woo-auth-security-note{
  margin-top:10px!important;padding:10px 12px;border-radius:10px;
  background:#fff8e7;color:#755a15;font-size:12px;line-height:1.7
}
.woo-auth-provider-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px}
.woo-auth-provider-card{border:1px solid #e1e5e9;border-radius:12px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:5px}
.woo-auth-captcha-inline{margin:12px 0}
@media(max-width:782px){
  .woo-auth-provider-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .woo-auth-provider-grid{grid-template-columns:1fr}
}


/* =========================================================
   NeoForge SMS Hub Pro v2.1.1 — Registration UX Hotfix
   ========================================================= */
.nfsh-step.profile-verified{
  opacity:1!important;
}
.nfsh-step.profile-verified span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}
.nfsh-register-reauth{
  width:100%;
  min-height:44px;
  margin-top:12px;
  border:1px solid var(--nfsh-primary,#c99a3c);
  border-radius:12px;
  background:transparent;
  color:var(--nfsh-primary,#c99a3c);
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.nfsh-register-reauth:hover,
.nfsh-register-reauth:focus{
  background:rgba(201,154,60,.08);
}
.nfsh-register-reauth[hidden],
.nfsh-steps[hidden]{
  display:none!important;
}


/* =========================================================
   NeoForge SMS Hub Pro v2.2.0 — Native Form Engine
   ========================================================= */
.nfsh-steps-multi{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
}
.nfsh-steps-multi .nfsh-step-line{
  height:1px;
  background:#dfe3e8;
}
.nfsh-step.done span{
  background:var(--nfsh-primary,#c99a3c);
  color:#fff;
}
.nfsh-step.active span{
  background:var(--nfsh-primary,#c99a3c);
  color:#fff;
}
.nfsh-step[data-step-badge="2"]:not(.active):not(.done){
  opacity:.55;
}
.nfsh-wrap form[data-state="loading"]{
  opacity:.88;
}
.nfsh-wrap form[data-state="error"]{
  opacity:1;
}
.nfsh-wrap button[type="submit"].is-loading{
  cursor:wait;
}
.nfsh-send-form,
.nfsh-verify-form,
.nfsh-reset-send-form,
.nfsh-reset-verify-form,
.woo-auth-login-form,
.woo-auth-register-form{
  margin:0;
}
@media(max-width:480px){
  .nfsh-steps-multi{
    grid-template-columns:1fr;
  }
  .nfsh-steps-multi .nfsh-step-line{
    width:1px;
    height:18px;
    margin:auto;
  }
}

/* v2.4.0 Remember Login */
.nfsh-remember{display:flex;align-items:center;gap:8px;margin:10px 0 4px;cursor:pointer;font-size:14px;line-height:1.6}.nfsh-remember input{width:18px;height:18px;margin:0;accent-color:var(--nfsh-primary,#c99a3c)}@media(max-width:600px){.nfsh-remember{width:100%;justify-content:flex-start}}


/* =========================================================
   NeoForge SMS Hub Pro v2.4.3 — My Account Demo Frontend Polish
   Visual-only patch. No OTP/SMS/authentication logic changes.
   ========================================================= */
body.nf-sms-hub-my-account-active .site-main > article .entry-header,
body.nf-sms-hub-my-account-active .entry-content > .woocommerce > .woocommerce-notices-wrapper:empty{
  display:none!important;
}

body.nf-sms-hub-my-account-active .site-content .ast-container,
body.nf-sms-hub-my-account-active .content-area,
body.nf-sms-hub-my-account-active .site-main,
body.nf-sms-hub-my-account-active .site-main > article,
body.nf-sms-hub-my-account-active .site-main > article > .entry-content,
body.nf-sms-hub-my-account-active .entry-content > .woocommerce{
  width:100%!important;
  max-width:none!important;
}

body.nf-sms-hub-my-account-active .entry-content > .woocommerce{
  display:block!important;
  margin:0!important;
}

body.nf-sms-hub-my-account-active .woocommerce-MyAccount-navigation{
  display:none!important;
}

body.nf-sms-hub-my-account-active .woocommerce-MyAccount-content{
  float:none!important;
  width:100%!important;
  max-width:none!important;
}

body.nf-sms-hub-my-account-active .nfsh-wrap{
  width:min(100%, 880px)!important;
  max-width:880px!important;
  margin:38px auto 58px!important;
  padding:0 22px!important;
}

body.nf-sms-hub-my-account-active .nfsh-head{
  max-width:680px;
  margin:0 auto 18px;
}

body.nf-sms-hub-my-account-active .nfsh-brand-logo{
  max-width:220px;
  max-height:92px;
}

body.nf-sms-hub-my-account-active .nfsh-head h2{
  margin:8px 0 6px;
  font-size:clamp(28px,3vw,38px);
  line-height:1.35;
  color:#26344c;
}

body.nf-sms-hub-my-account-active .nfsh-head p{
  max-width:620px;
  margin-inline:auto;
  font-size:15px;
  line-height:1.9;
  color:#738099;
}

body.nf-sms-hub-my-account-active .nfsh-tabs{
  max-width:620px;
  margin:0 auto 22px;
  padding:7px;
  gap:8px;
  border:1px solid #ece7dd;
  background:#faf8f3;
  box-shadow:0 8px 28px rgba(33,42,61,.05);
}

body.nf-sms-hub-my-account-active .nfsh-tab{
  min-height:48px;
  font-size:14px;
}

body.nf-sms-hub-my-account-active .nfsh-card{
  width:100%;
  max-width:760px;
  margin-inline:auto;
  padding:34px 38px;
  border:1px solid #e8e4dc;
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 55px rgba(34,45,68,.09);
}

body.nf-sms-hub-my-account-active .nfsh-card h3{
  font-size:24px;
  color:#2e405e;
}

body.nf-sms-hub-my-account-active .nfsh-card > p{
  max-width:600px;
  margin-inline:auto;
  color:#7a8699;
  font-size:14px;
}

body.nf-sms-hub-my-account-active .nfsh-icon{
  width:54px;
  height:54px;
  font-size:24px;
  box-shadow:inset 0 0 0 1px rgba(201,154,60,.12);
}

body.nf-sms-hub-my-account-active .nfsh-row{
  grid-template-columns:minmax(0,1fr) 170px;
  gap:12px;
}

body.nf-sms-hub-my-account-active .nfsh-wrap input[type="text"],
body.nf-sms-hub-my-account-active .nfsh-wrap input[type="tel"],
body.nf-sms-hub-my-account-active .nfsh-wrap input[type="email"],
body.nf-sms-hub-my-account-active .nfsh-wrap input[type="password"]{
  min-height:52px;
  border:1px solid #dfe3ea;
  background:#fff;
  color:#26344c;
  box-shadow:none;
}

body.nf-sms-hub-my-account-active .nfsh-send,
body.nf-sms-hub-my-account-active .nfsh-verify,
body.nf-sms-hub-my-account-active .nfsh-register-submit,
body.nf-sms-hub-my-account-active .nfsh-reset-send,
body.nf-sms-hub-my-account-active .nfsh-reset-verify,
body.nf-sms-hub-my-account-active .nfsh-reset-password-submit{
  min-height:52px;
  box-shadow:0 8px 20px rgba(34,45,68,.12);
}

body.nf-sms-hub-my-account-active .nfsh-steps{
  max-width:620px;
  margin-inline:auto;
}

@media(max-width:768px){
  body.nf-sms-hub-my-account-active .nfsh-wrap{
    margin:24px auto 42px!important;
    padding:0 14px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-card{
    padding:26px 20px;
    border-radius:18px;
  }
  body.nf-sms-hub-my-account-active .nfsh-head h2{
    font-size:29px;
  }
}

@media(max-width:560px){
  body.nf-sms-hub-my-account-active .nfsh-wrap{
    margin-top:18px!important;
    padding:0 10px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-brand-logo{
    max-width:175px;
    max-height:72px;
  }
  body.nf-sms-hub-my-account-active .nfsh-head h2{
    font-size:24px;
  }
  body.nf-sms-hub-my-account-active .nfsh-head p{
    font-size:12.5px;
  }
  body.nf-sms-hub-my-account-active .nfsh-card{
    padding:22px 14px;
    border-radius:16px;
  }
  body.nf-sms-hub-my-account-active .nfsh-card h3{
    font-size:21px;
  }
  body.nf-sms-hub-my-account-active .nfsh-row{
    grid-template-columns:1fr;
  }
  body.nf-sms-hub-my-account-active .nfsh-row > button{
    width:100%;
  }
}

/* v2.5.7 — transparent security fallback status */
.nfsh-security-fallback-note {
    margin: 10px 0;
    padding: 9px 12px;
    border: 1px solid rgba(202, 154, 60, .32);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

/* =========================================================
   NeoForge SMS Hub Pro v2.5.9 — Password Recovery Entry Point
   ========================================================= */
.woo-auth-forgot-password{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:42px;
  margin-top:10px;
  padding:8px 12px;
  border:0;
  background:transparent;
  color:var(--nfsh-primary,#c99a3c);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.woo-auth-forgot-password:hover,
.woo-auth-forgot-password:focus{
  text-decoration:underline;
  background:transparent;
  color:var(--nfsh-primary,#c99a3c);
}


/* =========================================================
   NeoForge SMS Hub Pro v2.5.10 — Password visibility control
   ========================================================= */
.nfsh-password-field{
  position:relative;
  width:100%;
}
.nfsh-password-field > input{
  width:100%;
  padding-inline-end:52px!important;
}
.nfsh-password-toggle{
  position:absolute;
  inset-inline-end:8px;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:10px;
  background:transparent;
  color:inherit;
  font:inherit;
  line-height:1;
  cursor:pointer;
  opacity:.72;
  z-index:2;
}
.nfsh-password-toggle:hover,
.nfsh-password-toggle:focus-visible,
.nfsh-password-toggle.is-visible{
  opacity:1;
  background:rgba(127,127,127,.08);
}
.nfsh-password-toggle:focus-visible{
  outline:2px solid var(--nfsh-primary,#c99a3c);
  outline-offset:1px;
}

/* =========================================================
   NeoForge SMS Hub Pro v2.5.14.1 — NeoForge Demo Compact Card
   Visual-only frontend hotfix for guest WooCommerce My Account.
   No OTP, SMS, provider, authentication or database logic changes.
   ========================================================= */
body.nf-sms-hub-my-account-active .nfsh-wrap{
  width:100%!important;
  max-width:680px!important;
  margin:32px auto 48px!important;
  padding:0 18px!important;
}

body.nf-sms-hub-my-account-active .nfsh-head{
  max-width:560px!important;
  margin:0 auto 16px!important;
}

body.nf-sms-hub-my-account-active .nfsh-head h2{
  font-size:clamp(25px,2.6vw,32px)!important;
}

body.nf-sms-hub-my-account-active .nfsh-head p{
  max-width:540px!important;
  font-size:13.5px!important;
}

body.nf-sms-hub-my-account-active .nfsh-tabs{
  width:100%!important;
  max-width:560px!important;
  margin:0 auto 18px!important;
}

body.nf-sms-hub-my-account-active .nfsh-steps{
  width:100%!important;
  max-width:540px!important;
  margin:12px auto 16px!important;
}

body.nf-sms-hub-my-account-active .nfsh-card{
  width:100%!important;
  max-width:620px!important;
  margin-inline:auto!important;
  padding:30px 32px!important;
  border-radius:20px!important;
}

body.nf-sms-hub-my-account-active .nfsh-card h3{
  font-size:22px!important;
}

body.nf-sms-hub-my-account-active .nfsh-card > p{
  max-width:500px!important;
  font-size:13px!important;
  margin-bottom:20px!important;
}

body.nf-sms-hub-my-account-active .nfsh-icon{
  width:48px!important;
  height:48px!important;
  font-size:21px!important;
}

body.nf-sms-hub-my-account-active .nfsh-row{
  grid-template-columns:minmax(0,1fr) 150px!important;
  gap:10px!important;
}

body.nf-sms-hub-my-account-active .nfsh-wrap input[type="text"],
body.nf-sms-hub-my-account-active .nfsh-wrap input[type="tel"],
body.nf-sms-hub-my-account-active .nfsh-wrap input[type="email"],
body.nf-sms-hub-my-account-active .nfsh-wrap input[type="password"],
body.nf-sms-hub-my-account-active .nfsh-send,
body.nf-sms-hub-my-account-active .nfsh-verify,
body.nf-sms-hub-my-account-active .nfsh-register-submit,
body.nf-sms-hub-my-account-active .nfsh-reset-send,
body.nf-sms-hub-my-account-active .nfsh-reset-verify,
body.nf-sms-hub-my-account-active .nfsh-reset-password-submit{
  min-height:48px!important;
}

@media(max-width:768px){
  body.nf-sms-hub-my-account-active .nfsh-wrap{
    max-width:640px!important;
    margin:24px auto 40px!important;
    padding:0 14px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-card{
    max-width:600px!important;
    padding:26px 22px!important;
  }
}

@media(max-width:560px){
  body.nf-sms-hub-my-account-active .nfsh-wrap{
    max-width:none!important;
    margin:16px auto 28px!important;
    padding:0 10px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-head{
    max-width:none!important;
    margin-bottom:12px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-head h2{
    font-size:23px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-tabs,
  body.nf-sms-hub-my-account-active .nfsh-steps,
  body.nf-sms-hub-my-account-active .nfsh-card{
    max-width:none!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-card{
    padding:21px 14px!important;
    border-radius:16px!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-row{
    grid-template-columns:1fr!important;
  }
  body.nf-sms-hub-my-account-active .nfsh-row > button{
    width:100%!important;
  }
}
