.card {
  width: 100%;
  margin-top: 30px;
  background-color: #fff;
  box-shadow: 0px 2px 11px 0px #00000024;
  padding: 24px 5px 5px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  border-radius: 24px;

  & > .header {
    display: flex;
    gap: 16px;
    padding-left: 19px;
    padding-right: 10px;

    & > .icon-container {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      background-color: #fce7f3;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    & > .title {
      font-size: 18px;
      font-weight: 600;
      line-height: 28px;
      color: #111827;
    }
  }

  & > .messages {
    display: flex;
    flex-direction: column;
    padding-left: 13px;
    padding-right: 11px;
    gap: 27px;

    & > .message-container {
      width: fit-content;
      display: flex;
      flex-direction: column;
      max-width: calc(100% - 35px);
      gap: 8px;

      &.own {
        align-items: flex-end;
        align-self: flex-end;
        margin-left: auto;
      }

      & > .message {
        &.advisor {
          background: #efeded;
          box-shadow: 0px 1px 5px 0px #00000054;
        }

        &.own > .meta > .metaTime {
          color: #fff;
        }

        & > .meta {
          justify-content: flex-end;
          margin-top: -12px;
          padding-right: 12px;
          padding-bottom: 7px;
        }
      }
    }
  }

  & > .typingContainer {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-inline: 13px;
    padding-bottom: 13px;
    margin-top: -6px;

    & > .text {
      color: #6b7280;
      font-size: 14px;
      line-height: 16px;

      & > svg {
        display: inline-block;
      }
    }
  }
}
