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


export const Commands = styled(Box)`
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  @media (max-width: 600px) {
    align-items: flex-start;
  }
`;
export const PhoneIcon = styled(Phone)`
  @media (max-width: 600px) {
    width: 14px;
    height: 14px;
    position: relative;
    top: 1px;
  }
`;
export const PhoneIconContainer = styled(IconButton)`
  width: 40px;
  height: 40px;
  background-color: ${selectedTheme.colors.primaryIconBackgroundColor};
  border-radius: 100%;
  padding-top: 2px;
  text-align: center;
  @media (max-width: 600px) {
    width: 32px;
    height: 32px;
    top: 16px;
    right: 16px;
    padding: 0;
    ${(props) =>
      props.vertical &&
      `
      display: none;
    `}
    & button svg {
      width: 16px;
      height: 16px;
      position: relative;
      top: -3px;
      left: -2.4px;
    }
  }
`;

export const CheckButton = styled(PrimaryButton)`
  width: 180px;
  height: 48px;
  &:hover {
    background-color: ${selectedTheme.colors.primaryPurple};
    color: white !important;
    border-radius: 4px;
  }
  @media (max-width: 1024px) {
    width: 150px;
    height: 40px;
    margin-left: 2vw;
    & button {
      padding: 0;
      font-size: 11px;
    }
  }
  @media (max-width: 600px) {
    display: none;
  }
  transition: 0.2s all;
`;
export const Popover = styled(PopoverComponent)`
  
`