import styled from 'styled-components/macro'

export const Form = styled.form``

export const Column = styled.div`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
`

export const ButtonsBlock = styled.div`
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-top: 40px;
`

export const Input = styled.input`
  color: #fff;
  font-family: Montserrat, Tahoma, sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 48px;
  background-color: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 0;
  margin: 0;

  :-webkit-autofill,
  :-webkit-autofill:hover,
  :-webkit-autofill:focus,
  :-webkit-autofill:active  {
    box-shadow: 0 0 0 30px #535353 inset;
    caret-color: ${({ theme: { colors } }) => colors.text};
    -webkit-text-fill-color: ${({ theme: { colors } }) => colors.text};
  }
`

export const Errors = styled.span`
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 16px;
  color: red;
`
