.searchInput {
  height: 50px;
  display: flex;
  position: relative;
  align-items: center;
  border-bottom: 1px solid #C4C4C4;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  &::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    bottom: 0;
    height: 1px;
    background: #000;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  &:hover::after {
    width: 100%;
  }
  &.focus {
    padding: 0 15px;
    background-color: #fff;
    border-bottom: 1px solid transparent;
    &::after {
      width: 0;
    }
    .input {
      width: 580px;
    }
    .cancel {
      display: block;
    }
  }
}

.input {
  width: 200px;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.cancel {
  display: none;
  color: #656872;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  &:hover {
    color: #000;
  }
}