.root {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;
  padding: 0 0.6875rem;

  :global(.emoji-small) {
    width: 1rem;
    height: 1rem;
    margin-top: -0.1875rem;
  }
}

.chatInfo {
  overflow: hidden;
  display: flex;
  flex-direction: column;

  min-width: 15.8125rem;
  max-width: min(80%, 25rem);
  border-radius: var(--border-radius-messages);

  font-size: calc(var(--message-text-size, 1rem) - 0.0625rem);
  font-weight: var(--font-weight-normal);
  text-align: center;
}

.chatBackground {
  contain: layout; // Force new stacking context for text blending

  margin: 5rem 0 2rem;
  padding: 1rem 1.5rem;

  color: white;

  background-color: var(--action-message-bg);
}

.botBackground {
  color: var(--color-text);
  background-color: var(--color-background);
}

.bot-info-description {
  padding: 0.5rem 1rem;
  text-wrap: pretty;
}

.bot-info-title {
  margin-bottom: 0.25rem;
  font-weight: var(--font-weight-medium);
}

.media {
  max-width: 100%;
  height: auto !important;
}

.chatInfoTitle {
  margin: 0 0 0.25rem;
  font-weight: var(--font-weight-semibold);
}

.chatInfoSubtitle {
  margin-bottom: 0.25rem;
}

.chatDescription {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  justify-content: flex-start;

  margin: 0;
}

.country {
  width: 1rem;
  height: 1rem;
}

.chatNotVerified {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;

  margin-top: 1rem;
}

.verifiedTitle {
  margin-bottom: 0;
}

.link {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  &:hover {
    text-decoration: none;
  }
}

.linkInfo:hover {
  text-decoration: underline;
}

.icon {
  margin-inline-start: -0.1875rem;
}

.textColor {
  color: white;
  mix-blend-mode: overlay;
}
