/* Password Toggle Component Styles */

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

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: #666;
  font-size: 16px;
  z-index: 10;
  outline: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
}


.password-toggle:focus {
  outline: 2px solid #69C76D;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Adjust input padding to make room for the eye icon */
.password-field-wrapper input[type="password"],
.password-field-wrapper input[type="text"] {
  padding-right: 40px !important;
}

/* SVG icons for password toggle */
.password-toggle svg {
  width: 20px;
  height: 20px;
  stroke: #666;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .password-toggle {
    right: 10px;
    font-size: 18px;
  }
  
  .password-field-wrapper input[type="password"],
  .password-field-wrapper input[type="text"] {
    padding-right: 45px !important;
  }
}