ul.thumbnails.wpdino_image_picker_selector {
	overflow: auto;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	padding: 15px;
}
ul.thumbnails.wpdino_image_picker_selector ul {
	overflow: auto;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
ul.thumbnails.wpdino_image_picker_selector li.group {
	width:100%;
} 
ul.thumbnails.wpdino_image_picker_selector li.group_title {
	float: none; 
}
ul.thumbnails.wpdino_image_picker_selector li {
	flex: 0 0 calc(50% - 7.5px);
	max-width: calc(50% - 7.5px);
	display: flex;
	align-items: stretch;
}
ul.thumbnails.wpdino_image_picker_selector li .thumbnail {
	padding: 12px;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	background: #ffffff;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	height: 100%;
}
ul.thumbnails.wpdino_image_picker_selector li .thumbnail img {
	-webkit-user-drag: none; 
    margin: 0 0 8px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.2s ease-in-out;
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail:hover {
	border-color: #6F9C50;
	box-shadow: 0 4px 12px rgba(111, 156, 80, 0.15);
	transform: translateY(-2px);
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail:hover img {
	border-color: #6F9C50;
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail.selected {
	background: #ffffff; 
    color: #6F9C50;
    border-color: #6F9C50;
    box-shadow: 0 4px 12px rgba(111, 156, 80, 0.3);
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail.selected img {
    border-color: #ffffff;
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail .image_picker_label {
	margin-top: auto;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #495057;
	line-height: 1.4;
	padding-top: 4px;
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail.selected .image_picker_label {
	color: #6F9C50;
	font-weight: 600;
}

ul.thumbnails.wpdino_image_picker_selector li .thumbnail:hover .image_picker_label {
	color: #6F9C50;
}
