:host {
  z-index: 100000000;
}

:host,
input,
button,
select,
textarea {
  font-family: 'Roboto', sans-serif;
}

.zea-chip {
  color: var(--color-foreground-1);
  user-select: none;
}

.zea-chip-avatar {
  border: 2px solid var(--color-background-2);
  width: 32px;
  height: 32px;
  border-radius: 18px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 13px;
}

.active .zea-chip-avatar {
  box-shadow: 0px 0px 1px 2px var(--color-primary-1);
}

.avatar-image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 18px;
  background-size: cover;
  background-position: center center;
}

.empty-user-chip {
  display: none;
}

/* densities */
.small .zea-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 36px;
  font-size: 13px;
}

.small .avatar-image {
  border-radius: 36px;
}

.large .zea-chip-avatar {
  width: 60px;
  height: 60px;
  border-radius: 36px;
  font-size: 18px;
}

.large .avatar-image {
  border-radius: 36px;
}

zea-user-card {
  position: absolute;
  margin-top: 3px;
}

zea-user-card.align-right {
  margin-left: -256px;
}

.tooltip {
  position: absolute;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--color-foreground-1);
  background-color: var(--color-grey-3);
  z-index: 100000000;
  white-space: nowrap;
  margin-left: 18px;
  transform: translateX(-50%);
  display: none;
}

.zea-chip:hover .tooltip {
  display: block;
}

.tooltip.bleeded-right {
  right: 0;
  transform: none;
}

.tooltip.bleeded-left {
  left: 0;
  margin-left: 0;
  transform: none;
}

@media only screen and (max-width: 667px) {
  zea-user-card {
    position: fixed;
    width: 100%;
    left: 0;
  }
}

@media only screen and (max-width: 667px), only screen and (max-height: 667px) {
  .tooltip {
    display: none !important;
  }
}
