import styled from "styled-components";

const StructuredDataWrapper = styled.div`
  display: flex;
  flex-grow: 1;
`;

const TableListWrapper = styled.div`
  position: relative;
  width: 100%;
  height: calc(100vh - ${(p) => p.theme.spacing.xl});
  overflow: auto;
  display: flex;
  flex-direction: column;
`;

const NotificationWrapper = styled.div`
  width: 100%;
`;

const EmptyWrapper = styled.div`
  height: ${(p) => `calc(100vh - (${p.theme.spacing.xl} * 3))`};
  display: flex;
  align-items: center;
`;

const ModalContent = styled.div`
  padding: ${(p) => p.theme.spacing.m};

  p {
    margin-bottom: ${(p) => p.theme.spacing.m};
  }
`;

const SearchTags = styled.div`
  & > div:nth-child(1) {
    margin-bottom: ${(p) => p.theme.spacing.xs};
  }
  & > div:nth-child(2) {
    margin-bottom: ${(p) => p.theme.spacing.xs};
  }
`;

export { StructuredDataWrapper, NotificationWrapper, TableListWrapper, EmptyWrapper, ModalContent, SearchTags };
