.QueryList {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.QueryList-new.darwin {
  -webkit-app-region: drag;
}

.QueryList-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  font-size: 20px;
  border-bottom: 1px solid #ccc;
}

.QueryList-new i {
  cursor: pointer;
  -webkit-app-region: no-drag;
}

.QueryList-new .QueryList-filter {
  padding: 0 5px;
  position: sticky;
  top: 0;
  background-color: inherit;
  -webkit-app-region: no-drag;
}

.QueryList-new .QueryList-filter > i {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #999;
  font-size: 12px;
}

.QueryList-new .QueryList-filter input[type="search"] {
  border-radius: 15px;
  width: 100%;
  padding: 6px 10px 6px 26px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  color: #666;
  outline: none;
}

.QueryList > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  overflow-y: auto;
}

.QueryList > ul > li {
  margin: 0;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  border-bottom: 1px solid #ccc;
  color: #333;
  box-sizing: border-box;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.QueryList > ul > li.is-selected {
  background-image: linear-gradient(to right, #2673e8 5px, #edf5fe 5px);
  background-repeat: no-repeat;
}

.QueryList-list {
  user-select: none;
}

.QueryList-item {
  display: flex;
  flex-direction: column;
}

.QueryList-item-title {
  font-weight: bold;
  white-space: normal;
  overflow-wrap: break-word;
  color: #333;
}

.QueryList-item-subtitle {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666;
  margin-top: 2px;
}

.QueryList-item-time {
  font-size: 11px;
  color: #666;
  align-self: flex-end;
  margin-top: 10px;
  margin-bottom: 5px;
}
