.comment-image-container{
    background-color: #f2f6fb;
    padding:20px;
    border:dotted 1px #eee;
    box-sizing: border-box;
    margin:20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.comment-image-container:hover{
    background-color: #e7eaf1;
}

.comment-image-view,.comment-image-add{
    position: relative;
    display: inline-block;
    flex:0 0 250px;
    height: 200px;
    background-color: #fff;
    text-align: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.comment-image-view:hover{
    box-shadow: 0 0 15px 0 rgb(0, 0, 0, 10%);
}

.comment-image-uploading .comment-image-remove{
    display: none!important;
}

.comment-image-add {
    background-image: url(./bg.svg);
    background-position: center 20px;
    background-repeat: no-repeat;
    background-size: 80%;
    padding-top: 80px;
}

.comment-image-view img{
    max-width:100%;
    max-height: 100%;
}

.comment-image-add button{
    background-color: #2975f9;
    color:#fff;
    width: 100px;
    height: 30px;
    border: none;
    cursor: pointer;
}

.comment-image-add button:hover{
    opacity: 0.9;
}
.comment-image-tips{
    color:#606178;
    line-height: 1.8;
    margin-top: 10px;
    font-size: 13px;
    text-align: left;
}

.comment-image-remove {
    position: absolute;
    background-color: rgb(0 0 0 / 40%);
    color: #fff;
    text-align: center;
    line-height: 26px;
    font-size: 26px;
    top: -15px;
    right: -15px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.comment-image-view:hover .comment-image-remove{
    display: block;
}

.comment-image-remove:hover{
    background-color: rgb(0 0 0 / 80%);
}

.comment-image-file{
    display: none!important;
}

.comment-image-loading{
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 70%);
    color:#fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comment-image-content-img{
    cursor: pointer;
    border:solid 1px #eee;
    display: inline-block;
}

.comment-image-content-img img{
    max-width: 100%;
    height: auto;
}

.comment-image-full-view{
    position: fixed;
    left: 0;
    top: 0;
    width:100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.comment-image-full-view img{
    max-height: 90%;
    max-width: 90%;
}

.comment-image-full-close{
    position: absolute;
    top:50px;
    right:50px;
    font-size: 80px;
    color:#fff;
    cursor: pointer;
}

.comment-image-message {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: rgb(0 0 0 / 60%);
    color: #fff;
    font-size: 15px;
    max-width: 200px;
    height: 40px;
    line-height: 40px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    padding: 0 10px;
}

.qa-editor-main .comment-image-container{
    display: none;
}

@media (max-width: 1000px) {
    .comment-image-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .comment-image-container{
        grid-template-columns: repeat(1, 1fr);
    }
    .comment-image-remove{
        display: block;
    }
    .comment-image-full-close{
        top:30px;
        right:20px;
    }
}