/* MAIN STYLE */

.image-upploader {
	width: 100%;
	height: auto;
	/* box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); */
	border-radius: 12px;
	overflow: hidden;
	/* background: #fafbff; */
}

.image-upploader .top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.image-upploader p {
	font-size: 14px;
	font-weight: 600;
	color: #878a9a;
}

.image-upploader button {
	outline: 0;
	border: 0;
	-webkit-appearence: none;
	background: #5256ad;
	color: #fff;
	border-radius: 4px;
	transition: 0.3s;
	cursor: pointer;
	font-weight: 400;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	font-size: 0.8rem;
	padding: 8px 13px;
}

.image-upploader button:hover {
	opacity: 0.8;
}

.image-upploader button:active {
	transform: translateY(5px);
}

.image-upploader .drag-area {
	width: 100%;
	height: 100%;
	border-radius: 12px;
	border: 1px solid #e0e0e6;
	color: #c8c9dd;
	font-size: 14px;
	font-weight: 500;
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 12px;
	justify-content: center;
	align-items: center;
	user-select: none;
	-webkit-user-select: none;
	margin-top: 10px;
}

.image-upploader .drag-area .visible {
	font-size: 14px;
}
.image-upploader .select {
	color: #197aeb;
	margin-left: 5px;
	cursor: pointer;
	transition: 0.4s;
}

.image-upploader .select:hover {
	opacity: 0.6;
}

.img-container {
	height: auto;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	/* max-height: 200px; */
	width: 100%;
	overflow-y: auto;
}
.img-container::-webkit-scrollbar {
	width: 0;
}
.image-upploader .text-uppload {
	display: none;
	width: 100%;
	margin-top: 10px;
}
.image-upploader .text-uppload.active {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.image-upploader .img-container .image {
	width: 65px;
	height: 70px;
	min-width: 65px;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.image-upploader .img-container .image img {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	object-fit: contain;
}

.image-upploader .img-container .image .icon-close {
	position: absolute;
	top: 2px;
	right: -2px;
	cursor: pointer;
	width: 20px;
	height: 20px;
}
.image-upploader .img-container .image .icon-close img {
	width: 20px !important;
	height: 20px !important;
}

/* dragover class will used in drag and drop system */
.image-upploader .drag-area.dragover {
	background: #f5f5f7;
}

.image-upploader .drag-area.dragover .on-drop {
	display: inline;
	font-size: 14px;
}

.image-upploader input,
.image-upploader .drag-area .on-drop,
.image-upploader .drag-area.dragover .visible {
	display: none;
}
