/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */

.wtai-grid-index {
    &.wtai-cannibalizing {
        overflow: hidden;
    }

    .page-wrapper {
        position: relative;
    }
}

#wtai-cannibalization-analyzer-container {
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: ~"calc(100vw - 88px)";
    height: 100vh;
    z-index: 600;
    top: 0;
    left: 0;
}

.wtai-cannibalization-preloader {
    text-align: center;
    padding: 30px;
    
    .logo {
        margin-bottom: 20px;
        
        img {
            max-width: 200px;
        }
    }
    
    .title {
        font-size: 24px;
        font-weight: 300;
        color: @color-gray-darken3;
        margin-bottom: 30px;
    }
    
    .subtitle {
        text-align: center;
        font-size: 16px;
        color: @color-gray-darken3;
        max-width: 500px;
        margin: 0 auto;
        position: relative;
        padding-left: 35px;
        display: inline-block;
        text-align: left;
        
        &::before {
            background-image: url("../WriteTextAI_WriteTextAI/images/generate-ongoing.gif");
            background-color: transparent;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: contain;
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 19px;
            width: 19px;
            mix-blend-mode: multiply;
        }
    }
}