/* Styles généraux pour le mode sombre */
.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
  }
  
  /* Exemple pour le header en mode sombre */
  .dark-mode header {
    background-color: #1e1e1e;
  }
  
  /* Exemple pour la navigation */
  .dark-mode .navbar {
    background-color: #1e1e1e;
  }
  
  .dark-mode .navbar-brand,
  .dark-mode .nav-link {
    color: #e0e0e0 !important;
  }
  
  /* Pour les cartes et sections */
  .dark-mode .card {
    background-color: #1e1e1e;
    border-color: #333;
  }
  
  .dark-mode .footer {
    background-color: #1e1e1e;
  }
  
  /* Pour le bouton de recherche ou d'autres composants */
  .dark-mode .btn {
    background-color: #333;
    color: #e0e0e0;
  }


  .btn-outline-primary{
    border: 1.5px solid #007BFF;
  }

  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }






.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    padding: 10px;
}

.scroll-content {
    display: flex;
    gap: 10px;
}

.recommendation-item {
    display: inline-block;
    width: 200px;
    position: relative;
    border-radius: 8px;
}





.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Assombri légèrement pour meilleure lisibilité */
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 8px; /* Augmenté pour éviter l'écrasement */
    font-weight: bold;
    box-sizing: border-box;
}

.media-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* S'assure que le titre reste bien en bas */
}

.media-container img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recommendations-section h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    padding-left: 10px;
}

.custom-navbar {
  background: #ffffff;
  transition: background 0.3s ease-in-out;
  font-family: 'Segoe UI', sans-serif;
}

.custom-navbar .nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.6rem 1rem;
  transition: color 0.3s ease-in-out;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #0d6efd; /* Bootstrap primary */
  border-bottom: 2px solid #0d6efd;
}

.custom-navbar .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-navbar .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0d6efd;
}

.navbar-brand img {
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
  }

  .custom-navbar .nav-link {
    padding: 0.75rem 1rem;
  }
}




  






/* Barre de recherche*/
.search-bar {
  background: linear-gradient(135deg, #e0eafc, #cfdef3); /* Dégradé doux */
}

#searchInput {
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#searchInput:focus {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-color: #007bff;
  outline: none;
}
/* Barre de recherche*/

/* Bouton PLUS*/
#plusButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;  /* Couleur de l'icône */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);  /* Ombre pour plus de profondeur */
  z-index: 9999;
  transition: transform 0.3s ease-in-out;  /* Ajout d'une transition douce */
}

#plusButton:hover {
  transform: scale(1.1);  
}

/* Ajout d'un effet pour l'icône */
#plusButton i {
  font-size: 36px;  
}
/* Bouton PLUS*/


.form-range {
    width: 100%;
}


.filter-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.first_border{
  border: 1.5px solid;
}


  #fitPreferencePrompt {
    font-size: 0.9rem;
    animation: fadeIn 0.4s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
  