/* Personnalisation du modal */
.search-modal .modal-dialog {
    max-width: 600px;
    margin: auto;
  }
  .search-modal .modal-content {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  .search-modal .search-input {
    font-size: 1.25rem;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    width: 100%;
    padding: 10px 0;
  }
  .search-modal .search-input:focus {
    border-bottom: 2px solid #007bff;
  }
  .search-modal .modal-body {
    /* text-align: center; */
  }
  .search-modal .popular-searches {
    margin-top: 20px;
    color: #6c757d;
    font-size: 0.9rem;
  }

  /* Fixer la hauteur de la modale */
  .search-modal .modal-body {
    height: 500px;
    overflow: hidden; /* Empêche tout dépassement */
    display: flex;
    flex-direction: column;
  }

  /* Rendre la liste des résultats scrollable */
  .search-modal .search-result {
    flex: 1;
    overflow-y: auto;
    /* border: 1px solid #ced4da; */
    /* border-radius: 5px; */
    background: white;
    position: relative;
    /* padding: 10px; */
    /* margin-top: 10px; */
  }

  .search-modal .search-result .result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
  }

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

   /* Bouton ressemblant à un input */
  .fake-input-button {
    display: block;
    width: 100%;
    padding: 5px 15px;
    margin-left: 15px;
    font-size: 1rem;
    border-bottom: 1px solid #ced4da;
    /* border-radius: 5px; */
    background-color: white;
    text-align: left;
    color: #6c757d;
    cursor: text;
  }

  .fake-input-button:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

  /* Bouton dans le champ de recherche */
  #clearSearch {
      background: transparent;
      border: none;
      font-size: 1.5rem;
      color: #6c757d;
      cursor: pointer;
  }
  #clearSearch:focus {
      outline: none;
  }

.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}