/* Only Maintenance v2.9.79 — consistent, mobile-friendly password controls. */
.om-password-field {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
}
.om-password-field > input.om-password-visibility-input:is([type="password"],[type="text"]) {
  width: 100%;
  padding-right: 77px;
}
.om-password-visibility-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 61px;
  min-height: 38px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #19533f;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
}
.om-password-visibility-toggle:hover { background: #e8f2e9; }
.om-password-visibility-toggle:focus-visible {
  outline: 2px solid #206e57;
  outline-offset: 2px;
}
/* Preserve required-field asterisk when an input is wrapped by the toggle. */
.form-stack label:has(> .om-password-field > input[required]):not(.radio-label),
.inline-form label:has(> .om-password-field > input[required]):not(.radio-label),
.people-edit-form label:has(> .om-password-field > input[required]) {
  position: relative;
  padding-right: 15px;
}
.form-stack label:has(> .om-password-field > input[required]):not(.radio-label)::after,
.inline-form label:has(> .om-password-field > input[required]):not(.radio-label)::after,
.people-edit-form label:has(> .om-password-field > input[required])::after {
  content: '*';
  position: absolute;
  top: -1px;
  right: 3px;
  color: #a94715;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
}
@media(max-width:760px) {
  .om-password-visibility-toggle { min-height: 44px; min-width: 64px; font-size: 14px; }
  .om-password-field > input.om-password-visibility-input:is([type="password"],[type="text"]) {
    padding-right: 82px;
  }
}
