:host {
  line-height: initial;
  font-family: var(--rtk-font-family, sans-serif);

  font-feature-settings: normal;
  font-variation-settings: normal;
}

p {
  margin: var(--rtk-space-0, 0px);
  padding: var(--rtk-space-0, 0px);
}

.scrollbar {
  /* For Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))
    var(--rtk-scrollbar-background, transparent);
}

/* For WebKit */
.scrollbar::-webkit-scrollbar {
  height: var(--rtk-space-1\.5, 6px);
  width: var(--rtk-space-1\.5, 6px);
  border-radius: 9999px;
  background-color: var(--rtk-scrollbar-background, transparent);
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));
}


:host {
  display: flex;
  width: 100%;
  flex-direction: column;
  font-size: 14px;
  position: relative;
  box-sizing: border-box;
  color: rgb(var(--rtk-colors-text-1000, 255 255 255));
}

.chat-header {
  margin-left: var(--rtk-space-2, 8px);
  margin-right: var(--rtk-space-2, 8px);
  gap: var(--rtk-space-2, 8px);
  padding-left: var(--rtk-space-4, 16px);
  padding-right: var(--rtk-space-4, 16px);
  padding-top: var(--rtk-space-3, 12px);
  padding-bottom: var(--rtk-space-3, 12px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  --tw-bg-opacity: 1;
  background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));
  color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));
  cursor: pointer;
  border-radius: var(--rtk-border-radius-sm, 4px);
  border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));
}

.chat-header-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--rtk-space-2, 8px);
}

.dropdown {
  position: absolute;
  top: 100%;
  z-index: 10;
  padding: var(--rtk-space-0, 0px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));
  opacity: 0;
  pointer-events: none;
  /* @apply transition-all duration-200 ease-in-out; */
  border-bottom-right-radius: var(--rtk-border-radius-sm, 4px);
  border-bottom-left-radius: var(--rtk-border-radius-sm, 4px);
  left: var(--rtk-space-2, 8px);
  right: var(--rtk-space-2, 8px);
  max-width: calc(100vw - var(--rtk-space-4, 16px));
  box-sizing: border-box;
}

.dropdown.open {
  opacity: 1;
  pointer-events: auto;
  border-width: 1px;
  border-top-width: var(--rtk-border-width-none, 0);
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));
}

.dropdown rtk-paginated-list {
  box-sizing: border-box;
  display: flex;
  height: 30vh;
  flex-direction: column;
}

.public-chat-group-label {
  display: flex;
  cursor: pointer;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--rtk-space-2, 8px);
  border-left-width: var(--rtk-border-width-none, 0);
  border-right-width: var(--rtk-border-width-none, 0);
  border-top-width: var(--rtk-border-width-none, 0);
  border-bottom-width: var(--rtk-border-width-none, 0);
  border-bottom-width: 1px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));
  padding-top: var(--rtk-space-4, 16px);
  padding-bottom: var(--rtk-space-4, 16px);
  padding-left: var(--rtk-space-2, 8px);
  padding-right: var(--rtk-space-2, 8px);
}

.public-chat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--rtk-space-1, 4px);
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));
}

.public-chat-icon rtk-icon {
  color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));
}
