import styled from 'styled-components/macro'

import { customScrollbar, customStylesMixin } from 'features/Common'

export const Label = styled.label`
  letter-spacing: -0.01em;
  color: #999999;
  font-size: 16px;
`

export const PopOver = styled.ul`
  position: absolute;
  max-height: 400px;
  width: 100%;
  top: 55px;
  left: -1px;
  overflow: auto;
  z-index: 2;
  background: rgb(102, 102, 102);
 ${customScrollbar}
 ${customStylesMixin}
`

export const ListOption = styled.li<{isHighlighted?: boolean}>`
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding-left: 24px;
  color: ${({ isHighlighted }) => (
    isHighlighted
      ? '#fff'
      : '#ccc'
  )};
  background-color: ${({ isHighlighted }) => (
    isHighlighted
      ? '#999'
      : '#3F3F3F'
  )};
  cursor: pointer;

  &:hover {
    background-color: #999;
    color: #fff;
  }
`
