/**
 * LLMs.txt Generator Admin Styles
 * Upper part uses moseo_sitemap-card, moseo_switch, premium card (from sitemap/global).
 * Only LLMS-specific layout and components defined here.
 */

/* Upper section: header row */
.moseo_llms-header-row {
	margin-bottom: 1rem;
}

.moseo_llms-header-row .moseo_page-description + .moseo_page-description {
	margin-top: 0.5rem;
}

/* Upper container: cards column + premium (same layout as sitemap) */
.moseo_llms-upper-container {
	margin-bottom: 1.5rem;
}

.moseo_llms-cards-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Enable card: backup row (info icon + last backup text) */
.moseo_llms-backup-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	font-size: 14px;
	color: #50575e;
}

.moseo_llms-info-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.moseo_llms-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.moseo_llms-external-icon {
	font-size: 12px;
	opacity: 0.8;
}

/* Page selection: radio group */
.moseo_llms-radio-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.moseo_llms-radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	margin: 0;
}

.moseo_llms-radio-label input[type="radio"] {
	margin: 0;
}

/* Manual-only section: hidden when Automatic is selected */
.moseo_llms-manual-section.moseo_llms-hidden {
	display: none !important;
}
.moseo_llms-below-container {
	margin-top: 1.5rem;
}

.moseo_llms-settings-below {
	padding: 24px;
}

.moseo_llms-settings-below .form-table {
	margin-top: 0;
}

/* Save button row: same layout as other pages (moseo-button-container + moseo_check-btn) */
.moseo_llms-button-row {
	margin-top: 1rem;
}

/* Spacer so left column has same width as upper cards column */
.moseo_llms-spacer {
	flex: 0 0 auto;
	width: 23%;
	min-width: 0;
}

/* Post types sortable list (output by settings API; class has moseo prefix) */
.moseo_llms-post-types {
	list-style: none;
	padding: 0;
	margin: 0;
}

.moseo_llms-post-types li {
	padding: 8px 12px;
	margin: 2px 0;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: move;
	transition: background-color 0.2s ease;
}

.moseo_llms-post-types li:hover {
	background: #f0f0f0;
}

.moseo_llms-post-types li.ui-sortable-helper {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.moseo_llms-post-types li.ui-sortable-placeholder {
	background: #e7f3ff;
	border: 2px dashed #0073aa;
	opacity: 0.7;
}

.moseo_llms-post-types li label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: move;
	margin: 0;
}

.moseo_llms-post-types li input[type="checkbox"] {
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.moseo_llms-content-wrapper {
		flex-direction: column;
	}

	.moseo_llms-sidebar {
		width: 100%;
	}
}

@media (max-width: 782px) {
	.moseo_llms-post-types li {
		padding: 12px;
	}

	.moseo_llms-post-types label {
		font-size: 14px;
	}
}
