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

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

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

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

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

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


:host {
  border-radius: var(--dyte-border-radius-md, 8px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));
  display: flex;
  flex-direction: column;
  width: var(--dyte-space-96, 384px);
  padding-left: var(--dyte-space-9, 36px);
  padding-right: var(--dyte-space-9, 36px);
  padding-top: var(--dyte-space-10, 40px);
  padding-bottom: var(--dyte-space-10, 40px);
}

header {
  margin-bottom: var(--dyte-space-8, 32px);
  display: flex;
  align-items: center;
  gap: var(--dyte-space-2, 8px);
  font-size: 24px;
  font-weight: 600;
}

.channel-name-input {
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-900, 26 26 26) / var(--tw-bg-opacity));
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
  border-radius: var(--dyte-border-radius-sm, 4px);
  border-width: var(--dyte-border-width-none, 0);
  border-style: none;
  padding: var(--dyte-space-3, 12px);
  font-size: 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  line-height: 1.25;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.channel-name-input:focus {
  outline-width: 2px;
  outline-color: rgba(var(--dyte-colors-brand-300, 73 124 253) / 0.5);
}

footer {
  margin-top: var(--dyte-space-5, 20px);
  display: flex;
  justify-content: flex-end;
}

.member {
  display: flex;
  align-items: center;
  gap: var(--dyte-space-1, 4px);
  padding: var(--dyte-space-2, 8px);
}

.member dyte-avatar {
  height: var(--dyte-space-5, 20px);
  width: var(--dyte-space-5, 20px);
  font-size: 14px;
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
}

.input-container {
  position: relative;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  line-height: 1.25;
  outline: 2px solid transparent;
  outline-offset: 2px;
  outline-width: 2px;
  outline-color: rgba(var(--dyte-colors-brand-300, 73 124 253) / 0.5);
  border-radius: var(--dyte-border-radius-sm, 4px);
}

.input-container .members {
  margin: var(--dyte-space-0, 0px);
  max-height: var(--dyte-space-28, 112px);
  border-radius: var(--dyte-border-radius-sm, 4px);
  padding: var(--dyte-space-2, 8px);
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--dyte-space-1, 4px);
  cursor: text;
  font-size: 16px;
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-900, 26 26 26) / var(--tw-bg-opacity));
  overflow-y: auto;
    min-height: var(--dyte-space-7, 28px);
}

.input-container .pill {
  display: flex;
  align-items: center;
  gap: var(--dyte-space-1, 4px);
  border-radius: var(--dyte-border-radius-sm, 4px);
  padding: var(--dyte-space-2, 8px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-800, 30 30 30) / var(--tw-bg-opacity));
}

.input-container .pill dyte-avatar {
  height: var(--dyte-space-5, 20px);
  width: var(--dyte-space-5, 20px);
  font-size: 14px;
  color: rgb(var(--dyte-colors-text-on-brand-1000, var(--dyte-colors-text-1000, 255 255 255)));
}

.input-container .pill span {
  max-width: var(--dyte-space-32, 128px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.input-container .pill dyte-icon {
  height: var(--dyte-space-4, 16px);
  width: var(--dyte-space-4, 16px);
  cursor: pointer;
}

.input-container input {
  width: var(--dyte-space-24, 96px);
  border-radius: var(--dyte-border-radius-sm, 4px);
  border-width: var(--dyte-border-width-none, 0);
  border-style: none;
  padding: var(--dyte-space-1, 4px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-900, 26 26 26) / var(--tw-bg-opacity));
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-size: 16px;
  line-height: 1.25rem;
}

.input-container input.wide-input {
  width: 100%;
}

.search-results {
  margin: var(--dyte-space-0, 0px);
  margin-top: var(--dyte-space-1, 4px);
  max-height: var(--dyte-space-28, 112px);
  width: 100%;
  padding: var(--dyte-space-0, 0px);
  position: absolute;
  list-style-type: none;
  overflow-y: auto;
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-900, 26 26 26) / var(--tw-bg-opacity));
  border-radius: var(--dyte-border-radius-md, 8px);
  --tw-border-spacing-x: var(--dyte-space-2, 8px);
  --tw-border-spacing-y: var(--dyte-space-2, 8px);
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
  border-style: solid;
  border-color: rgba(var(--dyte-colors-brand-300, 73 124 253) / 0.5);
}

.search-results .member {
  cursor: pointer;
}

.search-results .member dyte-avatar {
  color: rgb(var(--dyte-colors-text-on-brand-1000, var(--dyte-colors-text-1000, 255 255 255)));
}

.search-results .member:hover, 
    .search-results .member.selected {
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));
  color: rgb(var(--dyte-colors-text-on-brand-1000, var(--dyte-colors-text-1000, 255 255 255)));
}
