#immatreeCropperDropBox {
    width: 100%;
    height: 350px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #777;
    cursor: pointer;
    margin-bottom: .5rem;
    padding: 1rem;
    text-align: center;
}
#immatreeCropperDropBox.dragging {
    border-color: #666;
    background-color: #f0f0f0;
}
/* Control the cropper-container */
.cropper-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100% !important; /* Custom width */
    /*min-height: 350px !important;*/ /* Custom height */
    border: 1px solid #ccc; /* Custom border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for styling */
    margin: auto; /* Centering */
}
.immatree-cropper-controller {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;

}
.immatree-cropper-controller button {
    padding: 5px;
    height: 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;

}
.immatree-cropper-controller button svg { 
    fill: white;
}

.preview-gallery {
    margin-top: 10px;
    display: inline-flex;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 15px;
    min-height: 150px;
    width: 100%;
    padding: 15px;
    background-color: #F6F9FA;
    border: 1px solid #ddd;
}
.preview-gallery-item {
    width: 100px;
    position: relative;
    display: inline-block;
}

.preview-gallery-item img {
    width: 100%;
    display: block;
    /*height: 100px;*/
    /*object-fit: cover;*/
    border: 1px solid #ccc;
}

.preview-gallery-item .remove-button {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    width: 30px;
    height: 30px;
    padding: 5px;
    /*border-radius: 50%;*/
}

.preview-gallery-item .make-primary-button {
    position: absolute;
    top: 35px;
    right: 0px;
    background-color: rgba(0, 200, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    width: 30px;
    height: 30px;
    padding: 5px;
    /*border-radius: 50%;*/
}
.add-product-images {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-align: center;
/*    line-height: 100px;*/
    align-content: center;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ddd;
}
.add-product-images:hover {
    opacity: .5;
}

@media(max-width: 450px) {
    .preview-gallery-item {
        width: 70px;
    }
    .preview-gallery-item .remove-button, .preview-gallery-item .make-primary-button {
        font-size: 12px;
        width: 25px;
        height: 25px;
        padding: 0px;
    }
    .add-product-images {
        width: 70px;
        height: 70px;
/*        line-height: 70px;  */
    }
}


