import {styled} from '@mui/material/styles';
import {TimelineStepSeparator as separator} from './timeline-step-separator.style';

const Container = styled('ul')`
    list-style: none;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    width: 100%;
    border-radius: ${({theme}) => theme.spacing(0.75)};
    border: 1px solid ${({theme}) => theme.palette.gray[300]};
`;

const Step = styled('li')`
    padding: 0.5rem 1rem;
    position: relative;
    flex: 1;
    ${({theme}) => separator(theme)}
`;

export const TimelineStepStyle = {
    Container,
    Step,
};
