.growfund-password-field-main-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.growfund-password-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--growfund-border-border);
  border-radius: var(--growfund-radius-md);
  background-color: var(--growfund-bg-surface);
  color: var(--growfund-text-primary);
  box-sizing: border-box;
}

.growfund-password-field-label {
  font-weight: var(--growfund-font-weight-medium);
  font-size: var(--growfund-font-size-md);
  color: var(--growfund-text-primary);
  line-height: 22px;
}

.growfund-password-toggle-icon {
  position: absolute;
  right: var(--growfund-spacing-3);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.growfund-password-field {
  width: 100%;
  padding: var(--growfund-spacing-2) 40px var(--growfund-spacing-2) var(--growfund-spacing-3);
  border-radius: var(--growfund-radius-md);
  border: none;
  background-color: var(--growfund-bg-surface);
  color: var(--growfund-text-primary);
  box-sizing: border-box;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-weight: var(--growfund-font-weight-normal);
  font-size: var(--growfund-font-size-md);
}

.growfund-password-field:focus {
  border-color: var(--growfund-border-border);
  outline: none;
}

@media (max-width: 768px) {
  .growfund-password-field-wrapper {
    flex-grow: 1;
  }
}
