.hg-auth-page,.hg-auth-page *,.hg-auth-page *::before,.hg-auth-page *::after{box-sizing:border-box;}
.hg-auth-page *{margin:0;padding:0;}


.hg-auth-page{position:relative;direction:rtl;font-family:'Vazirmatn',Tahoma,Arial,sans-serif;min-height:calc(100vh - 90px);overflow:hidden;display:flex;align-items:center;justify-content:center;margin:-24px 0 0;}
.hg-bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;}
.hg-grid{position:absolute;inset:0;background-size:60px 60px;}
.hg-glow-a,.hg-glow-b{position:absolute;border-radius:50%;filter:blur(100px);}
.hg-glow-a{width:420px;height:420px;top:-120px;right:-80px;animation:bga 22s ease-in-out infinite;}
.hg-glow-b{width:320px;height:320px;bottom:-80px;left:-60px;animation:bgb 28s ease-in-out infinite;}
@keyframes bga{0%,100%{transform:translate(0,0);}50%{transform:translate(28px,32px);}}
@keyframes bgb{0%,100%{transform:translate(0,0);}50%{transform:translate(-22px,-26px);}}
.hg-main{position:relative;z-index:1;width:100%;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;}
.hg-back{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;text-decoration:none;margin-bottom:28px;transition:color .18s;font-weight:500;letter-spacing:.2px;}

