:host {
  z-index: 100;
}

#emoji-picker {
  max-width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

#emoji-collection {
  overflow-y: scroll;
  padding: 5px;
  height: 170px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
  position: relative;
}

#categories {
  overflow-x: auto;
  padding: 5px;
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

#categories span {
  margin-right: 5px;
  cursor: pointer;
}

.emoji-category {
  font-family: 'Material Icons';
  font-size: 20px;
  padding: 5px;
}

.emoji-category a {
  text-decoration: none;
  color: gray;
}

.emoji-list {
  display: flex;
  flex-wrap: wrap;
}

.emoji-list span {
  margin: 2px;
}

.emoji-list span img {
  width: 27px;
  height: 27px;
  cursor: pointer;
}

.group-name {
  padding: 5px;
}

#categories span {
  box-sizing: border-box;
}

#categories span.active-group {
  border-bottom: 4px solid gray;
}
