/**
 * Panneau Elementor — liste « Charger les options » (Nova Cards / Nova Filters).
 */
.nova-cards-filter-order-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nova-cards-filter-order-help {
	margin: 0;
	font-size: 11px;
	line-height: 1.5;
	font-style: normal;
	color: var(--e-a-color-txt-muted, #69727d);
}

.nova-cards-filter-order-load.elementor-button {
	width: 100%;
	justify-content: center;
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 4px;
}

.nova-cards-filter-order-load:disabled {
	opacity: 0.6;
	cursor: wait;
}

.nova-cards-filter-order-list-wrap:empty {
	display: none;
}

.nova-cards-filter-order-count {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 2px 0 6px;
	font-size: 11px;
	color: var(--e-a-color-txt-muted, #69727d);
}

.nova-cards-filter-order-list {
	list-style: none;
	margin: 0;
	padding: 4px;
	max-height: 320px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid #d5d8dc;
	border-radius: 4px;
	background: #fff;
}

.elementor-panel .nova-cards-filter-order-item,
.nova-cards-filter-order-item {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	padding: 7px 8px;
	border: 1px solid #e6e8ea;
	border-radius: 3px;
	background: #f9fafa;
	font-size: 12px;
	line-height: 1.3;
	color: #1f2124;
	cursor: grab;
	user-select: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nova-cards-filter-order-item:last-child {
	margin-bottom: 0;
}

.nova-cards-filter-order-item:hover {
	border-color: #babfc5;
	background: #f1f2f3;
}

.nova-cards-filter-order-item.is-new {
	border-color: #9ad0a8;
	background: #effaf2;
}

.nova-cards-filter-order-item.is-stale {
	border-color: #f0c38a;
	background: #fff8ee;
}

.nova-cards-filter-order-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 0 5px;
	border-radius: 8px;
	font-size: 9px;
	font-weight: 600;
	line-height: 15px;
	text-transform: uppercase;
	vertical-align: middle;
}

.nova-cards-filter-order-badge.is-new {
	background: #1e8a3c;
	color: #fff;
}

.nova-cards-filter-order-badge.is-stale {
	background: #c26a00;
	color: #fff;
}

.nova-cards-filter-order-empty {
	padding: 10px;
	font-size: 11px;
	text-align: center;
	color: #69727d;
}

.nova-cards-filter-order-notice {
	margin: 0 0 6px;
	padding: 6px 8px;
	border-left: 3px solid #2271b1;
	border-radius: 3px;
	background: #f0f6fc;
	font-size: 11px;
	line-height: 1.4;
	color: #1f2124;
}

.nova-cards-filter-order-notice.is-success {
	border-left-color: #1e8a3c;
	background: #effaf2;
}

.nova-cards-filter-order-reset {
	padding: 0;
	border: 0;
	background: none;
	font-size: 11px;
	color: #d72b3f;
	text-decoration: underline;
	cursor: pointer;
}

.nova-cards-filter-order-hidden {
	margin-top: 8px;
	border: 1px dashed #d5d8dc;
	border-radius: 4px;
	background: #fafafa;
	font-size: 11px;
	color: #3f444b;
}

.nova-cards-filter-order-hidden summary {
	padding: 6px 8px;
	cursor: pointer;
	color: #69727d;
}

.nova-cards-filter-order-hidden ul {
	list-style: none;
	margin: 0;
	padding: 0 6px 6px;
}

.nova-cards-filter-order-hidden-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 6px;
	border-top: 1px solid #eceef0;
	color: #69727d;
}

.nova-cards-filter-order-hidden-item .nova-cards-filter-order-label {
	text-decoration: line-through;
}

.nova-cards-filter-order-restore {
	flex: none;
	padding: 2px 6px;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	background: #fff;
	font-size: 10px;
	color: #2271b1;
	cursor: pointer;
}

.nova-cards-filter-order-restore:hover {
	border-color: #2271b1;
}

#elementor-panel .nova-cards-filter-order-item:not(.is-new):not(.is-stale) {
	background: #f9fafa !important;
	color: #1f2124 !important;
}

#elementor-panel .nova-cards-filter-order-item:not(.is-new):not(.is-stale):hover {
	background: #f1f2f3 !important;
}

#elementor-panel .nova-cards-filter-order-item.is-new {
	background: #effaf2 !important;
}

#elementor-panel .nova-cards-filter-order-item.is-stale {
	background: #fff8ee !important;
}

#elementor-panel .nova-cards-filter-order-label {
	color: #1f2124 !important;
}

.elementor-control.nova-cards-ordered-options-json {
	display: none !important;
}

.nova-cards-filter-order-item.is-dragging {
	opacity: 0.55;
	cursor: grabbing;
	border-style: dashed;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.nova-cards-filter-order-handle {
	color: #9da5ae;
	font-size: 13px;
	text-align: center;
}

.nova-cards-filter-order-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
	color: #1f2124;
}

.nova-cards-filter-order-value {
	max-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 1px 5px;
	border-radius: 3px;
	background: #e6e8ea;
	color: #69727d;
	font-size: 10px;
	font-family: Menlo, Consolas, monospace;
}

.nova-cards-filter-order-item--removable {
	grid-template-columns: 16px minmax(0, 1fr) auto 18px;
}

.nova-cards-filter-order-remove {
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #9da5ae;
	font-size: 15px;
	line-height: 18px;
	cursor: pointer;
}

.nova-cards-filter-order-remove:hover {
	background: var(--e-a-color-danger, #d72b3f);
	color: #fff;
}

.elementor-control.nova-hidden-control {
	display: none !important;
}

.nova-cards-filter-order-list-wrap > .description {
	margin: 0;
	padding: 8px;
	border: 1px dashed var(--e-a-border-color, #d5d8dc);
	border-radius: 4px;
	font-size: 11px;
	text-align: center;
	color: var(--e-a-color-txt-muted, #69727d);
}
