.illico-lei-pages-moteur {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 18px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* --- Layout des blocs du moteur --- */
.illico-lei-pages-moteur__row {
	min-width: 0;
}

/* --- Champs texte / select --- */
.illico-lei-pages-moteur__field {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.illico-lei-pages-moteur__field:focus-within {
	border-color: rgba(15, 23, 42, 0.35);
	box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

/* --- État d'alerte du sélecteur de pages --- */
.illico-lei-pages-moteur__field--needs-target {
	border-color: #d97706;
	background: #fff7ed;
	box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
	animation: illicoMoteurLeiPagesPulse 1.8s ease-in-out infinite;
}

.illico-lei-pages-moteur__select--needs-target {
	color: #9a3412;
	font-weight: 600;
}

.illico-lei-pages-moteur__select--needs-target::placeholder {
	color: #9a3412;
}

@keyframes illicoMoteurLeiPagesPulse {
	0%, 100% {
		box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.10);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(217, 119, 6, 0.18);
	}
}

/* --- Icônes --- */
.illico-lei-pages-moteur__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: inherit;
	opacity: 0.72;
}

.illico-lei-pages-moteur__icon i,
.illico-lei-pages-moteur__icon svg {
	font-size: 1rem;
	width: 1rem;
	height: 1rem;
}

/* --- Bouton de recherche --- */
.illico-lei-pages-moteur__input,
.illico-lei-pages-moteur__select {
	width: 100%;
	border: 0 !important;
	outline: 0;
	background: transparent;
	padding: 12px 0;
	font-size: 15px;
	line-height: 1.3;
	color: inherit;
}

.illico-lei-pages-moteur__select {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.illico-lei-pages-moteur__button {
	align-items: center;
	justify-content: center;
	width: stretch !important;
    height: 100%;
}

/* --- Ajustement Air Datepicker --- */
.illico-lei-pages-moteur .flatpickr-input[readonly] {
	cursor: text;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.illico-lei-pages-moteur {
		grid-template-columns: 1fr;
	}
}
