.sigaf-field {
	border: 1px solid #dcdcde;
	background: #fff;
	padding: 12px;
	border-radius: 4px;
}

.sigaf-gallery-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	min-height: 20px;
}

.sigaf-gallery-item,
.sigaf-gallery-placeholder {
	position: relative;
	width: 110px;
	height: 110px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	overflow: hidden;
}

.sigaf-gallery-placeholder {
	border-style: dashed;
	background: #f0f0f1;
}

.sigaf-gallery-thumb {
	width: 100%;
	height: 100%;
}

.sigaf-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sigaf-remove-image {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.sigaf-remove-image:hover,
.sigaf-remove-image:focus {
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
}

.sigaf-empty-message {
	margin: 0;
	color: #646970;
}

.sigaf-actions {
	margin: 12px 0 0;
}

.sigaf-field.is-empty .sigaf-empty-message {
	display: block;
}

.sigaf-field:not(.is-empty) .sigaf-empty-message {
	display: none;
}