.hg-back svg{width:14px;height:14px;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.hg-card{position:relative;width:100%;max-width:420px;border:1px solid var(--vy-line);border-radius:24px;padding:36px 32px 28px;backdrop-filter:blur(28px) saturate(160%);}
.hg-card-line{position:absolute;top:0;left:24px;right:24px;height:1px;}
.hg-gem-wrap{display:flex;justify-content:center;margin-bottom:20px;animation:gemIn .65s cubic-bezier(.34,1.56,.64,1) both;}
@keyframes gemIn{from{opacity:0;transform:translateY(-16px) scale(.85);}to{opacity:1;transform:translateY(0) scale(1);}}
.hg-gem-st{position:relative;width:72px;height:72px;display:flex;align-items:center;justify-content:center;}
.hg-gem-r1{position:absolute;inset:0;border-radius:50%;border:1px solid var(--vy-line);animation:rspin 10s linear infinite;}
.hg-gem-r2{position:absolute;inset:10px;border-radius:50%;border:1px dashed var(--vy-line);animation:rspin 7s linear infinite reverse;}
@keyframes rspin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
.hg-gem-dot{position:absolute;top:0;left:50%;width:5px;height:5px;border-radius:50%;opacity:.5;transform:translateX(-50%) translateY(-2.5px);animation:rspin 10s linear infinite;}
.hg-gem-core{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;border:1px solid var(--vy-line);animation:gpulse 3.5s ease-in-out infinite;}
@keyframes gpulse{0%,100%{transform:scale(1);}50%{transform:scale(1.04);}}
.hg-gem-core svg{width:24px;height:24px;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.hg-hl{text-align:center;margin-bottom:22px;animation:fadeUp .5s ease .1s both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
.hg-hl h1{font-size:20px;font-weight:800;margin-bottom:5px;letter-spacing:-.4px;}
.hg-hl p{font-size:13px;line-height:1.6;}
.hg-stage{display:none;animation:stagein .28s ease;}
.hg-stage.active{display:block;}
@keyframes stagein{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
.hg-field{margin-bottom:13px;}
.hg-lbl{display:block;font-size:12px;font-weight:600;margin-bottom:6px;letter-spacing:.2px;}

.hg-iw{position:relative;}
.hg-ico{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:15px;height:15px;pointer-events:none;stroke-width:1.8;stroke-linecap:round;}
.hg-inp{width:100%;padding:12px 40px 12px 13px;border:1.5px solid var(--vy-line);border-radius:11px;font-size:14px;font-family:inherit;direction:rtl;outline:none;transition:all .2s;}


.hg-inp:disabled{opacity:.5;cursor:not-allowed;}
.hg-pw{position:relative;width:100%;}
.hg-pw .hg-inp{padding-left:42px;}
.hg-eye{position:absolute;left:12px;top:50%;transform:translateY(-50%);border:none;cursor:pointer;padding:0;display:flex;transition:color .18s;}

.hg-eye svg{width:15px;height:15px;stroke-width:1.8;stroke-linecap:round;}
.hg-btn{width:100%;padding:13px 20px;border:none;border-radius:11px;font-size:14.5px;font-weight:700;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .25s;margin-top:6px;letter-spacing:.1px;}
.hg-btn:hover{transform:translateY(-1px);}
.hg-btn:active{transform:translateY(0);}
.hg-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;}
.hg-btn svg{width:17px;height:17px;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.hg-btn-ghost{border:1.5px solid var(--vy-line);}

.hg-spin{width:17px;height:17px;border:2px solid var(--vy-line);border-radius:50%;animation:rspin .7s linear infinite;}
.hg-msg{padding:10px 13px;border-radius:10px;font-size:12.5px;font-weight:500;margin-bottom:12px;display:none;align-items:center;gap:8px;}
.hg-msg.show{display:flex;animation:stagein .25s;}
.hg-msg-err{border:1px solid var(--vy-line);}
.hg-msg svg{width:14px;height:14px;flex-shrink:0;stroke-width:2;stroke-linecap:round;}
.hg-fh{margin-bottom:16px;}
.hg-fh strong{display:block;font-size:15px;font-weight:700;margin-bottom:3px;}
.hg-fh p{font-size:12.5px;}
.hg-sw{text-align:center;font-size:12.5px;margin-top:15px;}
.hg-sw button{border:none;font-weight:700;cursor:pointer;font-family:inherit;font-size:12.5px;margin-right:3px;padding:0;transition:opacity .15s;text-decoration:underline;text-underline-offset:2px;}
.hg-sw button:hover{opacity:.6;}
.hg-dots{display:flex;justify-content:center;gap:5px;margin-bottom:18px;}
.hg-dot{height:3px;border-radius:2px;transition:all .35s cubic-bezier(.34,1.56,.64,1);width:18px;}
.hg-dot.on{width:28px;}
.hg-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.hg-wiz{display:flex;gap:10px;margin-top:6px;}
.hg-wiz .hg-btn{flex:1;}
.hg-trust{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--vy-line);font-size:11px;}
.hg-trust-sep{display:block;width:3px;height:3px;border-radius:50%;}
.hg-trust-item{display:flex;align-items:center;gap:4px;}
.hg-trust-item svg{width:12px;height:12px;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.hg-priv{font-size:11.5px;line-height:1.7;margin-bottom:12px;}
.hg-priv a{text-decoration:underline;text-underline-offset:2px;}
.hg-wp-note{text-align:center;padding:10px 0 0;font-size:11.5px;}
.hg-wp-note a{text-decoration:underline;text-underline-offset:2px;}
/* Popup */
.hg-popup-bg{position:fixed;inset:0;z-index:2000;backdrop-filter:blur(18px);display:none;align-items:center;justify-content:center;}
.hg-popup-bg.show{display:flex;animation:ovIn .35s ease;}
@keyframes ovIn{from{opacity:0;}to{opacity:1;}}
.hg-popup{position:relative;border:1px solid var(--vy-line);border-radius:24px;padding:44px 36px 36px;max-width:360px;width:90%;text-align:center;backdrop-filter:blur(32px);animation:popIn .5s cubic-bezier(.34,1.56,.64,1);}
@keyframes popIn{from{opacity:0;transform:scale(.8) translateY(24px);}to{opacity:1;transform:scale(1) translateY(0);}}
.hg-pr-wrap{position:relative;width:100px;height:100px;margin:0 auto 24px;display:flex;align-items:center;justify-content:center;}
.hg-pp{position:absolute;top:50%;left:50%;border-radius:50%;}
.hg-pp1{width:7px;height:7px;animation:pp1 .8s cubic-bezier(.25,.46,.45,.94) .2s both;}
.hg-pp2{width:5px;height:5px;opacity:.65;animation:pp2 .8s cubic-bezier(.25,.46,.45,.94) .28s both;}
.hg-pp3{width:6px;height:6px;opacity:.8;animation:pp3 .8s cubic-bezier(.25,.46,.45,.94) .18s both;}
.hg-pp4{width:4px;height:4px;opacity:.5;animation:pp4 .8s cubic-bezier(.25,.46,.45,.94) .32s both;}
.hg-pp5{width:6px;height:6px;opacity:.7;animation:pp5 .8s cubic-bezier(.25,.46,.45,.94) .14s both;}
.hg-pp6{width:5px;height:5px;opacity:.6;animation:pp6 .8s cubic-bezier(.25,.46,.45,.94) .25s both;}
@keyframes pp1{0%{opacity:1;transform:translate(-50%,-50%);}100%{opacity:0;transform:translate(calc(-50% - 76px),calc(-50% - 52px)) scale(0);}}
@keyframes pp2{0%{opacity:.65;transform:translate(-50%,-50%);}100%{opacity:0;transform:translate(calc(-50% + 80px),calc(-50% - 48px)) scale(0);}}
@keyframes pp3{0%{opacity:.8;transform:translate(-50%,-50%);}100%{opacity:0;transform:translate(calc(-50% - 60px),calc(-50% + 70px)) scale(0);}}
@keyframes pp4{0%{opacity:.5;transform:translate(-50%,-50%);}100%{opacity:0;transform:translate(calc(-50% + 70px),calc(-50% + 66px)) scale(0);}}
@keyframes pp5{0%{opacity:.7;transform:translate(-50%,-50%);}100%{opacity:0;transform:translate(-50%,calc(-50% - 88px)) scale(0);}}
@keyframes pp6{0%{opacity:.6;transform:translate(-50%,-50%);}100%{opacity:0;transform:translate(calc(-50% + 88px),calc(-50% + 8px)) scale(0);}}
.hg-pr{position:absolute;border-radius:50%;border-style:solid;}
.hg-pr1{inset:0;border-width:1px;animation:rp 2.2s ease-in-out infinite;}
.hg-pr2{inset:10px;border-width:1px;border-style:dashed;animation:rp 2.2s ease-in-out infinite .35s;}
@keyframes rp{0%,100%{transform:scale(1) rotate(0deg);opacity:.6;}50%{transform:scale(1.06) rotate(180deg);opacity:1;}}
.hg-pc{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;animation:pcIn .55s cubic-bezier(.34,1.56,.64,1) .12s both;}
@keyframes pcIn{from{transform:scale(0) rotate(-90deg);}to{transform:scale(1) rotate(0deg);}}
.hg-pc svg{width:26px;height:26px;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:32;stroke-dashoffset:32;animation:drawChk .4s ease-out .55s both;}
@keyframes drawChk{to{stroke-dashoffset:0;}}
.hg-popup-title{font-size:19px;font-weight:800;margin-bottom:7px;letter-spacing:-.3px;animation:fadeUp .4s ease .45s both;}
.hg-popup-desc{font-size:13px;line-height:1.7;margin-bottom:20px;animation:fadeUp .4s ease .58s both;}
.hg-popup-desc-sub{font-size:12px;margin-top:4px;}
.hg-popup-transfer{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12.5px;margin-bottom:14px;animation:fadeUp .4s ease .68s both;}
.hg-popup-dot{width:5px;height:5px;border-radius:50%;opacity:.7;animation:bdot 1.1s ease-in-out infinite;}
@keyframes bdot{0%,100%{opacity:.7;}50%{opacity:.15;}}
.hg-loading-dots::after{content:'';animation:ldots 1.5s steps(4,end) infinite;}
@keyframes ldots{0%{content:'';}25%{content:'.';}50%{content:'..';}75%{content:'...';}100%{content:'';}}
.hg-popup-prog-track{border-radius:100px;height:3px;overflow:hidden;margin-bottom:16px;animation:fadeUp .3s ease .75s both;}
.hg-popup-prog-fill{height:100%;border-radius:100px;width:0%;transition:width .05s linear;}
.hg-popup-countdown{font-size:11.5px;animation:fadeUp .3s ease .85s both;}
.hg-popup-countdown strong{font-size:13px;font-weight:700;}
@media(max-width:480px){.hg-card{padding:28px 20px 22px;border-radius:20px;}.hg-hl h1{font-size:18px;}.hg-grid-2{grid-template-columns:1fr;}.hg-main{padding:20px 16px;}}
@media(max-width:360px){.hg-card{padding:22px 16px 18px;}}


.hg-auth-page .woocommerce-notices-wrapper{width:100%;margin:0 0 14px;}
.hg-auth-page .woocommerce-error,.hg-auth-page .woocommerce-message,.hg-auth-page .woocommerce-info{list-style:none;margin:0 0 14px;padding:10px 13px;border-radius:12px;border:1px solid var(--vy-line);font-size:12.5px;line-height:1.8;}
.hg-auth-page .woocommerce-error li{margin:0;padding:0;}
.hg-auth-page form{display:block;margin:0;}
.hg-auth-page .form-row{margin:0 0 13px;padding:0;}
.hg-auth-page .woocommerce-privacy-policy-text{font-size:11.5px;line-height:1.8;margin:0 0 12px;}
.hg-auth-page .woocommerce-privacy-policy-text a{text-decoration:underline;text-underline-offset:2px;}
.hg-auth-page .hg-reg-step[hidden]{display:none;}
.hg-auth-page input.hg-inp:-webkit-autofill{-webkit-text-fill-color:var(--vy-ink);transition:background-color 9999s ease-in-out 0s;}
.hg-auth-page .hg-btn.woocommerce-button,.hg-auth-page .woocommerce-button.hg-btn,.hg-auth-page button.hg-btn{appearance:none;-webkit-appearance:none;text-decoration:none;}

@media(max-width:782px){.hg-auth-page{min-height:calc(100vh - 70px);margin:0;}.hg-main{padding-bottom:92px;}}

/* v145 — clean auth shell: no site chrome, dedicated theme toggle, solid background */


body.hg-auth-screen{overflow-x:hidden;padding-bottom:0;}
body.hg-auth-screen .site-main,
body.hg-auth-screen .wc-page-wrap,
body.hg-auth-screen .wc-page-container,
body.hg-auth-screen .wc-page-content,
body.hg-auth-screen .woocommerce{width:100%;max-width:none;margin:0;padding:0;border:0;}
body.hg-auth-screen .wc-page-wrap{min-height:100vh;display:block;}
body.hg-auth-screen .woocommerce-notices-wrapper{position:relative;z-index:3;width:min(420px,calc(100% - 40px));margin:16px auto 0;}
.hg-auth-page{min-height:100vh;margin:0;isolation:isolate;}
.hg-auth-page .hg-bg,.hg-auth-page .hg-grid,.hg-auth-page .hg-glow-a,.hg-auth-page .hg-glow-b{display:none;animation:none;}
.hg-main{padding:24px 20px 32px;gap:22px;}
.hg-auth-topbar{position:relative;z-index:2;width:100%;max-width:420px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 auto 4px;}
.hg-auth-topbar .hg-back{margin:0;}
.hg-auth-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 12px;border-radius:999px;border:1px solid var(--vy-line);font:700 12px/1.2 inherit;cursor:pointer;backdrop-filter:blur(18px);transition:transform .2s,border-color .2s,background .2s;}
.hg-auth-theme-toggle:hover{transform:translateY(-1px);}
.hg-auth-theme-toggle .hg-theme-toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:15px;line-height:1;}
@media(max-width:480px){.hg-main{padding:18px 14px 28px;}.hg-auth-topbar{max-width:100%;}.hg-auth-theme-toggle span:last-child{display:none;}.hg-auth-theme-toggle{width:38px;height:38px;padding:0;}.hg-card{border-radius:22px;padding:30px 22px 24px;}}


/* v146 — auth field polish and WooCommerce password meter harmonization */
.hg-auth-page .hg-field,
.hg-auth-page .form-row{
  clear:both;
}
.hg-auth-page .hg-iw,
.hg-auth-page .hg-pw{
  min-width:0;
}
.hg-auth-page .hg-inp,
.hg-auth-page input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.hg-auth-page input[type="text"]:not(.hg-inp):not([type="hidden"]),
.hg-auth-page input[type="email"]:not(.hg-inp),
.hg-auth-page input[type="tel"]:not(.hg-inp),
.hg-auth-page input[type="password"]:not(.hg-inp),
.hg-auth-page select,
.hg-auth-page textarea{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:46px;
  padding:12px 40px 12px 13px;

  border:1.5px solid var(--vy-line);
  border-radius:14px;


  outline:none;
  font:500 14px/1.45 inherit;
  direction:rtl;
  transition:background .2s,border-color .2s,box-shadow .2s,color .2s;
}

.hg-auth-page .hg-inp::placeholder,
.hg-auth-page input.input-text::placeholder,
.hg-auth-page textarea::placeholder{

  opacity:1;
}
.hg-auth-page .hg-pw{
  display:block;
}
.hg-auth-page .hg-pw .hg-eye{
  top:23px;
  transform:translateY(-50%);
}
.hg-auth-page .hg-pw .hg-inp{
  padding-left:44px;
}
.hg-auth-page .woocommerce-password-strength,
.hg-auth-page #password_strength{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:26px;
  margin:8px 0 0;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--vy-line);


  text-align:center;
  font:800 11.5px/1.4 inherit;
  letter-spacing:0;
}
.hg-auth-page .woocommerce-password-strength::before,
.hg-auth-page #password_strength::before{
  content:'';
  width:6px;
  height:6px;
  margin-left:7px;
  border-radius:50%;

  opacity:.55;
}


