/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */



.seoaic-ia {
    .wp-block-post-content {
        position: relative;
    }

    .seoaic-interactive-article-block {
        & ~ * {
            position: absolute;
            left: -300px;
            opacity: 0;

            &.show-animate {
                position: relative;
                animation-duration: 0.5s;
                animation-name: show-animate;
                animation-fill-mode: forwards;
            }
        }

        .seoaic-ia-buttons-content {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;

            button {
                border-style: solid;
                cursor: pointer;
                padding: 15px;
                transition: all .2s linear;

                &:not([disabled]):hover {
                    box-shadow: 2px 2px 3px 1px #000;
                }

                &:disabled {
                    opacity: 0.5;
                    pointer-events: none;
                }
            }
        }

        .seoaic-ia-multi-items-wrapper {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
            margin: 1rem 0;

        }

        .seoaic-ia-multi-item {
            display: flex;
            padding: 15px;
            margin: 0;
            border-style: solid;
            cursor: pointer;
            user-select: none;
        }

        .seoaic-ia-textarea-content textarea {
            width: 100%;
            height: 80px;
            background: #fff;
            border: 0;
            box-sizing: border-box;
            margin: 0;
            padding: 20px;
            box-shadow: inset 0px 2px 6px 0px #0000001c;
            outline: unset;
        }
    }

    @keyframes show-animate {
        from {
            left: -300px;
            opacity: 0;
            // background: red;
            // display: none;
        }

        to {
            left: 0;
            opacity: 1;
            // background: green;
            // display: block;
        }
    }

}

.seoaic-ia-inactive-message {
    &::before {
        content: attr(data-text);
        display: block;
        border: 1px solid #ffb5b6;
        border-left: 4px solid #d63638;
        border-radius: 5px;
        padding: 5px 12px;
        background-color: rgba(255, 0, 0, 0.1);
    }
}