/* STRUCTURE DE TOUTES LES PAGES */
html {
	font-size: 13px;
	
	form {
		margin: 0px;
		
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	
	table {
		font-size: 13px;
	}
	
	p {
		text-align: justify;
	}
	
	.accordion-button:focus {
		background-color: white;
		box-shadow: none !important;
		outline: 0;
		color: var(--bs-body-color);
	}
	.accordion-button:active {
		background-color: white;
		box-shadow: none !important;
		outline: 0;
		color: var(--bs-body-color);
	}

}

body {
	height: 100%;
	padding: 0px;	
    margin: 0px;
    border: 0px;
	
	overflow-y: no-scroll;
	
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* OUTILS ET MODIFICATIONS ABSOLUES DANS TOUT LE SITE */
:root {
	--bs-primary: #ff6b81;
}

.btn-primary {
	background-color: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
	color: #fff !important;
	font-weight: bold;
}

.btn {
	background-color: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
	color: #fff !important;
}

.btn-outline-primary {
	background-color: white !important;
	border-color: var(--bs-primary) !important;
	color: var(--bs-primary) !important;
	font-weight: bold;
}
			.btn-check:checked + .btn-outline-primary {
				background-color: var(--bs-primary) !important;
				border-color: var(--bs-primary) !important;
				color: #fff !important;
			}

.badge {
	background-color: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
	color: #fff !important;
}

.alert {
	background-color: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
	color: #fff !important;
}

.important {
	color: var(--bs-primary) !important;
}

.cacher {
	display: none;
}

.lien_neutre:link {
	text-decoration: none;
	color: var(--bs-primary) !important;
}

.lien_neutre:visited {
	text-decoration: none;
	color: var(--bs-primary) !important;
}

.lien_neutre:hover {
	text-decoration: none;
	color: var(--bs-primary) !important;
}

.lien_neutre:active {
	text-decoration: none;
	color: var(--bs-primary) !important;
}

.lien_normal:link {
	color: var(--bs-primary) !important;
}

.lien_normal:visited {
	color: var(--bs-primary) !important;
}

.lien_normal:hover {
	color: var(--bs-primary) !important;
}

.lien_normal:active {
	color: var(--bs-primary) !important;
}

.ligne {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

/* PAGES DE CONNEXION ET CREATION DE COMPTE */

.logs_container_body {
	width: 100%;
	min-height: 90%;
	height: auto;
	padding: 50px;
	
	display: flex;
	align-items: center;
	justify-content: center;
}
			.logs_container {
				width: 100%;
				
				display: flex;
				justify-content: flex-end;
			}
			
			#nom_prenom {
				width: 100%;
				display: flex;
				flex-direction: column;
				gap: 10px;
			}
			
.presentation_allezloc {
	width: 100%;
	
	display: flex;
	flex-direction: column;
}
			.header_presentation {
				width: 100%;
				padding: 20px;
				position: relative; /* pour ne pas étendre le strech-link */

				background-color: var(--bs-primary) !important;
				color: white;

				display: flex;
				flex-direction: row;
				justify-content: space-around;
				align-items: center;
			}
			
			#corps_presentation {
				width: 100%;
				padding: 20px;

				display: flex;
				flex-direction: column;
				gap: 10px;
			}


/* GRANDS BLOCS DU SITE */

#header_principal {
	background-color: white;
	height: 50px;
	width: 100%;
	max-width: 1000px;
	padding: 10px;
	
	display: flex;
	
	align-items: center;
	flex-direction: row;
	justify-content: space-between;
	
}
#corps {
  background-color: ;
  height: 100%;
  width: 100%;
  max-width: 800px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  position: relative;
  
  overflow-y: scroll;
  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;

  align-items: flex-start;
  align-content: flex-start;
}
			.overlay {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				pointer-events: none; /* laisse passer le scroll au contenu */
			}
						.overlay button {
							position: absolute;
							pointer-events: auto; /* boutons cliquables */
						}
						.bouton_back {
							top: 70px;
							left: 10px;
							width: 40px;
							height: 40px;
							border-radius: 8px;
							background-color: white;
							z-index: 1001;
						}
						.bouton_modifier {
							right: 10px;
							bottom: 95px;
							z-index: 1001;
						}

			/* OFFCANVAS */
			.footer_offcanvas {
				width: 100%;
				padding: 10px;
				
				display: flex;
				justify-content: space-between;
				align-items: center;
				gap: 10px;
			}
			
			/* MENU PRINCIPAL */			

			/* RECHERCHE DES BIENS ET DES CANDIDATS / PAGE PRINCIPALE */
			#filtres_recherches {
				width: 100%;
				margin-left: -10px;
				margin-right: -10px;
				padding: 10px;
				border-radius: 8px;
				background-color: white;
				
				overflow-x: scroll;
				
				position: sticky;
				z-index: 1000;
				top: 0;
				transition: transform 0.5s ease;
				
				display: flex;
				gap: 10px;
				
				.btn {
					white-space: nowrap;
				}
			}
			
			.pastille_incitation {
				width: 100%;
				background-color: var(--bs-primary) !important;
				color: white;
				border-radius: 8px;
				padding-top: 10px;
				padding-bottom: 10px;
				position: relative;
				
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;
			}
						.lien_incitation {
							color: white;
							text-decoration: none;
						}
						.lien_normal:link {
							color: white;
							text-decoration: none;
						}

						.lien_normal:visited {
							color: white;
							text-decoration: none;
						}

						.lien_normal:hover {
							color: white;
							text-decoration: none;
						}

						.lien_normal:active {
							color: white;
							text-decoration: none;
						}
			
			.titre_intermediaire {
				width: 100%;
				padding-left: 10px;
				padding-right: 10px;
				
				display: flex;
				flex-direction: row;
				justify-content: start;
				align-items: center;
				
				p {
					margin: 0px;
				}
			}
			
			.card_biens {

			}
						.image_preview {
							border-radius: 8px 8px 0px 0px;
							max-height: 100%;
							object-fit: cover;
						}
						
						.badges_photos_container {
							position: absolute;
							top: 10px;
							right: 10px;
							width: 100%;
							z-index: 999;
							display: flex;
							gap: 5px;
							flex-direction: column;
							align-items: flex-end;
						}
						
						.card_footer {
							display: flex;
							flex-direction: row;
							justify-content: space-between;
							align-items: center;
						}
			
			/* FICHE BIEN */
			
			.carousel_fiche_bien {
				margin-top: -10px;

			}
						.image_fiche_bien {
							border-radius: 0px 0px 8px 8px;
						}
						
						.pastille_proprietaire {
							width: 100%;
							padding: 10px;
							
							display: flex;
							flex-direction: row;
							align-items: center;
							justify-content: space-between;
							gap: 10px;
							
						}
									.photo_proprietaire {
										height: 50px;
										min-width: 50px;
										width: 50px;
										border-radius: 100%;
										
										object-fit: cover;
									}
									.description_proprietaire{
										width: 100%;
										margin: 0px;
									}
									
			/* MES LOCATIONS */
			
			.pastille_locataire {
				width: 100%;
				padding: 10px;
				
				display: flex;
				flex-direction: row;
				align-items: center;
				justify-content: space-between;
				gap: 10px;
				
			}
						.photo_locataire_mes_locations {
							height: 50px;
							min-width: 50px;
							width: 50px;
							border-radius: 100%;
							
							object-fit: cover;
						}
						.description_locataire_mes_locations {
							width: 100%;
							margin: 0px;
						}
						
			/* MES CANDIDATURES */
			
			.pastille_candidat {
				width: 100%;
				padding: 10px;
				
				display: flex;
				flex-direction: row;
				align-items: center;
				justify-content: space-between;
				gap: 10px;
				
			}
						.header_card_candidat {
							width: 100%;
							display: flex;
							flex-direction: row;
							justify-content: space-between;
						}
									.bien_et_rue_candidat {
										max-width: 50%;
										white-space: nowrap;        /* Pas de retour à la ligne */
										overflow: hidden;           /* Cache le texte qui déborde */
										text-overflow: ellipsis;    /* Ajoute "..." */
									}
						.photo_candidat {
							width: 50%;
							min-width: 50px;
							aspect-ratio : 1 / 1;
							border-radius: 100%;
							
							object-fit: cover;
						}
						.description_candidat{
							width: 100%;
							margin: 0px;
							display: flex;
							flex-direction: column;
							justify-content: flex-start;
							gap: 10px;
						}
									.description_perso_candidat {
										display: -webkit-box;        /* Nécessaire pour activer le clamp */
										-webkit-box-orient: vertical;/* Orientation verticale */
										-webkit-line-clamp: 3;       /* Nombre de lignes à afficher */
										overflow: hidden;            /* Cache le texte qui dépasse */
										text-overflow: ellipsis;     /* Ajoute "..." si le texte est tronqué */
										color: grey;
										margin: 0px;
									}
			
			/* FICHE LOCATAIRE */
			#photo_et_badges {
				width: 100%;
				position: relative;
			}
						.photo_locataire {
							width: 50%;          /* largeur fixe ou % (par ex: 100%) */
							aspect-ratio: 1 / 1;   /* ratio carré */
							object-fit: cover;     /* recadre l’image sans déformation */
							border-radius: 50%;    /* rend l’image ronde */
							display: block;        /* supprime les espaces inline */
							margin: 0 auto;        /* centre l’image horizontalement */
						}

#footer_principal {
	background-color: white;
	height: 75px;
	width: 100%;
	max-width: 1000px;
	padding: 20px;
	
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
			.bouton_footer_principal {
				position: relative;
				display: flex;
				flex-direction: column;
				align-items: center;
			}