/* Password field with show/hide toggle */
.password-field {
  position: relative;
  margin-bottom: 1rem;
}

.password-field input {
  width: 100%;
  margin-bottom: 0;
  padding-right: 2.85rem;
}

.password-reveal-btn {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #5c6575;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-reveal-btn:hover {
  background: #eef1f5;
  color: #1c2330;
}

.password-reveal-btn:focus-visible {
  outline: 2px solid #2d6a6a;
  outline-offset: 2px;
}

.password-reveal-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  pointer-events: none;
}

.password-reveal-btn .icon-hide {
  display: none;
}

.password-reveal-btn.is-visible .icon-show {
  display: none;
}

.password-reveal-btn.is-visible .icon-hide {
  display: block;
}
