.imageuploadify {
	border: 2px dashed #d2d2d2;
	position: relative;
	min-height: 350px;
	min-width: 250px;
	max-width: 1000px;
	margin: auto;
	display: flex;
	padding: 0;
	flex-direction: column;
	text-align: center;
}
.imageuploadify .imageuploadify-overlay {
	z-index: 10;
	width: 100%;
	height: 100%;
	position: absolute;
	flex-direction: column;
	top: 0;
	left: 0;
	display: none;
	font-size: 7em;
	background-color: rgba(242, 242, 242, .7);
	text-align: center;
	pointer-events: none
}
.imageuploadify .imageuploadify-overlay i {
	z-index: 10;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none
}
.imageuploadify .imageuploadify-images-list {
	display: inline-block
}
.imageuploadify .imageuploadify-images-list i {
	display: block;
	font-size: 7em;
	text-align: center;
	margin-top: .5em;
	padding-bottom: 12px
}
.imageuploadify .imageuploadify-images-list span.imageuploadify-message {
	font-size: 24px;
	border-top: 1px solid #007bff;
	border-bottom: 1px solid #007bff;
	padding: 10px;
	display: inline-block
}
.imageuploadify .imageuploadify-images-list .btn-file {
	display: block;
	color: #fff !important;
	background-color: #3f4b62 !important;
	border-radius: 5px;
	border: none;
	margin: 10px auto;
	width: 35%;
	height: 40px;
	max-width: 500px;
	font-weight: bold;
}

.imageuploadify .imageuploadify-images-list .btn-file:hover {
	background-color: #3f4b62 !important; /* Darker shade of the original */
	color: #e0e0e0 !important; /* Slightly lighter text */
	cursor: pointer;
	transform: scale(1.03); /* Slight grow effect */
	transition: all 0.3s ease;
}

.imageuploadify .imageuploadify-images-list .imageuploadify-container {
	width: 100px;
	height: 100px;
	position: relative;
	overflow: hidden;
	margin-bottom: 1em;
	float: left;
	border-radius: 12px;
	box-shadow: 0 0 4px 0 #888
}
.imageuploadify .imageuploadify-images-list .imageuploadify-container button.btn-danger {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 20px;
	height: 20px;
	border-radius: 15px;
	font-size: 10px;
	line-height: 1.42;
	padding: 2px 0;
	text-align: center;
	z-index: 3
}
.imageuploadify .imageuploadify-images-list .imageuploadify-container img {
	height: 100px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto;
}
.imageuploadify .imageuploadify-images-list .imageuploadify-container .imageuploadify-details {
	position: absolute;
	top: 0;
	padding-top: 20px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: rgba(255, 255, 255, .5);
	z-index: 2;
	opacity: 0
}
.imageuploadify .imageuploadify-images-list .imageuploadify-container .imageuploadify-details span {
	display: block
}

.imageuploadify:hover {
    background-color: #f9f9f9;
  }
  
  .imageuploadify .imageuploadify-message {
    font-size: 14px;
	font-weight: bold;
    color: #144568;
    margin-bottom: 5px;
  }
  
  .imageuploadify-or {
    color: #aaa;
  }

  .imageuploadify-images-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	position: relative;
  }
  
  .imageuploadify-static {
	text-align: center;
	flex-shrink: 0;
	margin-top: 100px;
  }

  .imageuploadify-dynamic {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-right: 5px; /* 👈 this adds space between uploaded items */
	margin-top: 10px;
	padding: 10px;
	max-height: 150px;
	overflow-y: auto;
}
  
  /* Make sure the "Maximum Size" text always sticks to the bottom */
  .file-size-text {
	margin-top: 10px;
	display: block;
  }