.hpw-auth{--hpw:#086fa8;--hpw2:#0D69A0;--ink:#101828;--muted:#667085;--line:#dbe5ef;max-width:1320px;margin:32px auto 70px;padding:0 24px;color:var(--ink)}.hpw-auth *{box-sizing:border-box}.hpw-auth__title{text-align:center;margin-bottom:32px}.hpw-auth__title h1{font-size:42px;line-height:1.1;color:var(--hpw);margin:0 0 9px;font-weight:800}.hpw-auth__title p{margin:0;color:#475467;font-size:17px}.hpw-auth__shell{display:grid;grid-template-columns:40% 60%;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 18px 55px rgba(17,68,105,.09)}.hpw-auth__aside{position:relative;padding:48px 46px;min-height:670px;background:linear-gradient(145deg,#eaf4ff 0%,#f7fbff 62%,#fff 100%);overflow:hidden}.hpw-auth__aside:after{content:"";position:absolute;left:-10%;right:-10%;bottom:80px;height:180px;background:repeating-radial-gradient(ellipse at center,transparent 0 18px,rgba(7,87,199,.035) 19px 20px);opacity:.7}.hpw-auth__aside h2{font-size:31px;line-height:1.18;color:#0754a7;margin:0 0 12px;font-weight:800}.hpw-auth__accent{display:block;width:62px;height:2px;background:#0D69A0;margin:0 0 24px}.hpw-auth__aside>p{color:#475467;font-size:16px;max-width:390px;line-height:1.6}.hpw-auth__benefits{display:grid;gap:20px;margin-top:28px;position:relative;z-index:2}.hpw-auth__benefit{display:flex;gap:14px;align-items:flex-start}.hpw-auth__icon{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid!important;place-items:center;background:#ddecff;color:#0D69A0;font-size:19px;font-style:normal}.hpw-auth__benefit strong{display:block;margin-bottom:3px;font-size:15px}.hpw-auth__benefit span{color:var(--muted);font-size:13px;line-height:1.35;display:block}.hpw-auth__product{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);width:72%;height:245px;object-fit:contain;z-index:3;filter:drop-shadow(0 16px 18px rgba(0,0,0,.12))}.hpw-auth__main{padding:28px 40px 34px}.hpw-auth__tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-bottom:28px}.hpw-auth__tab{appearance:none;border:0;background:transparent;padding:18px 12px;font-weight:700;font-size:17px;color:#344054;cursor:pointer;border-bottom:3px solid transparent}.hpw-auth__tab i{margin-right:9px}.hpw-auth__tab.is-active{color:#0D69A0;border-color:#0D69A0}.hpw-auth__panel{display:none}.hpw-auth__panel.is-active{display:block;animation:hpwFade .2s ease}.hpw-auth__panel h2{font-size:24px;margin:0 0 6px}.hpw-auth__lead{color:var(--muted);margin:0 0 26px}.hpw-auth .form-row{margin:0 0 18px!important}.hpw-auth label{display:block;font-weight:700;font-size:14px;margin-bottom:7px}.hpw-auth__field{position:relative;display:block}.hpw-auth__field>i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#667085;z-index:2}.hpw-auth__field input[type=text],.hpw-auth__field input[type=email],.hpw-auth__field input[type=password]{width:100%;height:50px;border:1px solid #b8cbe0!important;border-radius:8px!important;padding:0 48px 0 43px!important;background:#fff!important;box-shadow:none!important}.hpw-auth__field input:focus{outline:2px solid rgba(7,87,199,.12)!important;border-color:#0D69A0!important}.hpw-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0!important;background:transparent!important;color:#344054!important;cursor:pointer;padding:0!important}.hpw-auth__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hpw-auth__meta{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 22px}.hpw-auth__meta label{font-weight:400;margin:0;display:flex;gap:8px;align-items:center}.hpw-auth__link{color:#0D69A0;text-decoration:underline;cursor:pointer}.hpw-auth__submit{width:100%;min-height:50px;border:0!important;border-radius:9px!important;background:linear-gradient(90deg,var(--hpw),var(--hpw2))!important;color:#fff!important;font-weight:800!important;letter-spacing:.03em;cursor:pointer}.hpw-auth__submit i{margin-right:8px}.hpw-auth__submit[disabled]{opacity:.65;cursor:wait}.hpw-auth__outline{width:66%;min-height:48px;border:1px solid #0D69A0!important;border-radius:8px!important;background:#fff!important;color:#0D69A0!important;font-weight:800!important}.hpw-auth__new{text-align:center}.hpw-auth__new p{margin:0 0 14px;color:#344054}.hpw-auth__or{display:flex;align-items:center;gap:15px;margin:24px 0 16px;color:#475467}.hpw-auth__or:before,.hpw-auth__or:after{content:"";height:1px;background:#dbe5ef;flex:1}.hpw-auth__optin{display:flex!important;gap:9px;align-items:flex-start;margin:2px 0 18px!important;font-weight:400!important}.hpw-auth__message{display:none;padding:12px 14px;border-radius:8px;margin:0 0 18px;font-size:14px}.hpw-auth__message.is-error{display:block;background:#fff2f2;color:#b42318;border:1px solid #fecaca}.hpw-auth__message.is-success{display:block;background:#ecfdf3;color:#027a48;border:1px solid #abefc6}.hpw-auth__back{border:0!important;background:transparent!important;color:#0D69A0!important;padding:0!important;margin-bottom:24px;cursor:pointer}.hpw-auth__reset-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#0D69A0;font-size:25px;margin-bottom:18px}.hpw-auth__trust{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:22px 30px;background:linear-gradient(90deg,#f1f7ff,#fff);border-top:1px solid var(--line)}.hpw-auth__trust>div{display:flex;gap:12px;align-items:center;justify-content:center}.hpw-auth__trust strong{display:block}.hpw-auth__trust small{display:block;color:var(--muted)}.hpw-auth__spinner{display:none}.is-loading .hpw-auth__spinner{display:inline}@keyframes hpwFade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:900px){.hpw-auth__shell{grid-template-columns:1fr}.hpw-auth__aside{display:none}.hpw-auth__main{padding:24px}.hpw-auth__trust{grid-template-columns:1fr}.hpw-auth__title h1{font-size:34px}.hpw-auth__row{grid-template-columns:1fr}.hpw-auth__outline{width:100%}}
/* v3 precision fixes: concept-matched panel + one functional password control */
.hpw-auth{max-width:1320px;margin-top:30px}
.hpw-auth__shell{grid-template-columns:41% 59%;min-height:700px}
.hpw-auth__aside{min-height:620px;padding:48px 46px 300px;background:linear-gradient(150deg,#eaf4ff 0%,#f4f9ff 58%,#edf6ff 100%)}
.hpw-auth__aside:before{content:"";position:absolute;inset:auto -18% 0 -18%;height:330px;background:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 22px,rgba(7,87,199,.045) 23px 24px);pointer-events:none}
.hpw-auth__aside:after{display:none}
.hpw-auth__aside h2{font-size:34px;letter-spacing:-.02em}.hpw-auth__aside>p{font-size:17px;line-height:1.55}
.hpw-auth__benefits{gap:20px;margin-top:30px}.hpw-auth__icon{background:#dcecff!important;color:#0D69A0!important}
.hpw-auth__product{left:54%;bottom:0;width:78%;height:275px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 15px 18px rgba(24,69,110,.12));mix-blend-mode:multiply}
.hpw-auth__main{padding:30px 42px 36px}.hpw-auth__tabs{margin-bottom:28px}.hpw-auth__tab{font-size:17px}
.hpw-auth__field .password-input,.hpw-auth__field .show-password-input,.hpw-auth__field .woocommerce-password-strength{position:static}
.hpw-auth__field .show-password-input,.hpw-auth__field .password-input .show-password-input,.hpw-auth__field span.show-password-input{display:none!important}
.hpw-auth__field input[type=password],.hpw-auth__field input[type=text].hpw-password-visible{padding-right:52px!important}
.hpw-password-toggle{right:7px!important;top:50%!important;transform:translateY(-50%)!important;z-index:8!important;display:grid!important;place-items:center!important}
.hpw-auth__trust .hpw-auth__icon{display:grid!important;visibility:visible!important}
@media(max-width:1100px){.hpw-auth__shell{grid-template-columns:42% 58%}.hpw-auth__aside{padding-left:30px;padding-right:30px}.hpw-auth__main{padding-left:28px;padding-right:28px}}
@media(max-width:900px){.hpw-auth{padding:0 16px;margin-top:20px}.hpw-auth__shell{display:block;min-height:0}.hpw-auth__aside{display:block;min-height:340px;padding:30px 28px 180px}.hpw-auth__aside h2{font-size:28px}.hpw-auth__aside>p{font-size:15px}.hpw-auth__benefits{grid-template-columns:1fr 1fr;gap:14px}.hpw-auth__benefit span{display:none}.hpw-auth__product{height:180px;width:58%;left:70%}.hpw-auth__trust{grid-template-columns:repeat(3,1fr);padding:18px 12px}.hpw-auth__trust small{font-size:11px}}
@media(max-width:620px){.hpw-auth__title h1{font-size:30px}.hpw-auth__aside{min-height:300px;padding:26px 20px 150px}.hpw-auth__benefits{grid-template-columns:1fr 1fr}.hpw-auth__benefit strong{font-size:12px}.hpw-auth__icon{width:38px;height:38px;flex-basis:38px}.hpw-auth__product{height:155px;width:72%;left:62%}.hpw-auth__main{padding:20px 16px 26px}.hpw-auth__tab{font-size:14px;padding:14px 6px}.hpw-auth__row{grid-template-columns:1fr}.hpw-auth__meta{align-items:flex-start}.hpw-auth__trust{grid-template-columns:1fr}.hpw-auth__trust>div{justify-content:flex-start}.hpw-auth__outline{width:100%}}

/* HPW v4 auth polish */
.hpw-auth__tab:hover,.hpw-auth__tab:focus-visible{color:#0D69A0!important;background:rgba(7,87,199,.045)!important;outline:none}
.hpw-auth__outline{width:min(100%,430px)!important;min-width:300px!important;padding:0 28px!important;white-space:nowrap!important;word-break:normal!important;line-height:1.2!important}

@media(max-width:520px){.hpw-auth__outline{width:100%!important;min-width:0!important;padding:0 14px!important;font-size:14px!important}}

/* ===== HPW v5: reliable Font Awesome icon rendering ===== */
.hpw-auth .hpw-auth__icon.fa,
.hpw-auth .hpw-auth__benefit .fa,
.hpw-auth .hpw-auth__trust .fa {
  font-family: "FontAwesome" !important;
  font-style: normal !important;
  font-weight: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  color: #0D69A0 !important;
}


/* ===== HPW FINAL: Auth icons use the same FA4 font already loaded by the theme ===== */
.hpw-auth i.fa,
.hpw-auth .hpw-auth__icon.fa {
  font-family: FontAwesome !important;
  font-style: normal !important;
  font-weight: normal !important;
  speak: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hpw-auth__benefit .hpw-auth__icon,
.hpw-auth__trust .hpw-auth__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hpw-auth__tab:hover,
.hpw-auth__tab:focus-visible {
  color: #0D69A0 !important;
}
.hpw-auth__outline {
  width: min(100%, 460px) !important;
  white-space: nowrap !important;
}
/* WooCommerce may inject its own password toggle. HPW owns the only visible toggle. */
.hpw-auth .show-password-input { display:none !important; }

/* HPW final trust strip spacing - inset from shell edges like approved concept */
.hpw-auth__trust{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center;
  gap:24px;
  width:auto;
  min-width:0;
  margin:18px 24px 20px;
  padding:22px 38px;
  background:linear-gradient(90deg,rgba(239,247,255,.96) 0%,rgba(247,250,255,.98) 50%,rgba(239,247,255,.96) 100%);
  border:1px solid rgba(0,105,180,.05);
  border-radius:18px;
  box-sizing:border-box;
  overflow:hidden;
}
.hpw-auth__trust>div{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}
.hpw-auth__trust .hpw-auth__icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:rgba(0,105,180,.06);color:#0069b4;font-size:24px;line-height:1}
.hpw-auth__trust>div>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.hpw-auth__trust strong{display:block;margin:0;color:#111827;font-size:16px;font-weight:700;line-height:1.25}
.hpw-auth__trust small{display:block;margin:0;color:#667085;font-size:13px;font-weight:500;line-height:1.35}
@media(max-width:991px){
  .hpw-auth__trust{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 18px 18px;padding:20px 22px;gap:16px}
  .hpw-auth__trust>div{justify-content:flex-start}
  .hpw-auth__trust .hpw-auth__icon{flex-basis:42px;width:42px;height:42px;font-size:21px}
  .hpw-auth__trust strong{font-size:14px}
  .hpw-auth__trust small{font-size:12px}
}
@media(max-width:767px){
  .hpw-auth__trust{grid-template-columns:1fr;margin:14px 14px 16px;padding:18px;gap:16px;border-radius:14px}
  .hpw-auth__trust>div{justify-content:flex-start;width:100%}
}
