* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:focus {
  outline: 0;
}

header {
  display: flex;
  padding: 0 4em;
  height: 4em;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  width: 20em;
  background: #f0f0f0;
  border-radius: .4em;
  height: 3em;
  padding: 0 1em;
  align-items: center;
  
}
.search input {
  border: none;
  width: 90%;
  background: transparent;
  height: 100%;
}
.users {
  padding: 1em 4em;
}
.user-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}
.user-item {
  height: 20em;
  width: 300px;
  background: #f0f0f0;
  padding: 1em;
  border-radius: .6em;
  display: flex;
  flex-direction: column;
}
.action {

  flex: 1;
  display: flex;
}
.action button {
  align-self: end;
  background: green;
  width: 100%;
  border: none;
  height: 3em;
  border-radius: .5em;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
button[disabled] {
  background: #777;
  cursor: not-allowed;
}