@import '../../styles/index.less';

@chat-msg-prefix-cls: ~'@{supersonic-chat-prefix}-chat-msg';

.@{chat-msg-prefix-cls} {
  padding: 6px 14px 8px;
  border: 1px solid var(--border-color-base);
  border-radius: 4px;
  background: #f5f8fb;
  max-width: calc(100vw - 410px);

  &-bottom-tools {
    display: flex;
    align-items: center;
    column-gap: 20px;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 2px;

    &.mobile {
      flex-wrap: wrap;
    }
  }

  &-metric-card-tools {
    margin-top: 0;
  }
}
