import styled from "styled-components";
import { Card, Typography, Grid, Box } from "@mui/material";
import selectedTheme from "../../themes";
import { ReactComponent as Edit } from "../../assets/images/svg/edit.svg";
// import { ReactComponent as Pocket } from "../../assets/images/svg/pocket.svg";
// import { ReactComponent as Globe } from "../../assets/images/svg/globe.svg";
import { ReactComponent as Mail } from "../../assets/images/svg/mail.svg";
// import { ReactComponent as Location } from "../../assets/images/svg/location.svg";
// import { PRIMARY_PURPLE_COLOR, PRIMARY_YELLOW_COLOR } from '../../constants/stylesConstants';

export const ProfileCardContainer = styled(Box)`
  width: 100%;
  box-sizing: border-box;
  padding: 0 50px;
  margin-top: 34px;
  @media (max-width: 600px) {
    padding: 0;
  }
`;
export const EditIcon = styled(Edit)`
  width: 18px;
  height: 18px;
  & path {
    stroke: ${selectedTheme.primaryPurple};
  }
`;
export const EditButton = styled(Box)`
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: ${selectedTheme.primaryPurple};
  font-weight: 900;
  background: #f4f4f4;
  border-radius: 360px;
  padding: 0.45rem 0.45rem 0.27rem 0.57rem;
  cursor: pointer;
`;

export const MessageButton = styled(EditButton)`
  background: ${selectedTheme.primaryPurple};
  width: 40px;
  height: 40px;
`;

export const ProfileCardWrapper = styled(Card)`
  border: 1px solid ${selectedTheme.primaryPurple};
  background: ${(props) =>
    props.isMyProfile ? selectedTheme.primaryPurple : "white"};
  width: 100%;
  min-width: fit-content;
  padding: 1rem;
  position: relative;
`;

// export const ProfileName = styled(Typography)`
//   color: ${(props) =>
//     props.isMyProfile
//       ? selectedTheme.primaryYellow
//       : selectedTheme.primaryPurple};
//   font-weight: 700;
//   font-size: 24px;
//   font-family: "Open Sans";
//   margin-bottom: 5px;
//   @media (max-width: 600px) {
//     font-size: 18px;
//   }
// `;

// export const ProfilePIB = styled(Typography)`
//   color: ${(props) =>
//     props.isMyProfile ? "white" : selectedTheme.primaryDarkText};
//   margin-top: 0.18rem;
//   font-family: "Open Sans";
//   font-size: 16px;
//   padding-top: 1px;
//   @media (max-width: 600px) {
//     font-size: 14px;
//   }
// `;
// export const ProfilePIBContainer = styled(Grid)`
//   display: flex;
//   justify-content: center;
//   align-items: center;
//   position: relative;
//   left: 5px;
// `;

// export const ProfileMainInfo = styled(Grid)`
//   display: flex;
//   justify-content: start;
//   align-items: start;
// `;

// export const AvatarImageContainer = styled(Grid)`
//   display: flex;
//   justify-content: start;
//   align-items: center;
// `;

// export const ProfileMainInfoGrid = styled(Grid)`
//   display: flex;
//   flex-direction: column;
//   align-items: start;
//   margin-left: 16px;
// `;

// export const ProfileContact = styled(Grid)`
//   padding-top: 2rem;
//   padding-bottom: 2rem;
//   @media (max-width: 600px) {
//     padding-bottom: 1rem;
//   }
// `;

// export const ContactItem = styled(Typography)`
//   margin-right: 2rem;
//   margin-left: 0.4rem;
//   color: ${(props) =>
//     props.isMyProfile ? "white" : selectedTheme.primaryDarkText};
//   display: unset;
//   font-family: "Open Sans";
//   letter-spacing: 0.02em;
//   font-size: 16px;
//   position: relative;
//   bottom: 1px;
//   @media (max-width: 600px) {
//     font-size: 14px;
//     bottom: 4px;
//   }
// `;

// export const StatsItem = styled(Typography)`
//   margin-right: 2rem;
//   display: unset;
//   margin-left: 1rem;
//   font-family: "Open Sans";
//   font-size: 16px;
//   margin-bottom: 2px;
//   @media (max-width: 600px) {
//     font-size: 12px;
//   }
// `;

// export const ProfileStats = styled(Grid)`
//   display: flex;
//   justify-content: start;
//   align-items: center;
//   background: ${selectedTheme.primaryDarkTextSecond};
//   width: calc(100% + 2rem);
//   padding-top: 1.3rem;
//   padding-bottom: 1.3rem;
//   margin-bottom: -1rem;
//   margin-left: -1rem;
//   border-radius: 0 0 4px 4px;
// `;
// export const AvatarImage = styled.img`
//   min-height: 144px;
//   min-width: 144px;
//   width: 144px;
//   height: 144px;
//   border-radius: 100%;
//   @media (max-width: 600px) {
//     min-height: 90px;
//     min-width: 90px;
//     width: 90px;
//     height: 90px;
//   }
// `;

export const ProfileCardHeader = styled(Grid)`
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 11px;
`;

export const HeaderTitle = styled(Typography)`
  font-size: 16px;
  font-family: "Open Sans";
  color: ${selectedTheme.primaryDarkTextThird};
  position: relative;
  @media (max-width: 600px) {
    font-size: 12px;
  }
`;
// export const PocketIcon = styled(Pocket)`
//   width: 22px;
//   height: 22px;
//   position: relative;
//   left: -5px;
//   top: 2px;
//   & path {
//     stroke: #b4b4b4;
//   }
//   @media (max-width: 600px) {
//     width: 14px;
//     height: 14px;
//   }
// `;
// export const MailIcon = styled(Mail)`
//   height: 24px;
//   width: 24px;
//   & path {
//     stroke: ${(props) =>
//       props.isMyProfile
//         ? selectedTheme.iconMineProfileColor
//         : selectedTheme.iconProfileColor};
//   }
//   @media (max-width: 600px) {
//     width: 14px;
//     height: 14px;
//   }
// `;
// export const GlobeIcon = styled(Globe)`
//   height: 22px;
//   width: 22px;
//   & path {
//     stroke: ${(props) =>
//       props.isMyProfile
//         ? selectedTheme.iconMineProfileColor
//         : selectedTheme.iconProfileColor};
//   }
//   @media (max-width: 600px) {
//     width: 14px;
//     height: 14px;
//   }
// `;
// export const LocationIcon = styled(Location)`
//   height: 22px;
//   width: 22px;
//   & path {
//     stroke: ${(props) =>
//       props.isMyProfile
//         ? selectedTheme.iconMineProfileColor
//         : selectedTheme.iconProfileColor};
//   }
//   @media (max-width: 600px) {
//     width: 14px;
//     height: 14px;
//   }
// `;
export const MessageIcon = styled(Mail)`
  width: 19.5px;
  height: 19.5px;
  position: relative;
  left: 2.5px;
  top: 3.5px;
  & path {
    stroke: ${selectedTheme.primaryYellow};
  }
  @media (max-width: 600px) {
    width: 14px;
    height: 14px;
    right: 0.5px;
  }
`;

export const ProfileInfoContainer = styled(Grid)`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
`;

// export const ProfileStatsGrid = styled(Grid)`
//   display: flex;
//   flex-direction: column;
//   justify-content: center;
//   align-items: start;
// `;
