/**
 * The following styles get applied inside the editor only.
 *
 * Replace them with your own styles or remove the file completely.
 */

 .seoaic-generate-image-block-wrapper {
}

.seoaic-generated-image-block {
    width: 100%;
}



.seoaic-generate-image-block {
    // width: 65%;
    padding: 15px 50px 25px 50px;
    background: linear-gradient(#f0eaf5, #f0eaf5) padding-box, linear-gradient(to right, #9851e9, #6375eb) border-box;
    border-radius: 5px;
    border: 2px solid transparent;
    position: relative;

    .seoaic-block-title {
        margin-bottom: 20px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;

        &--credit {
            font-weight: 500;
            font-size: 14px;
        }
    }

    .seoaic-logo {
        position: absolute;
        left: 13px;
        top: 13px;
        background-image: url(../../../../../assets/img/wpseoai-favicon-black-50x50.png);
        background-size: contain;
        background-repeat: no-repeat;
        width: 25px;
        height: 25px;
    }

    .seoaic-field-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .seoaic-generated-images {
        flex-wrap: wrap;

        .seoaic-generated-image-wrapper {
            flex: 0 0 calc(50% - 10px);
            height: 200px;
            overflow: hidden;
            cursor: pointer;
            border: 3px solid transparent;

            &.selected {
                background: linear-gradient(to right, #9851e9, #6375eb) border-box;
            }

            img {
                object-fit: contain;
                height: 100%;
                width: 100%;
            }
        }
    }

    .seoaic-generate-image-buttons-wrpaper {
        margin-top: 30px;

        .buttons-group {
            text-align: end;
        }
    }

    .seoaic-generate-image-spinner {
        height: 160px;
        position: relative;

        .waiting-note {
            position: absolute;
            bottom: -10px;
            font-size: 12px;
            text-align: center;
        }
    }
}

.seoaic-gradient-btn {
    background: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #9851e9, #6079ea) border-box;
    border-radius: 3px;
    border: 2px solid transparent;
    color: #6079ea;
    font-size: 14px;
    transition: all 0.2s linear;

    &[disabled] {
        border-color: #949494;
        pointer-events: none;
    }

    &:hover {
        background: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #9851e9, #6375eb) border-box;

        > span {
            background: linear-gradient(to right, #9851e9, #6375eb);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }

    &.is-busy {
        background-image: linear-gradient(-45deg,#fafafa 33%,#acb4e9 0,#acb4e9 70%,#fafafa 0) !important;
        background-origin: unset;
        background-clip: unset;
        border: unset;
        pointer-events: none;
    }
}

.seoaic-image-size-controls-container{
    display: flex;
    justify-content: space-between;
    margin: 15px 0 25px;
    gap: 15px;
}

.seoaic-image-size-control{
    width: 100%;
}