{"version":3,"file":"toggle-content/style-index.css","mappings":";;;AAAA;EACI;EACA;EACA;EACA;AACJ;AACI;EACI;EACA;EACA;EACA;EACA;AACR;AACQ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACZ;AACY;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAChB;AAMQ;EACI;AAJZ;AAUY;;EACI;EACA;AAPhB;AAUY;;EACI;EACA;EACA;AAPhB;AAcQ;EACI;AAZZ;AAkBQ;EACI;AAhBZ;AAmBQ;EACI;AAjBZ;AAmBY;EACI;AAjBhB,C","sources":["webpack://toggle-content-block/./src/toggle-content/style.scss"],"sourcesContent":[".wp-block-buntywp-toggle-content {\n    --switch-width: 50px;\n    --switch-height: 25px;\n    --switch-bg: #ccc;\n    --switch-active-bg: #4caf50;\n\n    .toggle-buttons {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        gap: 10px;\n        margin-bottom: 20px;\n\n        .toggle-switch {\n            position: relative;\n            width: var(--switch-width);\n            height: var(--switch-height);\n            background: var(--switch-bg);\n            border-radius: var(--switch-height);\n            cursor: pointer;\n            transition: background 0.3s;\n            border: none;\n            outline: none;\n\n            &::after {\n                content: \"\";\n                position: absolute;\n                top: 2px;\n                left: 2px;\n                width: calc(var(--switch-height) - 4px);\n                height: calc(var(--switch-height) - 4px);\n                background: #fff;\n                border-radius: 50%;\n                transition: transform 0.3s;\n            }\n        }\n    }\n\n    .block-editor-inner-blocks {\n\n        .toggle-content {\n            display: none;\n        }\n\n        .wp-block-buntywp-left-toggle-content,\n        .wp-block-buntywp-right-toggle-content {\n\n            .aligncenter {\n                margin-left: auto;\n                margin-right: auto;\n            }\n\n            .alignright {\n                float: right;\n                margin-inline-start: 2em;\n                margin-inline-end: 0;\n            }\n        }\n    }\n\n    .left {\n\n        .wp-block-buntywp-left-toggle-content {\n            display: block;\n        }\n    }\n\n    .right {\n\n        .wp-block-buntywp-right-toggle-content {\n            display: block;\n        }\n\n        .toggle-switch {\n            background: var(--switch-active-bg);\n\n            &::after {\n                transform: translateX(calc(var(--switch-width) - var(--switch-height)));\n            }\n        }\n    }\n\n}"],"names":[],"sourceRoot":""}