import styled from '@emotion/styled';

export const Section = styled.div`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem 1rem 1.25rem;
  cursor: pointer;
  box-sizing: border-box;
  border: 0.06rem solid var(--Stroke, rgba(0, 0, 0, 0.1));
  border-radius: 1rem;
  box-shadow:
    0rem 2rem 4rem -2rem rgba(0, 0, 0, 0.02),
    0rem 4rem 6rem -1rem rgba(0, 0, 0, 0.02);
  background: var(--White, rgba(255, 255, 255, 1));
`;

export const SectionStartPart = styled.div`
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.5rem;

  .for-img-table {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: var(--PrimaryLight, rgba(237, 248, 240, 1));

    .img-table {
      background-image: url('images/Table.svg');
      width: 1.25rem;
      height: 1.25rem;
      display: flex;
      align-items: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
  }
`;

export const SectionTitle = styled.div`
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
`;

export const UsersList = styled.div`
  display: flex;
  gap: 0.5rem;

  .img-user {
    width: 1rem;
    height: 1rem;
    background-image: url('images/User.svg');
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .user {
    color: var(--GreyDark, rgba(74, 85, 101, 1));
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.06rem;
    letter-spacing: 0rem;
    text-align: left;
    width: max-content;
    height: 1.38rem;
    padding: 0rem 0.5rem 0rem 0.5rem;
    box-sizing: border-box;
    border: 0.06rem solid var(--Stroke, rgba(0, 0, 0, 0.1));
    border-radius: 0.5rem;
    background: var(--White, rgba(255, 255, 255, 1));
  }
`;

export const Right = styled.div`
  width: 1.5rem;
  height: 1.5rem;
  background-image: url('images/Right.svg');
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
`;
