.pwd-hold-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.pwd-hold-wrap > input.form-control {
  padding-right: 2.6rem;
}

.pwd-hold-btn {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.pwd-hold-btn:hover,
.pwd-hold-btn:focus-visible {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.08);
  outline: none;
}

.pwd-hold-btn.is-holding {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.12);
}

.pwd-hold-btn i {
  font-size: 0.95rem;
  pointer-events: none;
}

/* AdminLTE login / input-group: eye replaces lock append */
.pwd-hold-btn--group {
  position: static;
  top: auto;
  right: auto;
  transform: none;
  width: auto;
  min-width: 2.5rem;
  height: auto;
  border-radius: 0;
  border: 1px solid #ced4da;
  border-left: 0;
  background: #e9ecef;
  color: #495057;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
}

.pwd-hold-btn--group:hover,
.pwd-hold-btn--group:focus-visible {
  color: #0d6efd;
  background: #e2e6ea;
  outline: none;
}

.pwd-hold-btn--group.is-holding {
  color: #0d6efd;
  background: #dbeafe;
}
