.gw-login-ux-remember {
  clear: both;
  margin: 12px 0 14px;
  line-height: 1.45;
}

.gw-login-ux-remember label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.gw-login-ux-remember input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
}

.gw-login-ux-remember .gw-login-ux-help {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
}

.gw-login-ux-forgotten {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.gw-login-ux-forgotten-link {
  display: inline-block;
}

.gw-login-ux-password-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
}

.gw-login-ux-password-wrap > input {
  width: 100% !important;
  box-sizing: border-box;
  padding-right: 46px !important;
}

.gw-login-ux-password-toggle {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #555;
  line-height: 1;
  cursor: pointer;
}

.gw-login-ux-password-wrap .gw-login-ux-password-toggle {
  top: 50%;
  right: 6px;
}

.gw-login-ux-password-toggle:hover,
.gw-login-ux-password-toggle:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.04);
  color: #111;
}

.gw-login-ux-password-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  pointer-events: none;
}

.gw-login-ux-password-host {
  position: relative !important;
}

.gw-login-ux-password-host > input[data-gw-login-ux-ready="1"] {
  padding-right: 46px !important;
}

.gw-login-ux-password-host > .gw-login-ux-password-toggle-overlay {
  right: auto;
  margin: 0;
}

@media (max-width: 767px) {
  .gw-login-ux-password-wrap {
    max-width: 100% !important;
  }

  .gw-login-ux-remember {
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .gw-login-ux-forgotten {
    max-width: 100% !important;
    margin-left: 0 !important;
  }
}
