.attachment_input_alerts > div{
    margin-bottom: var(--space);
}
div.attachment_group div.attachment_list > div.attachment{
    position: relative;
    cursor: pointer;
    margin: var(--space) 0;
}
div.attachment_group div.attachment_list > div.attachment div.floating-container{
    position: absolute;
    top: var(--space);
    right: var(--space);
}
.attachment_group:not(.list) .attachment_attribute:not(.sample) + .attachment_attribute{
    margin-top: var(--space);
}

div.attachment_group div.attachment_list > div.attachment div.image_preview_container{
    height: 60px;
    text-align: center;
    vertical-align: middle;
    background-color: var(--scoped-bg-color);
    position: relative;
}
div.attachment_group div.attachment_list > div.attachment div.base_name{
    text-align: center;
    overflow: hidden;
    max-height: 40px;
    font-size: var(--small-font);
    word-wrap: break-word;
}
div.attachment_group div.attachment_list > div.attachment div.image_preview_container > div.type_icon{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    padding: var(--padding-sm);
    background-color: var(--scoped-bg-color-alt);
    opacity: 0.65;
    border-radius: var(--border-radius);
}
div.attachment_group div.attachment_list > div.attachment div.image_preview_container > img.thumb{
    max-height: 100%;
    max-width: 100%;
    display: inline;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
div.attachment_group div.attachment_list > div.attachment:hover{
    background-color: var(--scoped-bg-color);
}
div.attachment_group div.attachment_list > div.attachment:not(:hover) div.floating-container{
    display: none;
}
.attachment_actions{
    pointer-events: none;
    visibility: hidden;
}
tr:hover > td .attachment_actions{
    pointer-events: initial;
    visibility: initial;
}