/*== File Upload and delete Style1 Add Listing Page ==*/
.upload_file_input_add_remove {
  height: 150px;
  overflow: hidden;
  position: relative;
  width: 170px;
}
.btn_upload {
  background-color: #fafafa;
  border: 1px dashed #717171;
  border-radius: 8px;
  color: #717171;
  cursor: pointer;
  display: inline-block;
  font-size: 30px;
  height: 150px;
  line-height: 150px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 170px;
}
.btn_upload input {
  cursor: pointer;
  height: 100%;
  position: absolute;
  filter: alpha(opacity=1);
  -moz-opacity: 0;
  opacity: 0;
}
.it {
  border-radius: 8px;
  height: 100%;
  left: 0;
  max-height: 150px;
  max-width: 170px;
  position: absolute;
  top: 0;
  width: 100%;
}

/*Debut Mon Code*/
.itp {
  border-radius: 8px;
  height: 100%;
  left: 0;
  max-height: 260px;
  max-width: 260px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 15;
}

.itpp {
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  max-height: 180px;
  max-width: 180px;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 2;
}

.itpp-2 {
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  max-height: 100px;
  max-width: 100px;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 2;
  
}

.mini-pp {
  border-radius: 8px;
  height: 100%;
  max-height: 50px;
  max-width: 50px;
  object-fit: cover;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 2;
}



/*cop*/

#ImgPreviewContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.img-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
}

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

.object-fit-cover {
  object-fit: cover;
}


.preview-block {
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease;
}
.preview-block:hover {
  transform: scale(1.02);
}

.remove-btn {
  position: relative;
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 20%;
  padding: 4px;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s ease;
}

.remove-btn:hover {
  background: rgba(255, 0, 0, 0.2);
}



/*Fin Mon Code*/


.btn-rmv1,
.btn-rmv2 {
  display: none;
}
.btn-rmv1:hover,
.btn-rmv1:active,
.btn-rmv1:focus,
.btn-rmv2:hover,
.btn-rmv2:active,
.btn-rmv2:focus{
  box-shadow: none;
  border: none;
  outline: none;
}
.remove_add_file {
  background-color: #ffffff;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #717171;
  cursor: pointer;
  display: block;
  height: 40px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
}
/*== File Upload and delete End Add Listing Page ==*/
