.image-grid {
    column-count: 6;
    column-gap: 24px;
    margin: 0 auto;
    width: 100%;
}
.image-container {
    break-inside: avoid;
    padding: 0px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-bottom: 24px;
    overflow: hidden; /* Add this line */
}
.figma-images-container.select-mode .image-container:hover::after, .image-container.checked::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 123, 255, 0.3); /* Semi-transparent overlay */
    cursor: pointer;
    border: 4px solid #0440D2;
}
.figma-images-container.drag-mode .image-container img{
    pointer-events: none;
} 
.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* transition: all 0.3s ease-in-out; */
}
.image-container:hover img {
    /* transform: scale(1.01); */
}
.image-checkbox {
    position: absolute;
    right: 10px;
    top: 10px;
}
@media (max-width: 768px) {
    .image-grid {
        column-count: 1;
    }
}