/* Palette Intercult77 : marron/olive foncé (logo), or/moutarde (accent), bleu marine (titres) */
.icl-lieux-wrapper {
	--icl-brown: #3c3626;
	--icl-gold: #c9a227;
	--icl-gold-light: #fbf3dc;
	--icl-navy: #1e2a5e;
	--icl-text: #4a4a4a;

	display: flex;
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: flex-start;
}

.icl-lieux-list {
	flex: 0 0 320px;
	max-height: 600px;
	overflow-y: auto;
	padding-right: 4px;
}

.icl-search-bar {
	margin-bottom: 16px;
	padding: 14px 16px;
	background: var(--icl-gold-light);
	border: 1px solid #e6e0d0;
	border-radius: 8px;
}

.icl-search-label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.85em;
	font-weight: 600;
	color: var(--icl-brown);
}

.icl-search-row {
	display: flex;
	gap: 8px;
}

.icl-search-row input[type='text'] {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid #d9d1b8;
	border-radius: 6px;
	font-size: 0.95em;
}

.icl-search-row input[type='text']:focus {
	outline: none;
	border-color: var(--icl-gold);
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.icl-search-row button {
	padding: 8px 14px;
	background: var(--icl-brown);
	color: var(--icl-gold);
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
	white-space: nowrap;
}

.icl-search-row button:hover {
	background: #4d4531;
}

.icl-search-row button:disabled {
	opacity: 0.6;
	cursor: default;
}

#icl_postal_search_status {
	display: block;
	margin-top: 6px;
	font-size: 0.8em;
	color: var(--icl-text);
	font-style: italic;
}

.icl-reset-btn {
	margin-top: 10px;
	padding: 4px 10px;
	background: transparent;
	border: 1px solid var(--icl-brown);
	color: var(--icl-brown);
	border-radius: 20px;
	font-size: 0.78em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.icl-reset-btn:hover {
	background: var(--icl-brown);
	color: #fff;
}

.icl-no-results {
	padding: 14px 16px;
	margin-bottom: 12px;
	background: #fdf1f1;
	border: 1px solid #f0d5d5;
	border-radius: 8px;
	color: #8a4a4a;
	font-size: 0.9em;
	text-align: center;
}

/* Scrollbar discrète aux couleurs du site */
.icl-lieux-list::-webkit-scrollbar {
	width: 6px;
}
.icl-lieux-list::-webkit-scrollbar-thumb {
	background: var(--icl-gold);
	border-radius: 4px;
}

.icl-lieu-item {
	padding: 16px 18px;
	margin-bottom: 12px;
	border: 1px solid #e6e0d0;
	border-left: 4px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	background: #fff;
}

.icl-lieu-item:hover {
	border-color: var(--icl-gold);
	border-left-color: var(--icl-gold);
	box-shadow: 0 2px 10px rgba(60, 54, 38, 0.12);
}

.icl-lieu-item.active {
	border-color: var(--icl-gold);
	border-left-color: var(--icl-brown);
	background: var(--icl-gold-light);
}

.icl-lieu-item h4 {
	margin: 0 0 8px;
	color: var(--icl-navy);
	font-weight: 700;
}

.icl-lieu-item p {
	margin: 2px 0;
	font-size: 0.9em;
	color: var(--icl-text);
}

.icl-lieu-item .icl-category {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 10px;
	background: var(--icl-brown);
	color: var(--icl-gold);
	border-radius: 20px;
	font-size: 0.78em;
	letter-spacing: 0.02em;
}

.icl-count {
	text-align: center;
	color: var(--icl-brown);
	font-size: 0.85em;
	font-weight: 600;
	margin-top: 16px;
}

.icl-lieux-map-container {
	flex: 1;
	min-width: 0;
}

#icl-map {
	width: 100%;
	border-radius: 8px;
	border: 1px solid #e6e0d0;
	z-index: 1;
}

/* Popup Leaflet aux couleurs du site */
.leaflet-popup-content-wrapper {
	background: var(--icl-brown);
	color: #fff;
	border-radius: 8px;
}
.leaflet-popup-tip {
	background: var(--icl-brown);
}
.icl-popup strong {
	display: block;
	margin-bottom: 4px;
	color: var(--icl-gold);
	font-size: 1.02em;
}

/* Repères (pins) teintés en doré */
.leaflet-marker-icon {
	filter: hue-rotate(10deg) saturate(1.4);
}

@media (max-width: 768px) {
	.icl-lieux-wrapper {
		flex-direction: column;
	}

	.icl-lieux-list {
		flex: 1 1 auto;
		max-height: none;
		width: 100%;
	}
}
