/* ComfyUI 3D Generator styles */
:root {
	--comfy-primary: #0073aa;
}

/* Admin settings page */
.comfy-settings-field {
	margin-bottom: 15px;
}
.comfy-settings-field label {
	display: block;
	font-weight: bold;
	margin-bottom: 4px;
}
.comfy-settings-field input[type="text"],
.comfy-settings-field input[type="number"] {
	width: 100%;
	max-width: 400px;
	padding: 8px;
	border: 1px solid #ddd;
}
.comfy-settings-field .description {
	color: #666;
	font-size: 13px;
}
.comfy-settings-form input[type="submit"] {
	background: var(--comfy-primary);
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* Front-end shortcode widget */
.comfy-3d-generator {
	max-width: 480px;
}
.comfy-3d-generator .comfy-3d-form label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px;
}
.comfy-3d-generator input[type="file"] {
	display: block;
	margin-bottom: 10px;
}
.comfy-3d-result {
	margin-top: 15px;
}
/* This rule was missing entirely in the original stylesheet, so the
   "hidden" result div was visible the whole time. */
.comfy-3d-result.hidden {
	display: none;
}
.comfy-3d-output {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 5px;
}
.comfy-3d-error {
	color: #d63638;
}
.comfy-3d-progress {
	color: #555;
	font-style: italic;
}
.comfy-3d-check-again {
	margin-top: 8px;
}
.comfy-3d-file a {
	display: inline-block;
	padding: 6px 12px;
	background: var(--comfy-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	margin: 5px 0;
}