.hg-auth-page .woocommerce-password-strength:empty,
.hg-auth-page #password_strength:empty{
  display:none;
}
.hg-auth-page .woocommerce-password-hint{
  display:block;
  margin:7px 0 0;

  font:500 11.5px/1.8 inherit;

  border:0;
  padding:0;
}
.hg-auth-page .woocommerce-privacy-policy-text,
.hg-auth-page .hg-priv,
.hg-auth-page .hg-wp-note{

  border:0;

}
.hg-auth-page .hg-auth-theme-toggle img.emoji,
.hg-auth-page .hg-auth-theme-toggle .emoji{
  width:15px;
  height:15px;
  margin:0;
  vertical-align:middle;
}
@media(max-width:480px){
  .hg-auth-page .hg-inp,
  .hg-auth-page input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  .hg-auth-page input[type="text"]:not(.hg-inp):not([type="hidden"]),
  .hg-auth-page input[type="email"]:not(.hg-inp),
  .hg-auth-page input[type="tel"]:not(.hg-inp),
  .hg-auth-page input[type="password"]:not(.hg-inp),
  .hg-auth-page select,
  .hg-auth-page textarea{
    border-radius:13px;
  }
}

/* v147 — prevent iOS Safari auto-zoom on auth fields */
.hg-auth-screen,
.hg-auth-screen body{
  -webkit-text-size-adjust:100%;
}
@supports (-webkit-touch-callout:none){
  .hg-auth-page .hg-inp,
  .hg-auth-page input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  .hg-auth-page input[type="text"]:not(.hg-inp):not([type="hidden"]),
  .hg-auth-page input[type="email"]:not(.hg-inp),
  .hg-auth-page input[type="tel"]:not(.hg-inp),
  .hg-auth-page input[type="password"]:not(.hg-inp),
  .hg-auth-page select,
  .hg-auth-page textarea{
    font-size:16px;
    line-height:1.38;
  }
}
@media (hover:none) and (pointer:coarse){
  .hg-auth-page .hg-inp,
  .hg-auth-page input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  .hg-auth-page input[type="text"]:not(.hg-inp):not([type="hidden"]),
  .hg-auth-page input[type="email"]:not(.hg-inp),
  .hg-auth-page input[type="tel"]:not(.hg-inp),
  .hg-auth-page input[type="password"]:not(.hg-inp),
  .hg-auth-page select,
  .hg-auth-page textarea{
    font-size:16px;
    line-height:1.38;
  }
}

