/* 密码可见性切换：仅增加眼睛按钮，不改变原有表单配色。 */
.password-visibility-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
}
.password-visibility-wrap > input {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0;
  padding-right: 40px !important;
}
.password-visibility-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8793a4;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .15s ease, background-color .15s ease;
}
.password-visibility-toggle:hover {
  color: #3b82f6;
  background: rgba(100, 116, 139, .10);
}
.password-visibility-toggle:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 1px;
}
.password-visibility-toggle svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
