import { Box, Typography } from "@mui/material";
import styled from "styled-components";
import selectedTheme from "../../../themes";

export const MiniChatCardContainer = styled(Box)`
  background-color: ${props => props.selected ? selectedTheme.primaryPurple : "white"};
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  height: 108px;
  margin-bottom: 18px;
  padding: 18px;
  cursor: pointer;
`;
export const ProfileImage = styled.img`
  width: 72px;
  height: 72px;
  border-radius: 100%;
  overflow: hidden;
`;
export const ProfileDetails = styled(Box)`
  display: flex;
  flex-direction: column;
  margin-left: 18px;
  padding-top: 7px;
`;
export const ProfileName = styled(Typography)`
  font-size: 16px;
  font-weight: 600;
  font-family: "Open Sans";
  color: ${props => props.selected ? selectedTheme.primaryYellow : selectedTheme.primaryPurple};
`;
export const ProfileProduct = styled(Typography)`
  margin-top: 9px;
  font-size: 9px;
  color: ${props => props.selected ? "white" : selectedTheme.primaryDarkTextThird};
  font-family: "Open Sans";
  line-height: 10px;
  margin-left: 1px;
`;
export const ProfileProductName = styled(Typography)`
  font-size: 12px;
  font-weight: ${props => props.selected ? "400" : "600"};
  color: ${props => props.selected ? "white" : selectedTheme.primaryDarkTextThird};
  font-family: "Open Sans";
  line-height: 14px;
  margin-left: 1px;
`;
