import styled from 'styled-components';

export const Container = styled.div`
  border-radius: 10px;
  border: 1px solid #f5f7f7;
  background: #fff;
  ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 22px;
    gap: 15px;
    li {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 16px;
    }
  }
  .section {
    padding: 15px 0 0;
    > p {
      padding: 0 22px;
      color: #1c2434;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 5px;
    }
    ul {
      padding: 5px 22px 15px;
    }
  }
`;

export const Header = styled.div`
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: #f5f7f7;
  height: 40px;
  padding: 0px 20px;
  cursor: pointer;
  p {
    color: #7c8080;
    font-size: 18px;
    font-weight: 700;
  }
  svg {
    transform: ${({ $toggle }) =>
      $toggle ? 'rotate(180deg)' : 'rotate(0deg)'};
  }
`;
