{"version":3,"file":"Styles.mjs","sources":["../../../../admin/src/components/CustomRadioGroup/Styles.tsx"],"sourcesContent":["import { Flex, inputFocusStyle } from '@strapi/design-system';\nimport { styled } from 'styled-components';\n\nconst Wrapper = styled(Flex)`\n  position: relative;\n  align-items: stretch;\n\n  label {\n    max-width: 50%;\n    cursor: pointer;\n    user-select: none;\n    flex: 1;\n\n    ${inputFocusStyle()}\n  }\n\n  input {\n    position: absolute;\n    opacity: 0;\n  }\n\n  .option {\n    height: 100%;\n    will-change: transform, opacity;\n    background: ${({ theme }) => theme.colors.neutral0};\n    border: 1px solid ${({ theme }) => theme.colors.neutral200};\n    border-radius: ${({ theme }) => theme.borderRadius};\n\n    .checkmark {\n      position: relative;\n      display: block;\n      will-change: transform;\n      background: ${({ theme }) => theme.colors.neutral0};\n      width: ${({ theme }) => theme.spaces[5]};\n      height: ${({ theme }) => theme.spaces[5]};\n      border: solid 1px ${({ theme }) => theme.colors.neutral300};\n      border-radius: 50%;\n\n      &:before,\n      &:after {\n        content: '';\n        display: block;\n        border-radius: 50%;\n        width: ${({ theme }) => theme.spaces[3]};\n        height: ${({ theme }) => theme.spaces[3]};\n        position: absolute;\n        top: 3px;\n        left: 3px;\n      }\n\n      &:after {\n        transform: scale(0);\n        transition: inherit;\n        will-change: transform;\n      }\n    }\n  }\n\n  .container input:checked ~ div {\n    background: ${({ theme }) => theme.colors.primary100};\n    color: ${({ theme }) => theme.colors.primary600};\n    .checkmark {\n      border: solid 1px ${({ theme }) => theme.colors.primary600};\n      &::after {\n        background: ${({ theme }) => theme.colors.primary600};\n        transform: scale(1);\n      }\n    }\n  }\n`;\n\nexport { Wrapper };\n"],"names":["Wrapper","styled","Flex","inputFocusStyle","theme","colors","neutral0","neutral200","borderRadius","spaces","neutral300","primary100","primary600"],"mappings":";;;AAGA,MAAMA,OAAAA,GAAUC,MAAAA,CAAOC,IAAAA,CAAK;;;;;;;;;;AAUxB,IAAA,EAAEC,eAAAA,EAAAA;;;;;;;;;;;gBA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