body {
	margin: 0;
	width: 100%;
}

.main-index {
	width: 100%;
	margin-top: 115px;
	margin-bottom: 40px;
	font-family: 'Helvetica', sans-serif;
    color: black;
    padding: 10px 0;
	flex:1;
}

.main-index-titre {
	width: 80%;
	margin: auto;
}

.main-index-tableau {
	width: 80%;
	margin: auto;
	vertical-align: middle;
	text-align: center;
}
.main-index-tableau tr {
	height: 300px;
}

.main-index-tableau img {
	width: 80%; 
	margin: auto;
	border-top-right-radius: 20%;
}
.main-index-tableau img:hover {
	width: 75%; 
	margin: auto;
}

.main-login {
	width: 100%;
	height: 100%;
	margin-top: 60px;
	background-image: url('../image/fondLog.jpg');
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	padding-top: 200px;
	flex: 1;
	min-height: 70vh;
}

.main-login-log {
	width: 30%; 
	margin: auto; 
	background-color: #f7f7f8; 
	padding: 30px;
}
/* Styles pour la barre de navigation */
.main-nav {
	width: 100%;
	margin-top: 125px;
	overflow: hidden;
	overflow: auto;
	font-family: 'Helvetica', sans serif;
	font-size: 24px;
    background-color: #DDDDDD;
    color: #ffffff;
    padding: 10px 0;
}

.main-gestion {
	width: 95%;
	margin: auto;
	margin-top: 155px;
}

.main-gestion a {
	border: solid 1px #183B50;
	color: black;
	padding: 10px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
}

.main-gestion a:hover {
	background-color: #183B50;
	color: white;
}

.main-nav .container {
    display: flex;
    /* justify-content: center; */
}

.main-nav a{
	text-decoration: none;
	color: black;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
	gap: 20px;
	/* width: 100%; */
    /* justify-content: space-between; */
    margin: 0;
    padding: 0;
	color: black;
	text-align: left;
}

.main-nav ul li {
    /* margin-right: 0px; */
	text-decoration: none;
	color: black;
	text-align: left;
	
}

.main-nav-actif {
	border-bottom: solid black 3px;
}

.main-content {
	width: 100%;
	overflow: hidden;
	height: 80vh;
	overflow-y: auto;
	background-color: #f7f7f8;
	display: block;
	font-family: 'Helvetica', sans-serif;
}

