import styled from 'styled-components';
import React from 'react';

interface IProps {
  info: string;
}

function AdditionalInformation(props: IProps) {
  return (
    <Container>
      <Rect />
      <AdditionalInfo>
        <Text>{props.info}</Text>
      </AdditionalInfo>
    </Container>
  );
}

const Text = styled.p`
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  margin: 0;
  padding: 0;
`;

const Container = styled.div`
  display: flex;
  align-items: center;
`;

const Rect = styled.div`
  width: 9px;
  height: 45px;
  background: #3a3630;
`;

const AdditionalInfo = styled.div`
  display: flex;
  padding: 3px 10px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 0px 15px 15px 0px;
  background: rgba(63, 151, 188, 0.6);
  box-shadow: 2px 0px 2px 0px rgba(0, 0, 0, 0.25) inset;
`;

export default AdditionalInformation;
