.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input-icon {
  width: var(--wpforms-field-size-input-height, 43px);
  border-end-end-radius: var(--wpforms-field-border-radius);
  border-start-end-radius: var(--wpforms-field-border-radius);
  height: var(--wpforms-field-size-input-height, 38px);
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  z-index: 3;
  cursor: pointer;
  border: 1px solid transparent;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-app-region: no-drag;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input-icon-visible {
  display: none;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input-icon svg {
  width: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input-icon path {
  fill: var(--wpforms-field-text-color);
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input-icon:hover svg {
  opacity: 0.75;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input-icon:focus-visible {
  border-color: var(--wpforms-button-background-color);
  box-shadow: 0 0 0 1px var(--wpforms-button-background-color), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input {
  position: relative;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled .wpforms-field-password-input input {
  padding-inline-end: var(--wpforms-field-size-input-height, 43px);
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) {
  max-width: 60%;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) .wpforms-field-medium {
  max-width: 100%;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) {
  max-width: 25%;
}

.wpforms-form .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) .wpforms-field-small {
  max-width: 100%;
}

.wpforms-form .wpforms-field-password .wpforms-pass-strength-result {
  background-color: #f0f0f1;
  border: 1px solid #dcdcde;
  color: #1d2327;
  margin-top: -1px;
  padding: 3px 5px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  font-size: 13px;
  font-weight: 500;
  word-break: break-word;
}

.wpforms-form .wpforms-field-password .wpforms-pass-strength-result.short {
  background-color: #ffabaf;
  border-color: #e65054;
  opacity: 1;
}

.wpforms-form .wpforms-field-password .wpforms-pass-strength-result.bad {
  background-color: #facfd2;
  border-color: #f86368;
  opacity: 1;
}

.wpforms-form .wpforms-field-password .wpforms-pass-strength-result.good {
  background-color: #f5e6ab;
  border-color: #f0c33c;
  opacity: 1;
}

.wpforms-form .wpforms-field-password .wpforms-pass-strength-result.strong {
  background-color: #b8e6bf;
  border-color: #68de7c;
  opacity: 1;
}

@media only screen and (max-width: 680px) {
  .wpforms-form .wpforms-field-password .wpforms-pass-strength-result {
    max-width: 100% !important;
  }
}

.wpforms-form .wpforms-field-layout-rows .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium),
.wpforms-form .wpforms-field-layout-columns .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) {
  max-width: 100%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) .wpforms-field-medium,
.wpforms-form .wpforms-field-layout-columns .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) .wpforms-field-medium {
  max-width: 100%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small),
.wpforms-form .wpforms-field-layout-columns .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) {
  max-width: 100%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) .wpforms-field-small,
.wpforms-form .wpforms-field-layout-columns .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) .wpforms-field-small {
  max-width: 100%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium),
.wpforms-form .wpforms-field-layout-columns .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) {
  max-width: 60%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) .wpforms-field-medium,
.wpforms-form .wpforms-field-layout-columns .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) .wpforms-field-medium {
  max-width: 100%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small),
.wpforms-form .wpforms-field-layout-columns .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) {
  max-width: 25%;
}

.wpforms-form .wpforms-field-layout-rows .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) .wpforms-field-small,
.wpforms-form .wpforms-field-layout-columns .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) .wpforms-field-small {
  max-width: 100%;
}

.wpforms-form .wpforms-field-repeater .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) {
  max-width: 100%;
}

.wpforms-form .wpforms-field-repeater .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-medium) .wpforms-field-medium {
  max-width: 100%;
}

.wpforms-form .wpforms-field-repeater .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) {
  max-width: 100%;
}

.wpforms-form .wpforms-field-repeater .wpforms-layout-column-100 .wpforms-field-password.wpforms-field-password-visibility-enabled:has(.wpforms-field-small) .wpforms-field-small {
  max-width: 100%;
}
