/* Collection Gateway — minimal, theme-agnostic styling. Sites are expected to override
   these via their own theme; class names are deliberately plain and stable. */

.lcg-notice {
	padding: 0.75em 1em;
	border-left: 4px solid #ccc;
	background: #f6f7f7;
	font-size: 0.9em;
}

.lcg-notice--config,
.lcg-notice--error {
	border-left-color: #d63638;
}

.lcg-notice--stale {
	border-left-color: #dba617;
}

.lcg-empty {
	font-style: italic;
	opacity: 0.75;
}

.lcg-record__field {
	margin-bottom: 1em;
}

.lcg-list {
	width: 100%;
	border-collapse: collapse;
}

.lcg-list th,
.lcg-list td {
	border: 1px solid #ddd;
	padding: 0.5em 0.75em;
	text-align: left;
}

.lcg-stat {
	text-align: center;
}

.lcg-stat__value {
	font-size: 2.5em;
	font-weight: 700;
	line-height: 1.1;
}

.lcg-stat__label {
	opacity: 0.75;
}

.lcg-form__row {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	margin-bottom: 1em;
}

.lcg-form__row input,
.lcg-form__row select,
.lcg-form__row textarea {
	max-width: 480px;
}

.lcg-form__message--success {
	color: #007017;
}

.lcg-form__message--error {
	color: #d63638;
}

#lcg-test-result {
	margin-left: 0.75em;
	font-weight: 600;
}

#lcg-test-result.lcg-test-ok {
	color: #007017;
}

#lcg-test-result.lcg-test-fail {
	color: #d63638;
}

.lcg-editor-preview {
	padding: 2em;
	text-align: center;
	background: #f0f0f1;
	border: 1px dashed #c3c4c7;
	color: #50575e;
}
