/* Purpose: Styles for preview images and remove button */
#create_jewel_form .elementor-form-fields-wrapper {
 display: block;
}

#main_image_preview {
 background-size: cover;
 margin-bottom: 10px;
 max-width: 500px;
 object-fit: cover;
 width: 100%;
 height: 500px;
 border: 1px solid #ccc;
 background-position: center;
}

#thumb_image_preview {
 display: flex;
}

.image-container {
 position: relative;
 display: inline-block;
 margin-right: 10px;
}

.image-container img {
 max-width: 50px;
 /* Dimensioni delle miniature */
 max-height: 50px;
 cursor: pointer;
}

.image-container .remove-btn {
 position: absolute;
 top: 5px;
 right: 5px;
 background-color: rgba(255, 255, 255, 0.8);
 border: 1px solid #ccc;
 border-radius: 50%;
 cursor: pointer;
 padding: 0px 5px;
 color: red;
}


#image_preview {
 background-color: #fff;
 min-height: 400px;
}

#image_preview img {
 max-width: 100%;
 width: 100%;
 height: auto;
}

.elementor-field-type-step.elementor-column.elementor-field-group-field_497563d.elementor-col-100.e-form__step {
 display: block;
}

.elementor-field-type-upload.elementor-field-group.elementor-column.elementor-field-group-carica_immagini.elementor-col-50.elementor-field-required.elementor-mark-required {
 float: left;
 min-height: 400px;
 display: flex;
 flex-direction: column-reverse;
 align-content: flex-start;
 margin-bottom: 200px;
}


.elementor-field-type-upload .elementor-field-label {
 display: block;
 width: 100%;
}

/* Stilizzare l'input file come un pulsante */
#form-field-carica_immagini {
 display: none;
 /* Nascondere l'input file originale */
}

.elementor-field-type-upload .elementor-field-label {
 display: block;
 padding: 10px 20px;
 padding-bottom: 10px;
 cursor: pointer;
 background-color: #0073e6;
 color: white;
 border: none;
 border-radius: 5px;
 text-align: center;
 font-size: 16px;
 text-transform: uppercase;
 max-width: 500px;
 margin-top: 20px;
}

.elementor-field-type-upload .elementor-field-label:hover {
 background-color: #005bb5;
 /* Colore di sfondo del pulsante al passaggio del mouse */
}