#closeLogin,
#closeInscription,
#closeFinalisation,
#closePassword {
	position: absolute;
	top: 20px;
	right: 5px;
}

#labelPseudoLogin,
#labelPseudoInscription,
#labelPseudoPassword,
#labelPasswordLogin1,
#labelPasswordInscription,
#labelEmail1,
#labelfinaliser,
#passwordLogin {
	color: black;
	font-weight: 600;
}
#labelPseudo {
	color: black;
	font-weight: 100;
}

#cgu,
#loginRappel {
	left: 0;
	color: black;
}

/* Css des boutons de recherche dans la modale _searchpseudo */
.user-result {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Répartit l'espace */
    gap: 10px; /* Espace entre le pseudo et le bouton */
    padding: 5px;
    border-bottom: 1px solid #ddd; /* Ligne séparatrice */
}

.user-result button {
    margin-left: auto; /* Aligner le bouton à droite */
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.user-result button:hover {
    background-color: #0056b3;
}
 
#sexeResults,#pseudoResults,#sexeAgeResults,#suggestions,#suggestionsVillesPresentation {
  max-height: 400px; /* hauteur maximale, ajuste comme tu veux */
  scrollbar-width: thin;
  scrollbar-color: #999 #f9f9f9;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background: #f9f9f9;
}

#sexeResults::-webkit-scrollbar {
  width: 8px;
}
#pseudoResults::-webkit-scrollbar {
  width: 8px;
}
#sexeAgeResults::-webkit-scrollbar {
  width: 8px;
}
#suggestions::-webkit-scrollbar {
  width: 8px;
}

#sexeResults::-webkit-scrollbar-track {
  background: #f9f9f9;
}
#pseudoResults::-webkit-scrollbar-track {
  background: #f9f9f9;
}
#sexeAgeResults::-webkit-scrollbar-track {
  background: #f9f9f9;
}
#suggestions::-webkit-scrollbar-track {
  background: #f9f9f9;
}

#sexeResults::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}
#pseudoResults::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}
#sexeAgeResults::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}
#suggestions::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}

/* pour la carte */
#map {
    height: 70vh;   
    width: 80%;
}
/* la liste utilisateurs en bas de la carte*/
.liste-utilisateurs-scroll {
  max-height: 100px;  
  overflow-y: auto;
}

/* phtotos privees dans la fenetre visu suppression*/
.photo-privee {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}
.galerie-photo .col-6,
.galerie-photo .col-md-4,
.galerie-photo .col-lg-3 {
    margin-bottom: 1rem;
}

/* modale lightBox pour affichage en grand avant suppression */
#modalLightbox {
  z-index: 1065; /* Plus que 1055 (z-index Bootstrap classique) */
}
.modal-backdrop.show:nth-of-type(2) {
  z-index: 1060; /* Le backdrop de la 2e modale */
}
#modaleConfirmationGenerale{
   z-index:1090;
}
/* ENJOLIVER LA MODALE DE CONFIRMATION DE SUPPRESSION */
  #modaleConfirmationGenerale .modal-content {
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    border: none;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
  }

  #modaleConfirmationGenerale .modal-header {
    background-color: #ee0909; /* Rouge Bootstrap */
    color: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }

  #modaleConfirmationGenerale .modal-title {
    font-weight: bold;
    font-size: 1.25rem;
  }

  #modaleConfirmationGenerale .modal-body {
    font-size: 1.1rem;
    color: #212529;
    text-align: center;
    padding: 1.5rem;
  }

  #modaleConfirmationGenerale .modal-footer {
    justify-content: center;
    padding-bottom: 1.5rem;
  }

  #modaleConfirmation .btn-danger {
    font-weight: bold;
    padding: 0.5rem 1.5rem;
  }

  #modaleConfirmation .btn-secondary {
    padding: 0.5rem 1.5rem;
  }
 
 .my-custom-modal {
   border-radius: 30px !important; /* Change la valeur pour ajuster l'arrondi */
 } 
 
/* modale devenir membre VIP */
 #modale-vip{
   max-height:400px;
   overflow-y:auto;

 }
 /* Affichage de la liste d'ajout en favori dans la modale _choixRelations.html.twig*/
/* Style de base pour la liste */
#relationList {
   padding: 0;
 }
 
 #relationList .list-group-item {
   position: relative;
   overflow: hidden; /* Pour éviter les débordements */
}

#relationList .list-group-item {
   border-radius: 5px;
   margin-bottom: 8px;
   padding: 12px 20px;
   font-size: 1rem;
   background-color: #f8f9fa; /* Couleur de fond claire */
   cursor: pointer;
   transition: background-color 0.3s, transform 0.3s;
 }
 
 #relationList .list-group-item:hover {
   background-color: #007bff; /* Fond bleu clair au survol */
   color: white; /* Texte blanc au survol */
   transform: scale(0.95); /* Légère augmentation de la taille au survol */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre discrète */
 }
 
 #relationList .list-group-item:active {
   background-color: #0056b3; /* Fond bleu foncé au clic */
   transform: scale(1); /* Retour à la taille normale après le clic */
 }
 
 /* Style de la liste pour la rendre responsive */
 @media (max-width: 768px) {
   .list-group-item {
     font-size: 0.9rem;
   }
 }
 
 #relationList .list-group-item:last-child {
   margin-bottom: 0; /* Enlève la marge du dernier élément */
 }
 
 #relationList .list-group-item.selected {
   background-color: #28a745; /* Couleur verte pour l'élément sélectionné */
   color: white;
 }
 
 #relationList .list-group-item.selected:hover {
   background-color: #218838; /* Couleur verte plus foncée au survol */
 }
 
/* pour afficher quand ville es tinconnue dasn la page index en plus petit grace a la classe */
.ville-inconnue {
   font-size: 0.8rem !important ; /* ou small */
   color: #e26464 !important; /* facultatif pour la lisibilité */
   font-style: italic !important;
}
/* pour la fenetre d'affichage des options pour paypal _paiement_modal.html.twig*/
.bouton-tarif-animé {
   opacity: 0;
   transform: translateY(10px);
   transition: all 0.4s ease;
 }
 
 .bouton-tarif-animé.loaded {
   opacity: 1;
   transform: translateY(0);
 }
 
 .bouton-tarif-animé:hover {
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
   transform: translateY(-1px);
 }

 /*  modale de paiement paypal */
 .paypal-button {
   background-color: #5d5238;
   color: #111;
   font-weight: bold;
   border: none;
   border-radius: 8px;
   padding: 12px 24px;
   font-size: 16px;
   cursor: pointer;
   transition: background-color 0.3s ease;
}

.paypal-button:hover {
   background-color: #ffb347;
}

#liste-tarifs {
   overflow-y: auto;
   max-height:380px;
 }
 @media (max-width: 576px) {
   #liste-tarifs {
     grid-template-columns: 1fr;
   }
 }