import { Box } from "@mui/material";
import styled from "styled-components";
import selectedTheme from "../../../../themes";
import {ReactComponent as Location} from "../../../../assets/images/svg/location.svg"
import {ReactComponent as Phone} from "../../../../assets/images/svg/phone.svg"
import { IconButton } from "../../../Buttons/IconButton/IconButton";


export const DirectChatContentHeaderContainer = styled(Box)`
    height: 90px;
    background-color: ${selectedTheme.chatHeaderColor};
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 17px;
    padding-left: 35px;
    justify-content: space-between;
`
export const DirectChatContentHeaderFlexContainer = styled(Box)`
    display: flex;
    flex-direction: row;
`
export const ProfileImage = styled.img`
    width: 54px;
    height: 54px;
    border-radius: 100%;
    overflow: hidden;
`
export const ProfileDetails = styled(Box)`
    display: flex;
    flex-direction: column;
    margin-left: 18px;
`
export const ProfileName = styled(Box)`
    font-weight: 600;
    font-family: "Open Sans";
    font-size: 16px;
    color: ${selectedTheme.primaryPurple};
`
export const ProfileLocation = styled(Box)`
    display: flex;
    flex-direction: row;
`
export const ProfileLocationText = styled(Box)`
    color: ${selectedTheme.primaryDarkText};
    font-size: 12px;
    font-family: "Open Sans";
    margin-left: 5.5px;

`
export const ProfileLocationIcon = styled(Location)`
    width: 12px;
    height: 12px;
    position: relative;
    top: 2px;
`
export const PhoneIcon = styled(Phone)`
    position: relative;
    top: 2.5px;
    left: 1.5px;
`
export const PhoneIconContainer = styled(IconButton)`
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    transition: .2s all;
    &:hover button:hover {
        background-color: ${selectedTheme.primaryIconBackgroundColor};
    }
    &:hover {
        background-color: ${selectedTheme.primaryIconBackgroundColor};
        cursor: pointer;
    }
`