/* v148 — remove WooCommerce default rectangle around auth forms */
.hg-auth-page form.woocommerce-form,
.hg-auth-page form.woocommerce-form-login,
.hg-auth-page form.woocommerce-form-register,
.hg-auth-page form.login,
.hg-auth-page form.register{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;


  outline:0;
}
.hg-auth-page form.woocommerce-form::before,
.hg-auth-page form.woocommerce-form::after,
.hg-auth-page form.login::before,
.hg-auth-page form.login::after,
.hg-auth-page form.register::before,
.hg-auth-page form.register::after{
  display:none;
  content:none;
}
.hg-auth-page .hg-reg-step,
.hg-auth-page .hg-stage,
.hg-auth-page .hg-grid-2{
  border:0;
  outline:0;


}

/* ==========================================================================
   Vaslyar v121 — centralized auth and password-recovery colors
   ========================================================================== */

body.hg-auth-screen,
body.hg-auth-screen .site-main,
body.hg-auth-screen .wc-page-wrap,
body.hg-auth-screen .wc-page-container,
body.hg-auth-screen .wc-page-content,
body.hg-auth-screen .wc-page-content > .woocommerce,
body.hg-auth-screen .hg-auth-page{
  background:var(--vy-paper);
  color:var(--vy-ink);
}

