/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
 
.wtai-upload-image-loader,
.wtai-upload-image-loader-ideas {
    &.wtai-no-display {
        display: none;
    }
}

.wtai-upload-image-loader-modal,
.wtai-upload-image-loader-ideas-modal {
    .modal-header {
        display: none;
    }

    .modal-inner-wrap {
        max-width: 800px;
        width: max-content;
    }
    
    .modal-content {
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wtai-content {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        &::before {
            background-color: transparent;
            background-image: url("../WriteTextAI_WriteTextAI/images/generate-ongoing.gif");
            background-position: center center;
            background-repeat: no-repeat;
            background-size: contain;
            content: "";
            display: inline-block;
            height: 19px;
            margin-right: 10px;
            vertical-align: middle;
            width: 19px;
            margin-bottom: 10px;
            mix-blend-mode: multiply;
        }

        span::before {
            background-color: transparent;
            background-image: url("../WriteTextAI_WriteTextAI/images/generate-error.png");
            background-position: center center;
            background-repeat: no-repeat;
            background-size: contain;
            content: "";
            display: inline-block;
            height: 19px;
            margin-right: 10px;
            vertical-align: middle;
            width: 19px;
        }
    }
}