import styled from 'styled-components';

export const TokenSearchStatic = styled.div`
    position: relative;
    margin-top: -20px;
    padding-bottom: 200px;
    h1 {
        margin: 0;
    }
`;

export const SearchForm = styled.div`
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 20px 20px 24px;
    gap: 16px;
    background: white;
`;

export const SearchFormContent = styled.div`
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
`;

type SearchProps = {
    terms?: string;
};

export const SearchInput = styled.input<SearchProps>`
    flex: 1;
    padding: 8px;
    font-size: 16px;
    height: 32px;
    border-style: solid;
    border-width: 1px;
    border-color: ${({ terms }) => (terms ? `orange;` : '#ccc')};
`;