body.hg-auth-screen{
  --wc-form-color-background:var(--vy-input-bg);
  --wc-form-color-text:var(--vy-ink);
  --wc-form-border-color:var(--vy-input-border);
  --wc-green:var(--vy-success);
  --wc-red:var(--vy-danger);
  --wc-orange:var(--vy-warning);
  --wc-blue:var(--vy-info);
}

.hg-auth-page .hg-card,
body.hg-auth-screen .woocommerce :is(.woocommerce-ResetPassword,.lost_reset_password){
  background:var(--vy-elevated);
  border-color:var(--vy-line);
  color:var(--vy-ink);
  box-shadow:var(--vy-shadow);
}

.hg-auth-page .hg-card-line{
  background:var(--vy-line);
}

.hg-auth-page :is(.hg-hl h1,.hg-fh strong,.hg-popup-title){
  color:var(--vy-ink);
}

.hg-auth-page :is(.hg-hl p,.hg-fh p,.hg-sw,.hg-priv,.hg-wp-note,.hg-popup-desc,.hg-popup-transfer,.hg-popup-countdown,.hg-trust){
  color:var(--vy-muted);
}

.hg-auth-page :is(.hg-lbl,.hg-auth-theme-toggle,.hg-back){
  color:var(--vy-text-secondary);
}

