import styled from "styled-components"; export const ModalWindow = styled.div` width: 100%; position: fixed; top: 0; left: 0; z-index: 9999; background-color: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; height: 100%; ` export const ModalContainer = styled.div<{height?: string}>` border-radius: 12px; background: ${(props)=>props.theme.secondary}; color: ${(props=>props.theme.textColor)}; position: relative; max-height: 100%; overflow: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 15px; height: ${(props) => props.height ? props.height : '230px'}; width: 520px; ` export const ModalTitle = styled.div` padding: 20px; border-bottom: 1px solid #9D9D9D; display: flex; justify-content: space-between; h3{ font-size: 18px; } ` export const ModalContent = styled.div` padding: 0 20px; h3{ font-size: 14px; } p{ font-size: 12px; } ` export const ModalText = styled.div` display: flex; flex-direction: column; align-items: flex-start; gap: 10px; ` export const ErrorMessage = styled.p` color: #d95454; ` export const ButtonContainer = styled.div` justify-content: flex-end; display: flex; gap: 10px; padding: 20px; `