/**
 * Barre de filtres compacte - Proposition 3 affinée
 * Mise en page minimaliste avec dropdowns côte à côte
 */

.mpa-filtres-barre {
	background: linear-gradient(to right, #f5f0e8 0%, #f9f5f0 100%);
	padding: 16px 24px;
	border: 1px solid #e8ddd0;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: nowrap;
	margin-bottom: 20px;
	width: fit-content;
}

.mpa-filtre-groupe {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
}

.mpa-filtre-label {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	white-space: nowrap;
	margin: 0;
	flex: 0 0 auto;
}

.mpa-filtre-select {
	padding: 9px 32px 9px 12px;
	border: 1px solid #d4c9bc;
	background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23555" d="M1 1l5 5 5-5"/></svg>') no-repeat right 10px center;
	background-size: 12px 8px;
	border-radius: 4px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
	width: 150px;
	font-family: inherit;
	transition: all 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 32px;
}

.mpa-filtre-select:hover {
	border-color: #b8aca0;
	background-color: #fafaf8;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1 1l5 5 5-5"/></svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px 8px;
}

.mpa-filtre-select:focus {
	outline: none;
	border-color: #8b7355;
	box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.mpa-filtre-select option {
	color: #555;
	background: white;
	padding: 8px;
}

.mpa-filtre-reset {
	padding: 9px 16px;
	border: 1px solid #d4c9bc;
	background: white;
	border-radius: 4px;
	font-size: 13px;
	color: #666;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.2s ease;
	white-space: nowrap;
	flex: 0 0 auto;
	height: 38px;
	display: flex;
	align-items: center;
	margin-left: 0;
}

.mpa-filtre-reset:hover {
	background: #f5f0e8;
	border-color: #b8aca0;
	color: #333;
}

.mpa-filtre-reset:focus {
	outline: none;
	border-color: #8b7355;
	box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.mpa-filtre-reset:active {
	transform: scale(0.98);
}

/* Responsive */
@media (max-width: 1024px) {
	.mpa-filtres-barre {
		width: 100%;
		flex-wrap: wrap;
		gap: 16px;
	}

	.mpa-filtre-reset {
		margin-left: auto;
	}
}

@media (max-width: 768px) {
	.mpa-filtres-barre {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 14px 20px;
	}

	.mpa-filtre-groupe {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.mpa-filtre-label {
		min-width: auto;
		font-size: 12px;
	}

	.mpa-filtre-select {
		width: 100%;
	}

	.mpa-filtre-reset {
		width: 100%;
		margin-left: 0;
	}
}
