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

export const ChatOffer = styled(Box)`
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 36px;
  @media (max-width: 600px) {
    display: none;
  }
`;

export const OfferText = styled(Box)`
  font-family: ${selectedTheme.fonts.textFont};
  font-size: "12px";
  color: ${selectedTheme.colors.primaryText};
`;

export const OfferTitle = styled(Typography)`
  font-family: ${selectedTheme.fonts.textFont};
  flex: 1;
  color: ${selectedTheme.colors.primaryPurple};
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  @media (max-width: 550px) {
    font-size: 14px;
    display: none;
    ${(props) =>
      props.vertical &&
      `
      display: flex;
      flex: none;
      position: relative;
      line-height: 22px; 
      margin-top: 5px;
      font-size: 18px;

    `}
  }
`;

export const OfferCardContainer = styled(Container)`
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 16px;
  max-width: 2000px;
  position: relative;
  @media (max-width: 550px) {
  }
`;

export const OfferImgWrapper = styled(Box)`
  overflow: hidden;
  border-radius: 4px;
  width: 72px;
  height: 72px;
  min-width: 72px;
  max-width: 72px;
`;

export const OfferImage = styled.img`
  max-width: 72px;
  max-height: 72px;
  min-width: 72px;
  width: 72px;
  height: 72px;
  border-radius: 4px;
`;
export const Col = styled(Box)`
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 18px;
  flex: 1;
  @media (max-width: 1024px) {
    ${(props) => props.mobileDisappear && `display: none;`}
  }
  @media (max-width: 600px) {
    ${(props) => props.mobileDisappear && `display: none;`}
  }
`;