.main-content-banner {
	width: 90%;
	margin: auto;
	margin-top: 1%;
	margin-bottom: 1%;
	height: 6vh;
	background-color: #ffffff;
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.main-content-banner h1{
	padding: 10px;
}

.main-content-contenu {
	width: 90%;
	margin: auto;
	margin-bottom: 50px;
	display: flex;
}

.left-two-third {
	width: 65%;
	height: 70vh;
	display: block;
}

.right-one-third {
	width: 34%;
	margin-left: 1%;
	height: 70vh;
	display: block;
}

.card-half,
.card-full {
	width: 100%;
	background-color: #ffffff;
	border: 1px solid #eef0f4;
	margin-bottom: 1vh;
	box-shadow: 0 6px 20px rgba(0,0,0,.01);
}

.card-half { height: 32.5vh; }
.card-full { height: 67vh; }

.card-content  {
	width: 95%;
	height: 100%;
	margin: auto;
}

.card-content-table {
	width: 100%;
	max-height: 25vh;
	overflow:hidden;
	overflow-y: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.card-content-table table {
	width: 100%;
	text-align: left;
	vertical-align: center;
	border-collapse: collapse;
}

.card-content-table thead {
	position: sticky;
	width: 100%;
}

.card-content-table th {
	font-weight: 900;
	border-top: solid black 2px;
	border-bottom: solid black 2px;
	padding: 5px;
}

.card-content-table td {
	border-bottom: dotted gray 1px;
	padding: 5px;
}

.ligne-tableau {
	border-bottom: dotted gray 1px;
}

.ligne-survol {
	background-color: #DFEDF5;
	cursor: pointer;
}

.recherche {
	width: 50%;
	margin: auto;
	margin-top: 10vh;
	margin-bottom: 10vh;
}

.recherche table{
	width: 100%;
	vertical-align: middle;
}

.lastElement {
	text-align: left;
	width: 95%;
	margin: auto;
	margin-bottom: 50px;
	display: block;
	background-color: white;
	font-family: 'Helvetica', sans-serif;
}

.lastElement h1 {
	text-align: left;
	font-size: 10vh;
}

.lastElement-table {
    width: 100%; /* Le tableau prend toute la largeur du conteneur */
    border-collapse: collapse;
    table-layout: fixed; /* Colonnes de largeur fixe */
    margin-bottom: 40px;
}

.lastElement-table thead {
    background-color: #183B50;
    color: white;
    font-family: 'Helvetica', sans-serif;
}

.lastElement-table thead th {
    padding: 10px;
    border-bottom: solid black 2px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.lastElement-table tbody tr {
    display: table-row; /* Par défaut, pour assurer l'alignement des colonnes */
}

.lastElement-table td {
    padding: 10px;
    border-bottom: solid black 1px;
    width: 20%; /* Largeur égale pour chaque colonne */
}

.suggestions {
	position: absolute;
    width: 35%;
	max-height: 150px;
	background-color: white;
	white-space: nowrap;
	overflow: hidden; 
	text-overflow: ellipsis;
	overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
	
}

.suggestions li:hover {
    background-color: #183B50;
	color: white;
}

.factureMainContent {
	width: 100%;
	margin: auto;
	margin-top: 20px;
	display: flex;
	font-family: 'Helvetica', sans-serif;
}

.factureMainContentMenu {
	width: 20%;
	margin-right: 10px;
	padding-left: 10px;
	height: 70vh;
	background-color: #DFEDF5;
	overflow-y: auto;
	border-radius: 4px;
}

.factureMainContentMenu li {
	padding: 10px;
	width: 80%;
	margin-left: 5%;
	margin-bottom: 10px;
	margin-top: 10px;
	color: black;
	border: solid #183B50 1px;
	border-radius: 8px;
	list-style: none;
	cursor: pointer;
}

.factureMainContentMenu li:hover {
	background-color: #183B50;
	color: #ffffff;
}

.factureMainContentMain {
	flex: 1;
	margin-bottom: 50px;
	height: 60vh;
	overflow-y: auto;
}

.ficheAnimalFactureHeader {
	width: 100%;
	margin: auto;
}

.ficheAnimalFactureHeader table{
	border-collapse: collapse;
	width: 100%;
}

.ficheAnimalFactureHeader thead{
	width: 100%;
	margin: auto;
	text-align: left;
	font-size: 2.4 vh;
	background-color: #183B50;
	font-family: 'Helvetica', sans-serif;
	color: white;
	padding: 3px;
}

.ficheAnimalFactureContenu {
	width: 100%;
	margin: auto;
	font-size: 1.6vh;
	font-family: 'Helvetica', sans-serif;
}

.ficheAnimalFactureContenu table{
	border-collapse: collapse;
	width: 100%;
}
.ficheAnimalFactureContenu tr {
	border-bottom: solid black 1px;
	border-top: solid black 1px;
}

.ficheAnimalFactureContenu td {
	position: relative;
	padding: 3px;	
}

.ficheAnimalFactureContenu img {
	width: 40%;
	margin-left: 30%;
	cursor: pointer;
}

.ficheAnimalFactureReglTotaux {
	width: 80%;
	margin: auto;
	font-size: 1.6vh;
	font-family: 'Helvetica', sans-serif;
	display: flex;
}

.reglementFacture {
	flex: 1;
}

.totauxFacture {
	width: 25%;
	padding: 20px;
}

.fichefamille {
	width: 95%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	display: flex;
	font-family: 'Helvetica', sans-serif;
}

.infoChef {
	width: 45%;
	height: 50vh;
	overflow: hidden;
	padding-left: 2.5%;
	overflow-y: auto;
	background-color: white;
	margin-right: 10px;
	box-shadow: 0 6px 10px rgba(0,0,0,.1);
	position: relative;
}

.configFam {
	flex: 1;
	display: block;
	height: 50vh;
	overflow: hidden;
	overflow-y: auto;
	background-color: white;
	box-shadow: 0 6px 10px rgba(0,0,0,.1);
}

.infoMembre {
	width: 45%;
	height: 73vh;
	overflow: hidden;
	padding-left: 2.5%;
	overflow-y: auto;
	background-color: white;
	margin-right: 10px;
	box-shadow: 0 6px 10px rgba(0,0,0,.1);
	position: relative;
}

.membreRight {
	flex: 1;
	display: block;
	height: 73vh;
	overflow: hidden;
	overflow-y: auto;
	box-shadow: 0 6px 10px rgba(0,0,0,.1);
}

.archiveMembre {
	flex: 1;
	display: block;
	height: 22vh;
	overflow: hidden;
	overflow-y: auto;
	background-color: white;
	box-shadow: 0 6px 10px rgba(0,0,0,.1);
}

.memberFam, .prestaFam {
	height: 20vh;
	width: 95%;
	margin: auto;
	margin-bottom: 1vh;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	overflow-y: auto;
}
.memberFam ul, .prestaFam ul {
	width: 100%;
	list-style: none;
}

.memberFam li, .prestaFam li {
	text-decoration: none;
	list-style: none;
	color: black;
	cursor: pointer;
	width: 80%;
	padding: 10px;
	border-top: dotted black 1px;
	border-bottom: dotted black 1px;
}

.memberFam li:hover, .prestaFam li:hover {
	transform: scale(0.98);
	background-color: #183B50;
	color: white;
}

.ficheClient-top {
	width: 100%;
	text-align: left;
	color: black;
}

.ficheClient-detail {
	width: 90%;
	margin-left: 5%;
	text-align: left;
	border-collapse: collapse;
	font-family: 'Helvetica', sans-serif;
	margin-bottom: 20px;
}

.ficheClient-detail thead {
	color: black;
}

.ficheClient-detail th {
	border-bottom: solid black 2px;
}

.ficheClient-detail td {
	padding-bottom: 10px;
	padding-top: 10px;
}

.button-action {
	border: none; 
	width: 100%;
}

.button-action td {
	padding-bottom: 30px;
}

.button-action button {
	width: 90%;
	margin-left: 5%;
	padding: 10px;
	cursor: pointer;
	background-color: white;
	color: black;
	border: solid 1px #183B50;
	border-radius: 4px;
	font-size: 1.3em;
}

.button-action button:hover {
	transform: scale(0.95);
	background-color: #183B50;
	color: white;
	border: none;
}

.badgeMembre {
	position: absolute;
	top: 10px;
	right: 10px;

	/* identique à ton approche "stamp" */
	width: 15%;
	aspect-ratio: 1 / 1;

	border-radius: 999px;
	overflow: hidden;

	/* pour l'effet 3D */
	perspective: 900px;

	/* optionnel : petite ombre */
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.badgeMembre-inner {
	position: relative;
	width: 100%;
	height: 100%;

	transform-style: preserve-3d;
	transition: transform 0.6s ease;
}

/* Flip au survol */
.badgeMembre:hover .badgeMembre-inner {
	transform: rotateY(180deg);
}

.badgeMembre-face {
	position: absolute;
	inset: 0;

	backface-visibility: hidden;
	-webkit-backface-visibility: hidden; /* Safari */
}

.badgeMembre-front {
	transform: rotateY(0deg);
}

.badgeMembre-back {
	transform: rotateY(180deg);
}

.badgeMembre-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover; /* important pour une photo */
}


.act-presta {
	width: 60%;
	margin: auto;
	cursor: pointer;
}

.act-presta:hover {
	transform: scale(0.95);
}

.section-separator {
    border: none;
    border-top: 1px solid #000;
    margin: 20px 0;
}
