.ChatMobileHeader {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--mobile-chat-header-height, 44px);
  flex-shrink: 0;
  min-height: var(--mobile-chat-header-height, 44px);
  max-height: var(--mobile-chat-header-height, 44px);
  background: var(--base-background, #fff);
  padding: 0;
  height: var(--mobile-chat-header-height, 44px);
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid var(--base-border, #e5e5e5);

  .headerRow {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 6px 20px;
    box-sizing: border-box;
  }

  .actionGroup {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    gap: 12px;
    flex-shrink: 0;
  }

  .iconButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--base-muted-foreground, #737373);
    cursor: pointer;

    &:focus-visible {
      outline: 2px solid var(--primary, #0f63ee);
      outline-offset: 2px;
    }
  }
}

.iconButtonPopover {
  max-width: 95.55%;

  @media (min-width: 376px) {
    max-width: 83.27%;
  }

  :global(.adm-popover-inner) {
    max-width: 100%;
  }
}
