/* Make the current emoji picker look like Twitter/Android */

.composer-wrap { position: relative; }

.emoji-picker{
  position: absolute;
  right: 0;
  bottom: 55px;
  width: 360px;
  max-height: 380px;
  background: #fff;
  border: 1px solid #e6ecf0;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 9999;
  padding: 10px;
}

/* Search bar */
.emoji-search-input{
  width: 100%;
  border: 1px solid #e6ecf0;
  border-radius: 999px;
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
  background: #f7f9f9;
  margin-bottom: 10px;
}

/* Old structure uses .emoji-scroll-container + rows */
.emoji-scroll-container{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Remove row layout spacing if any */
.emoji-row{
  display: contents;
}

/* Your bundle currently renders emojis as <img class="emoji" ...> */
.emoji{
  width: 26px !important;
  height: 26px !important;
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  transition: background .12s ease;
}

/* Hover effect like Twitter */
.emoji:hover{
  background: #f2f2f2;
}

/* If you insert emoji images into chat */
.chat-emoji{
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* GIF picker polish (optional) */
.gif-container{
  position: absolute;
  right: 0;
  bottom: 55px;
  width: 360px;
  max-height: 380px;
  background: #fff;
  border: 1px solid #e6ecf0;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  overflow: auto;
  padding: 10px;
  z-index: 9999;
}

.gif-option{
  border-radius: 12px;
}