.hg-auth-page .hg-lbl span,
.hg-auth-page .required{
  color:var(--vy-danger);
}

.hg-auth-page .hg-auth-theme-toggle{
  background:var(--vy-elevated);
  border-color:var(--vy-line);
  color:var(--vy-ink);
  box-shadow:var(--vy-shadow-soft);
}

.hg-auth-page .hg-auth-theme-toggle:hover{
  background:var(--vy-hover);
  border-color:var(--vy-line-strong);
}

.hg-auth-page :is(.hg-gem-core,.hg-pc){
  background:var(--vy-gradient-brand);
  border-color:var(--vy-brand-line);
  color:var(--vy-on-brand);
  box-shadow:var(--vy-shadow-soft);
}

.hg-auth-page :is(.hg-gem-r1,.hg-pr1){
  border-color:var(--vy-line-strong);
}

.hg-auth-page :is(.hg-gem-r2,.hg-pr2){
  border-color:var(--vy-line);
}

.hg-auth-page :is(.hg-gem-dot,.hg-popup-dot){
  background:var(--vy-brand);
}

.hg-auth-page :is(
  .hg-inp,
  input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  input[type="text"]:not([type="hidden"]),
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select
),
body.hg-auth-screen .woocommerce :is(.woocommerce-ResetPassword,.lost_reset_password) :is(input.input-text,input[type="text"],input[type="email"],input[type="password"],textarea,select){
  background:var(--vy-input-bg);
  border-color:var(--vy-input-border);
  color:var(--vy-ink);
  box-shadow:none;
}

.hg-auth-page :is(input,textarea)::placeholder,
body.hg-auth-screen .woocommerce :is(.woocommerce-ResetPassword,.lost_reset_password) :is(input,textarea)::placeholder{
  color:var(--vy-muted-2);
  opacity:1;
}

.hg-auth-page :is(
  .hg-inp,
  input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  input[type="text"]:not([type="hidden"]),
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select
):focus,
body.hg-auth-screen .woocommerce :is(.woocommerce-ResetPassword,.lost_reset_password) :is(input.input-text,input[type="text"],input[type="email"],input[type="password"],textarea,select):focus{
  background:var(--vy-input-hover);
  border-color:var(--vy-focus);
  box-shadow:var(--vy-shadow-focus);
  outline:none;
}

