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

.wtai-grid-keyword-invalid-image-popup.wtai-no-display,
.wtai-grid-invalid-image-popup.wtai-no-display {
    display: none;
}

.wtai-keywords-invalid-image-popup-modal,
.wtai-categories-invalid-image-popup-modal,
.wtai-invalid-image-popup-modal,
.wtai-grid-keyword-invalid-image-popup-modal,
.wtai-grid-invalid-image-popup-modal {
    .modal-header {
        h1 {
            color: #DC3232;
            display: flex;
            
            &::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: 21px;
                margin-right: 10px;
                vertical-align: middle;
                min-width: 21px;
            }
        }
    }

    .modal-inner-wrap {
        max-width: 800px;
        width: max-content;
    }

    .modal-content {
        padding-bottom: 0;
    }

    .wtai-content {

        &.wtai-no-proceed {
            .action-primary {
                display: none;
            }
        }

        .wtai-images {
            display: flex;
            overflow: auto;
            margin-bottom: 5px;

            img {
                width: 50px;
                height: 50px;
                object-fit: contain;
                border: 1px solid #DDDDDD;
            }

            img + img {
                margin-left: 10px;
            }
    
        }

        .wtai-upload-error-message {
            font-size: 13px;
            color: #DC3232;
            line-height: 100%;
        }
        
        button {
            flex-shrink: 0;
            margin-left: 10px;

            &.action-default {
                margin-left: auto;
            }
        }
    }
}