.QueryList {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fafafa;
}

.QueryListFilter {
  height: 48px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background-color: #f0f0f0;
  border-bottom: 1px solid $border-color;

  .Filter {
    padding: 11px 13px;
    width: 100%;
  }

  .FilterInput {
    width: 100%;
    padding: 3px 8px;
    color: #222;
    background-color: #ffffff;
    border-radius: 5px;
    font-weight: 200;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    border: 1px solid transparent;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.15), 0 -0.5px 0 rgba(0, 0, 0, 0.15), 0.5px 0 0 rgba(0, 0, 0, 0.15), -0.5px 0 0 rgba(0, 0, 0, 0.15);

    &:focus {
      border-color: #E10098;
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(225, 0, 152, 0.1);
    }
  }
}

.QueryListContent {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.QueryListItem {
  height: 56px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  display: flex;
  flex-direction: row;

  &:hover {
    background-color: #f4f5f5;
  }

  &.active {
    background-color: #e9ebeb;
  }
}

.QueryListItem__Icon {
  flex: none;
  display: flex;
  align-items: center;
  margin-top: -1px;
  padding: 0 15px 0 13px;

  .Icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #E10098;
    display: flex;
    justify-content: center;
    align-items: center;

    span {
      color: #fff;
      font-size: 13px;
      text-transform: uppercase;
      font-weight: 200;
    }
  }
}

.QueryListItem__Body {
  flex-grow: 1;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 15px;
}

.QueryListItem__Main {
  line-height: normal;
  align-items: flex-start;
  text-align: left;
  margin-top: -1px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.QueryListItem__Title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #000;
  flex-grow: 1;
  display: flex;
}

.QueryListItem__Meta {
  flex: none;
  margin-left: 6px;
  margin-top: 4px;
  line-height: 14px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
}

.QueryListItem__Description {
  color: rgba(0, 0, 0, 0.4);
}
