/* booking_image_uploader.css */

/* Preview container for uploaded images */
.booking-image-preview {
    margin-bottom: 0.5rem;
}

/* Dropzone preview thumbnails */
.booking-image-preview .dz-preview {
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    width: 100px;
    height: 100px;
    font-size: 0.7rem;
    line-height: 0.8rem;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    border: 1px solid grey;
    overflow: clip;
    border-radius: 0.5rem;
    margin: 2px;
    padding: 0;
}

/* Style for required images */
.booking-image-preview .dz-preview.required {
    border: 1px solid red;
    padding: 3px;
}

/* Style for clickable image previews */
.booking-image-preview .dz-preview.clickable {
    border: 3px solid red;
    font-weight: bold;
    padding: 3px;
}

/* Image styles within a dropzone preview */
.booking-image-preview .dz-image img {
    max-width: 100px;
    max-height: 75px;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    margin-left: -1px;
    margin-top: -1px;
}

/* Additional styling for HEIC or non-standard file previews */
.dz-image-preview {
    position: relative;
    margin: 2px;
}

.dz-file-preview {
    position: relative;
    margin: 2px;
}

.dz-file-preview:before {
    content: "No Preview for File Type";
}

/* Styling for the remove file button */
.dz-remove {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

/* Hide elements that are not needed */
.dz-progress,
.dz-error-message,
.dz-error-mark,
.dz-success-mark,
.dz-details {
    display: none;
}

.booking-image-upload {
    min-height: 75px;
}