/* Canonical reusable password security presentation. */
.password-reveal-wrap {
  position: relative;
}
.password-reveal-wrap > input {
  padding-right: 52px !important;
}
.password-reveal-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #777;
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.password-reveal-btn:hover,
.password-reveal-btn:focus-visible,
.password-reveal-btn.is-revealing {
  background: #f2f2f2;
  color: #111;
  outline: none;
}
.password-reveal-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
}
.password-requirements span {
  position: relative;
  padding-left: 19px;
  color: #777;
  font-size: 11px;
  line-height: 1.35;
}
.password-requirements span:before {
  content: "○";
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 800;
}
.password-requirements span.ok {
  color: #147a3d;
}
.password-requirements span.ok:before {
  content: "✓";
}
.password-requirements span[data-rule="match"] {
  grid-column: 1/-1;
}
.password-requirements + * {
  margin-top: 0;
}
#modal button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 1050px) {
  .password-reveal-btn {
    width: 44px;
    height: 44px;
  }
  .password-reveal-wrap > input {
    padding-right: 58px !important;
  }
  .password-requirements {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 11px 12px;
  }
  .password-requirements span,
  .password-requirements span[data-rule="match"] {
    grid-column: auto;
    font-size: 12px;
  }
}
