.password-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 400px;
}

.password-wrapper input {
  /* width: 100%;
  padding: 10px 40px 10px 12px; 
  box-sizing: border-box;
  font-size: 16px; */
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    max-width: 400px
}

.password-wrapper button {
  position: absolute;
  right: 10px;
  top: 60%;
  transform: translateY(-55%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: #666;
}

/* Hide Microsoft Edge's native reveal button to prevent layout clutter */
input::-ms-reveal {
  display: none;
}

@media (max-width: 600px) {
    .password-wrapper button {
        position: absolute;
        right: -320px;
        top: 60%;
        transform: translateY(-55%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        color: #666;
    }
}