/* ************* DRAG AND DROP  ********************************** */

.custom-drop-area-full {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
    background-color: white;
    border-radius: 9px;
    border: 2px dashed #d9d9d9;
    padding-top: 30px;
}

.custom-drop-area-full .custom-thumbnail-zone {
    display: flex; /* Ensures thumbnails line up horizontally or wrap */
    flex-wrap: wrap; /* Allows thumbnails to wrap to the next line if needed */
    justify-content: flex-start; /* Align thumbnails to the start (left) */
    align-items: flex-start; /* Align thumbnails to the top */
    width: 100%; /* Full width to break free of centering */
    gap: 20px; /* Space between thumbnails */
    margin-top: 10px; /* Space between thumbnails and the drag/drop UI */
    padding: 25px 10px 10px 10px;
}


.custom-drop-area-part {
    width: 300px;
    height: 200px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    line-height: 200px;
    font-family: Arial, sans-serif;
    color: #666;
    transition: border-color 0.3s, background-color 0.3s;
}

.custom-drop-area-full.custom-drag-over {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.custom-drop-area-part.custom-drag-over {
    border-color: #007bff;
    background-color: #f0f8ff;
}

/* ****************+ THUMBNAIL ************************** */

.custom-thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 10px;
    padding: 10px;
}

.custom-thumbnail {
    position: relative;
    width: 300px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
}

.custom-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    border: none;
    width: 25px !important;
    height: 25px !important;
    cursor: pointer;
}