.hg-auth-page :is(.hg-inp.hg-invalid,[aria-invalid="true"]){
  background:var(--vy-danger-soft);
  border-color:var(--vy-danger);
  box-shadow:0 0 0 3px var(--vy-danger-soft);
}

.hg-auth-page input:-webkit-autofill,
.hg-auth-page input:-webkit-autofill:hover,
.hg-auth-page input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--vy-ink);
  box-shadow:0 0 0 1000px var(--vy-input-bg) inset;
}

.hg-auth-page :is(input[type="checkbox"],input[type="radio"]),
body.hg-auth-screen .woocommerce :is(input[type="checkbox"],input[type="radio"]){
  accent-color:var(--vy-brand);
}

.hg-auth-page .hg-btn,
body.hg-auth-screen .woocommerce :is(.woocommerce-ResetPassword,.lost_reset_password) :is(button.button,input.button){
  background:var(--vy-brand);
  border-color:var(--vy-brand);
  color:var(--vy-on-brand);
  box-shadow:none;
}

.hg-auth-page .hg-btn:hover,
body.hg-auth-screen .woocommerce :is(.woocommerce-ResetPassword,.lost_reset_password) :is(button.button,input.button):hover{
  background:var(--vy-brand-hover);
  border-color:var(--vy-brand-hover);
  color:var(--vy-on-brand);
}

.hg-auth-page .hg-btn-ghost{
  background:var(--vy-subtle);
  border-color:var(--vy-line);
  color:var(--vy-ink);
}

.hg-auth-page .hg-btn-ghost:hover{
  background:var(--vy-hover);
  border-color:var(--vy-line-strong);
}

.hg-auth-page :is(.hg-msg-err,.woocommerce-error),
body.hg-auth-screen .woocommerce-error{
  background:var(--vy-danger-soft);
  border-color:var(--vy-danger-line);
  color:var(--vy-danger);
}

.hg-auth-page .woocommerce-message,
body.hg-auth-screen .woocommerce-message{
  background:var(--vy-success-soft);
  border-color:var(--vy-success-line);
  color:var(--vy-ink);
}

.hg-auth-page .woocommerce-info,
body.hg-auth-screen .woocommerce-info{
  background:var(--vy-info-soft);
  border-color:var(--vy-info-line);
  color:var(--vy-ink);
}

.hg-auth-page :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) a,
body.hg-auth-screen :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) a{
  color:inherit;
}

.hg-auth-page .woocommerce-password-strength.short,
.hg-auth-page .woocommerce-password-strength.bad{
  background:var(--vy-danger-soft);
  border-color:var(--vy-danger-line);
  color:var(--vy-danger);
}

.hg-auth-page .woocommerce-password-strength.good,
.hg-auth-page .woocommerce-password-strength.strong{
  background:var(--vy-success-soft);
  border-color:var(--vy-success-line);
  color:var(--vy-success);
}

.hg-auth-page .hg-popup-bg{
  background:var(--vy-overlay);
}

.hg-auth-page .hg-popup{
  background:var(--vy-elevated);
  border-color:var(--vy-line);
  color:var(--vy-ink);
  box-shadow:var(--vy-shadow);
}

.hg-auth-page :is(.hg-popup-prog-track,.hg-trust-sep){
  background:var(--vy-loading-track);
}

.hg-auth-page .hg-popup-prog-fill{
  background:var(--vy-brand);
}

.hg-auth-page :is(a,button,input,select,textarea,[tabindex]):focus-visible,
body.hg-auth-screen .woocommerce :is(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--vy-focus);
  outline-offset:3px;
}

.hg-auth-page :is(button,input,select,textarea):disabled,
body.hg-auth-screen .woocommerce :is(button,input,select,textarea):disabled{
  background:var(--vy-disabled-bg);
  border-color:var(--vy-line);
  color:var(--vy-disabled-text);
  cursor:not-allowed;
  opacity:.72;
}

.hg-auth-page :is(.hg-spin,.loading)::before{
  border-color:var(--vy-loading-track);
  border-top-color:var(--vy-brand);
}
