/*---------------------------------------------------------------------------------
Theme Name:   Divi Child
Theme URI:    https://www.elegantthemes.com/
Description:  Divi Child theme by Web Hors Piste
Author:       Web Hors Piste
Author URI:   https://www.webhorspiste.com/
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
------------------------------ ADDITIONAL CSS HERE ------------------------------*/
/*======================
* HEADER
* */
#header-ligne{
	display:flex;
	align-items:center;
	justify-content:center;
}
#btn-colonne{
	display:flex;
	width: fit-content;
	align-items: center;
	gap: 10px;
}
#btn-colonne > .et_pb_module{
	display:flex;
}
#btn-colonne > .et_pb_module > a{
	display:flex;
}
/*======================
* Barre de recherche
* */
.custom-search-wrapper {
	position: relative;
	width: 100%;
	max-width: 400px;
}

.search-input-container {
	display: flex;
	align-items: center;
	background-color: #281447; /* Ton violet */
	border-radius: 30px;
	padding: 5px 15px;
	position: relative;
}

.search-icon {
	display: flex;
	margin-right: 10px;
	width: 14px;
}

#ajax-search-input {
	width: 100%;
	min-width:180px;
	background: transparent !important;
	border: none !important;
	color: white !important;
	font-size: 14px;
	padding: 10px 0 !important;
	outline: none !important;
}

#ajax-search-input::placeholder {
	color: rgba(255, 255, 255, 0.8);
}

/* Liste des résultats AJAX */
.search-results-list {
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	z-index: 9999;
	display: none; /* Caché par défaut */
	max-height: 300px;
	overflow-y: auto;
}

.search-result-item {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	display: block;
	color: #333;
	text-decoration: none;
	transition: background 0.2s;
}

.search-result-item:hover {
	background: #f4f4f4;
}

.search-result-item:last-child { border: none; }