import { globalColor } from "@/utils/colorBuilder"
import { css } from "@emotion/react"
import { Theme } from "@mui/material"

export const searchHeaderContainerStyle =(theme:Theme) => css`
  width: 255px;
  min-width: 255px;
  display: flex;
  flex-direction: column;
   border-right: 0.5px solid ${theme.palette.action.focus};
`

export const addNewActionButtonStyle = css`
  flex-shrink: 1;
`

export const listContainerStyle = css`
  flex-grow: 1;
  width: 100%;
  height: 0;
  flex-shrink: 0;
  overflow-y: auto;
`

export const listStyle = css`
  width: 100%;
`

export const actionListEmptyStyle =(theme:Theme)=> css`
  margin: 8px 16px;
  padding: 8px 12px;
  font-size: 12px;
  color: ${theme.palette.text.secondary};
  border-radius: 4px;
  border: dashed 1px ${theme.palette.text.primary};
`

export const createDropListItemContainerStyle = css`
  display: flex;
  align-items: center;
  gap: 8px;
`

export const prefixIconContainerStyle = css`
  font-size: 10px;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
`

export const dropListWithUpgradeIconStyle = css`
  display: flex;
  align-items: center;
  justify-content: space-between;
`

export const upgradeContainerStyle = css`
  display: flex;
  align-items: center;
  gap: 4px;
  color: ${globalColor("techPurple-03")};
  font-size: 12px;
  font-style: normal;
  line-height: 20px;
`
