: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);
}


:host {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.avatar-ctr {
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 0%;
  padding: var(--dyte-space-1\.5, 6px);
  border: 2px solid transparent;
  border-radius: calc(var(--dyte-border-radius-xl, 40px) + var(--dyte-space-1\.5, 6px));
}

.avatar-ctr.speaking {
  --tw-border-opacity: 1;
  border-color: rgba(var(--dyte-colors-brand-500, 33 96 253) / var(--tw-border-opacity));
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.bar-0 {
  box-shadow: none;
}

.bar-1 {
  box-shadow: 0 0 4px rgb(var(--dyte-colors-brand-500, 33 96 253));
}

.bar-2 {
  box-shadow: 0 0 8px rgb(var(--dyte-colors-brand-500, 33 96 253));
}

.bar-3 {
  box-shadow: 0 0 16px 1px rgb(var(--dyte-colors-brand-500, 33 96 253));
}

.bar-4 {
  box-shadow: 0 0 20px 3px rgb(var(--dyte-colors-brand-500, 33 96 253));
}

.bar-5 {
  box-shadow: 0 0 24px 6px rgb(var(--dyte-colors-brand-500, 33 96 253));
}

dyte-avatar {
  aspect-ratio: 1 / 1;
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: var(--dyte-border-radius-xl, 40px);
}

dyte-name-tag {
  display: block;
  height: var(--dyte-space-10, 40px);
  width: 100%;
  text-align: center;
  line-height: 2.5rem;
}

:host([size='sm']) .avatar-ctr {
  border-radius: calc(var(--dyte-border-radius-lg, 12px) + var(--dyte-space-1\.5, 6px));
}

:host([size='sm']) dyte-name-tag {
  height: var(--dyte-space-7, 28px);
  line-height: 1.75rem;
}

:host([size='sm']) dyte-avatar {
  border-radius: var(--dyte-border-radius-lg, 12px);
}

.mic-icon {
  position: absolute;
  bottom: calc(var(--dyte-space-1, 4px) * -1);
  right: calc(var(--dyte-space-1, 4px) * -1);
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-600, 60 60 60) / var(--tw-bg-opacity));
  padding: var(--dyte-space-2, 8px);
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.mic-icon dyte-icon {
  height: var(--dyte-space-7, 28px);
  width: var(--dyte-space-7, 28px);
}

:host([size='sm']) .mic-icon dyte-icon {
  height: var(--dyte-space-4, 16px);
  width: var(--dyte-space-4, 16px);
}

:host([size='md']) .mic-icon dyte-icon {
  height: var(--dyte-space-5, 20px);
  width: var(--dyte-space-5, 20px);
}
