/* Scrollbar styling for chat + submenus + input */

/* Firefox */
.v2_chat_panel__messages,
.conversation_submenu__list {
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 194, 212, 0.55) rgba(10, 13, 26, 0.35);
}

.v2_chat_panel__input {
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 194, 212, 0.55) rgba(10, 13, 26, 0.35);
}

/* Chromium / Safari */
.v2_chat_panel__messages::-webkit-scrollbar,
.conversation_submenu__list::-webkit-scrollbar {
  width: 10px;
}

.v2_chat_panel__messages::-webkit-scrollbar-track,
.conversation_submenu__list::-webkit-scrollbar-track {
  background: rgba(10, 13, 26, 0.35);
  border-radius: 999px;
}

.v2_chat_panel__messages::-webkit-scrollbar-thumb,
.conversation_submenu__list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(215, 222, 234, 0.75), rgba(143, 155, 179, 0.75));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.v2_chat_panel__messages::-webkit-scrollbar-thumb:hover,
.conversation_submenu__list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(238, 241, 247, 0.9), rgba(141, 167, 232, 0.8));
}

.v2_chat_panel__input::-webkit-scrollbar {
  width: 10px;
}

.v2_chat_panel__input::-webkit-scrollbar-track {
  background: rgba(10, 13, 26, 0.35);
  border-radius: 999px;
}

.v2_chat_panel__input::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(215, 222, 234, 0.75), rgba(143, 155, 179, 0.75));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
