.dg {
	color: #000;
	text-shadow: none;
	font: 12px Arial, Helvetica, sans-serif;
}

.dg .a {
	margin-right: 0px;
}

.dg .c input[type="checkbox"] {
	margin-top: 7px;
	accent-color: #ccc;
}

.dg .cr.boolean {
	background-color: #eee;
	border-left-color: #8F8F9D;
	border-bottom: 1px solid #8F8F9D;

	opacity: 0.95;
}

.dg .cr.boolean:hover {
	background-color: #ccc;
}

.dg .cr.boolean .c {
	width: 10%;
}

.dg .cr.boolean .property-name {
	width: 89%;
	float: right;
	line-height: 27px;
}

.dg .cr.number {
	background-color: #eee;
	border-left-color: #8F8F9D;
	border-bottom: 1px solid #8F8F9D;
	opacity: 0.95;
	height:auto;
}

.dg .c .slider {
	background-color: #ccc;
}

.dg .c .slider:hover {
	background-color: hsl(0, 0%, 83%);
}

.dg .cr.number .c input[type="text"] {
	color: #000;
	background-color: #ccc;
}

.dg .cr.function {
	background-color: #eee;
	border-left-color: #aaa;
	border-bottom: 1px solid #aaa;
	height: auto;
	line-height: 27px;
	opacity: 0.95;
}
.dg .cr.function:hover {
	background-color: #ccc;
}
.dg .cr.function .property-name {
	width: 100%;
	float: left;
}

/* .dg .cr.function:active {
	background-color: #f00;
} */


.dg .cr.string {
	background-color: #eee;
	border-left-color: #aaa;
	border-bottom: 1px solid #aaa;
	height: auto;
	line-height: 20px;
	opacity: 0.95;
}
.dg .cr.string .property-name {
	width: 100%;
	float: left;
	padding-top: 4px;
	padding-bottom: 4px;
}

.dg .c select {
	float:right;
}

.dg .cr.string .property-name p {
	margin-top: 0px;
	margin-bottom: 0px;
}
.dg .cr.string .property-name table {
	width: 100%;
	border: 1px solid black;
	border-collapse: collapse;
}
.dg .cr.string .property-name th, td {
	border: 1px solid black;
	text-align: center;
}
/* .dg .cr.string .c { */
	/* width:auto; */
	/* text-align: center; */
	/* color: #000; */
	/* background-color: #c00; */
/* } */

.dg li .cr.color {
	background-color: #eee;
	border-bottom: 1px solid #8F8F9D;
}

.dg li.title {
	background-color: #ddd;
	height: auto;
	line-height: 25px;
	background-image: url("../images/arrow-down.png");
	border-bottom: 1px solid #aaa;
	border-left: 3px solid #aaa;
	opacity: 0.95;
}

.dg .closed li.title {
	background-image: url("../images/arrow-right.png");
}

.dg.main .close-button {
	background-color: #ccc;
	color: #000;
	text-shadow: 0 -1px 0 #ccc;
}

.dg.main .close-button:hover {
	background-color: #aaa;
	color: #000;
	text-shadow: 0 -1px 0 #aaa;
}

.dg ul.info li{
	background-color: #eee;
	border-bottom: 0px;

}

/* Color Swatch Container Styles */
.color-swatch-container {
	margin: 0px 0;
	padding: 5px;
	background: #eee;
	border: 1px solid #e9ecef;
	border-radius: 6px;
}

.color-swatch-label {
	margin-bottom: 8px; 
	font-weight: bold; 
	color: #495057;
	font-size: 12px;
}

.color-swatch-grid {
	display: flex; 
	flex-wrap: wrap; 
	gap: 6px;
	justify-content: flex-start;
	align-items: center;
}

.color-swatch {
	width: 32px;
	height: 32px;
	border: 2px solid #dee2e6;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
	transition: all 0.3s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	position: relative;
	overflow: hidden;
}

.color-swatch.selected {
	border: 2px solid #007bff;
	/* box-shadow: 0 0 20px rgba(0,123,255,0.8), 0 4px 12px rgba(0,0,0,0.2); */
	transform: scale(1.1);
	z-index: 10;
	position: relative;
}