import styled from "styled-components"

export const ModalHeader = styled.div`
  background: #07B170;
  border-radius: 20px 20px 0 0;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
`

export const ModalHeaderTitle = styled.div`
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
`

export const ModalHeaderIcon = styled.i`
  color: #ffffff;
  margin-right: 10px;
`

export const ModalBody = styled.div`
  color: #6a6a6a;
  padding: 50px 0;
  text-align: center;
  width: 230px;
  margin: 0 auto;
  font-size: 18px;
`

export const ModalFooter = styled.div`
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
`

export const ModalFooterButton = styled.div`
  font-size: 20px;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  margin-bottom: 10px;
  width: 270px;
  cursor: pointer;
  text-align: center;
`

export const HomeButton = styled(ModalFooterButton)`
  background: #07B170;
  border-color: #07B170;
  color: #ffffff;
`

export const OfferFollowingButton = styled(ModalFooterButton)`
  background: #f1f1f1;
  border-color: #f1f1f1;
  color: #07B170;
`

export const ModalStyled = styled.div`
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  border-radius: 20px;
  background: #ffffff;
  z-index: 99999;
`

export const Overlay = styled.div`
  position: fixed; /* Sit on top of the page content */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  z-index: 9999; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
`

export const ModalWrapper = styled.div``
