#search-input {
  width: 30%;
  height: 1.5rem;
  border-radius: 0.5rem;
  border: 0;
  padding: 0.5rem;
  transition: 0.5s;
  outline: 2px solid #aaa;
  &:focus {
    outline: 2px solid #777;
  }
}

table {
  margin-top: 1rem;
  border-collapse: collapse;
  width: 100%;
  opacity: 0;
  transition: 1s;
  display: none;
}

th,
td {
  border: 1px solid #aaa;
  padding: 8px;
  &:nth-child(1){
    width: 16rem;
  }
  &:nth-child(2){
    width: 4rem;
  }
  &:nth-child(3){
    width: 6rem;
  }
}

th {
  background: #f4f4f4;
}

tbody > tr:hover {
  background: #f4f4f4;
}

.loader {
  border: 0.8em solid #f4f4f4;
  border-top: 0.8rem solid #aaa;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  animation: spin 1s linear infinite;
  align-self: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
