.auth-password-wrap,
.password-wrap{
  position:relative;
  display:block;
}

.auth-password-wrap input,
.password-wrap input{
  padding-right:54px !important;
}

.auth-password-toggle,
.password-toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  min-width:42px;
  min-height:42px;
  border:1px solid rgba(15,39,72,.16);
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.86);
  color:#0f2748;
  opacity:1;
  box-shadow:0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(15,39,72,.08);
  cursor:pointer;
  touch-action:manipulation;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible,
.password-toggle:hover,
.password-toggle:focus-visible{
  opacity:1;
  background:#ffffff;
  border-color:rgba(37,99,235,.42);
  color:#0a4ea3;
  outline:2px solid rgba(37,99,235,.22);
  outline-offset:2px;
  box-shadow:0 0 0 4px rgba(37,99,235,.10), 0 10px 22px rgba(15,39,72,.12);
}

.auth-password-toggle::before,
.password-toggle::before{
  content:"";
  width:19px;
  height:19px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.auth-password-toggle[aria-pressed="true"]::before,
.password-toggle[aria-pressed="true"]::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 20 20'/%3E%3Cpath d='M10.58 10.58A2 2 0 0 0 12 14a2 2 0 0 0 1.42-.58'/%3E%3Cpath d='M9.88 5.08A10.8 10.8 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.35 4.5'/%3E%3Cpath d='M6.61 6.61C3.6 8.64 2 12 2 12s3.5 7 10 7a10.9 10.9 0 0 0 5.39-1.61'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 20 20'/%3E%3Cpath d='M10.58 10.58A2 2 0 0 0 12 14a2 2 0 0 0 1.42-.58'/%3E%3Cpath d='M9.88 5.08A10.8 10.8 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.35 4.5'/%3E%3Cpath d='M6.61 6.61C3.6 8.64 2 12 2 12s3.5 7 10 7a10.9 10.9 0 0 0 5.39-1.61'/%3E%3C/svg%3E") center/contain no-repeat;
}

.auth-password-toggle .icon,
.password-toggle .icon{
  display:none;
}

@media (max-width:640px){
  .auth-password-wrap input,
  .password-wrap input{
    padding-right:60px !important;
  }
  .auth-password-toggle,
  .password-toggle{
    right:8px;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
  }
}

.auth-link-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin:-2px 0 12px;
  font-size:13px;
  font-weight:850;
}

.auth-link-row a,
.auth-inline-link{
  color:inherit;
  text-decoration:none;
  opacity:.82;
}

.auth-link-row a:hover,
.auth-link-row a:focus-visible,
.auth-inline-link:hover,
.auth-inline-link:focus-visible{
  opacity:1;
  text-decoration:underline;
  outline:0;
}
