@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@CHARSET "UTF-8";

header {
	padding-right: 0;
	font-family: "open_sans", Arial, Helvetica, sans-serif;
}

.container {
  max-width: 100%;
/*   margin: 0 auto; */
  padding: 0px;
}
.sticky-header {
	position: sticky;
	top: 0;
	background-color: #f2f2f2;
}
.img-download {
  width: 20px;
  height: 20px;
}

.loupeInfoRight {
	width: 200px;
	height: 150px;
	object-fit: fill;
}

.file{
  margin : 0 10px 0 0px;
}
.dossier{
  margin : 0 10px 0 0px;
}
.popupButton{ 
  background: none;
  border: none;
  cursor: pointer;
}
 .col-nom {
/*   min-width: 300px; */
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.col-chem-sys{
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.identification .identification-wrapper .identificationpro {
	margin-bottom: 5px;
	text-align: left;
	color: #ffffff;
	width: 100%;
	padding: 0 0 0 10px;
	font-size: 1em;
	display: table;
	position: initial;
	width: 260px;
}

.TableAnnonceIndexGeneric {
	font-size: 12x;
	background-color: white;
	margin-bottom: 12px;
	padding-bottom: 12px;
	padding-top: 12px;
	padding-left: 12px;
	padding-right: 12px;
	/* border: 1px solid #78645D; */
	width: 98%;
	margin: 10 auto 10 auto;
	/* 	border-radius: 10px;*/
}

.TableAnnoncePalette {
	font-size: 12x;
	background-color: #45b759;
	margin-bottom: 12px;
	padding-bottom: 12px;
	padding-top: 12px;
	padding-left: 12px;
	padding-right: 12px;
	/* border: 1px solid #78645D; */
	width: 98%;
	margin: 10 auto 10 auto;
	/* 	border-radius: 10px;*/
}

.TablePaletteDetails {
	font-size: 12x;
	background-color: #ff6600;
	margin-bottom: 12px;
	padding-bottom: 12px;
	padding-top: 12px;
	padding-left: 12px;
	padding-right: 12px;
	/* border: 1px solid #78645D; */
	width: 96%;
	margin: 10 auto 10 auto;
}

.TableAnnonceContainer {
	font-size: 12x;
	background-color: #6bb5c1;
	margin-bottom: 12px;
	padding-bottom: 12px;
	padding-top: 12px;
	padding-left: 12px;
	padding-right: 12px;
	/* border: 1px solid #78645D; */
	width: 98%;
	margin: 10 auto 10 auto;
	/* 	border-radius: 10px;*/
}

.TableAnnonceContainerValide {
	font-size: 12x;
	background-color: #00cc99;
	margin-bottom: 12px;
	padding-bottom: 12px;
	padding-top: 12px;
	padding-left: 12px;
	padding-right: 12px;
	/* border: 1px solid #78645D; */
	width: 98%;
	margin: 10 auto 10 auto;
	/* 	border-radius: 10px;*/
}

#acces_espace {
	text-align: right;
	list-style: none;
/* 	margin-left: 60%;
 */	/* 	margin: 1em 0 0.5em 0;
 */
	/* 	padding: 33px; */
}

#acces_espace li a {
	letter-spacing: .1rem;
	text-decoration: none; /* Aucune décoration */
	padding: 12px 15px 12px 3vmin;
	margin: 2px 0;
/* 	width: 50%;
 */	border-radius: 0;
	float: right;
}

.colAcces {
  display: flex;
  flex-direction: column;
  align-items: flex-end;     /* Aligne les boutons à droite */
  justify-content: center;
  margin-left: auto;         /* Pousse .colAcces à droite */
  gap: 10px;
  align-items: stretch;
}

/* li à l'intérieur */
.colAcces li {
  margin: 0;
}

/* les boutons */
.colAcces a {
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: white;
  display: inline-block;
}

.titleBar {
	text-align: center;
}

#loginPage {
/* 	padding-bottom: 8%; */
/* 	padding-top: 133px;
 */
 }

main.RegisterPage {
	padding-top: 250px;
}

#Pwdforget {
	padding-top: 130px;
}

.logo {
  width : 49%;
  height: 130px;
  background-image: url(images/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  display: block;
  flex-shrink: 0;
}

.perso {
	flex: 1;
    min-width: 0;
    text-align: right;
}

#deco {
	background-image: url(images/deco.jpg);
	background-size: contain;
	-webkit-background-size: contain;
	background-repeat: no-repeat;
	background-position: 0px;
}

#logo {
    width : 30%;
	height: 130px;
	padding: 0;
	margin: 14px 10px 0px 10px;
	background-image: url(images/logo.png);
	background-size: contain;
	-webkit-background-size: contain;
	background-repeat: no-repeat;
	background-position: 0px;
}



.DisplayLoginStyle {
	/* 	margin-left: auto;
	margin-right: auto;
	border: none;
 */
    color: #64748b;
	background: rgba(30, 136, 168, .06);
    border-radius: 10px;
    margin: 0px auto 0px auto;
    border-collapse: collapse;
	width: 30%;
}

#DisplayLogin {
    color: #64748b;
	background: rgba(30, 136, 168, .06);
    border-radius: 10px;
	margin: 0 auto 0 auto;
	border-collapse: collapse;
	width: 30%;
}

.btn-danger, .btn-primary {
	margin-bottom: 5px;
	text-align: left;
	color: #ffffff;
	width: 100%;
	padding: 0 0 0 10px;
	font-size: 1em;
	display: table;
	position: initial;
}

.btn-danger {
	background-color: #a63950;
}

.btn-primary {
	background-color: #0b6ba8;
}

.square {
	  margin-left: 10px;
  display: inline-block;
  white-space: nowrap;
  font-weight: bold;
  color: #0B6BA8;
  text-decoration: none;
}

table.tableRec {
	width: 63%;
	margin: 0 auto 0 auto;
}

.profil .titre span {
	font-size: 14px;
	text-transform: uppercase;
	color: #0B6BA8;
	font-weight: 700;
}

ul {
	list-style: none;
}

.labelInfo {
	margin-top: auto;
	margin-bottom: auto;
	text-align: right;
}

.inputInfo {
	margin-top: auto;
	margin-bottom: auto;
	text-align: left;
}

#Global {
	width: 50%;
}

#Global #gauche {
	float: left;
	width: 58%;
	padding-right: 15px;
}

#Global #droite {
	margin-left: 60%;
	font-weight: bold;
	background-color: #EDF4F9;
}

li#Global {
	margin-top: 10px;
}

.divSearch {
	display: inline-block;
	width: auto;
}

table {
	border-collapse: collapse;
	width: 100%;
}

th, td {
	text-align: left;
	padding: 8px;
}

.tableCreateManif, .thCreateManif, .tdCreateManif {
	/*     border: 1px solid black;
 */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

.boutProfClientCreate {
	padding: 20px;
	text-align: center;
	font-weight: normal;
	font-size: 12px;
	background-color: #921501;
}

.boutPartClientCreate {
	padding: 20px;
	text-align: center;
	font-weight: normal;
	font-size: 12px;
	background-color: #008300;
}

.boutProfClientCreateSelect {
	padding: 20px;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	background-color: #ff0000;
}

.boutPartClientCreateSelect {
	padding: 20px;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	background-color: #00f900;
}

.even {
	background-color: #f2f2f2;
}

tr:hover {
	background-color: #0B6BB8;
	color : white;
}

tbody tr {
	font-family: "Arial", cursive;
	font-size: 14px;
    color: #78645d;
	line-height: 1.2;
	font-weight: unset;
}

th {
    background: rgba(30, 136, 168, .06);
  	color: #64748b;
} 

#palettier {
	background-color: #ccff99;
	color: #cccccc;
}

.icon {
	margin: 0 0.3em;
	padding: 0 !important;
	width: 16px;
	height: 16px;
	background-image: url(images/sprites.png) !important;
	background-repeat: no-repeat !important;
	background-position: top left !important;
}

.ic_b_drop {
	background-position: 0 -336px !important;
}

.ic_b_del {
	background-position: 0 -208px !important;
}

.tabCompProfif {
	margin: 0 auto 0 auto;
	width: 90%;
}

.selectjustifType {
	margin-right: 10px;
}

.inputCheckbox {
	border: 1px solid #ccc;
	padding: 5px;
	font-size: 12px;
	width: 12px;
	color: red;
}

.tdTable {
	background-color: #3399cc;
	color: white;
}

table thead tr {
	height: 60px;
	background: #36304a;
}

.column1 {
	border: ridge;
	width: 260px;
	padding-left: 40px;
}

.column2 {
	border: ridge;
	width: 260px;
}

.column3 {
	border: ridge;
	width: 160px;
}

.column4 {
	border: ridge;
	width: 110px;
	text-align: right;
}

.column5 {
	border: ridge;
	width: 170px;
	text-align: right;
}

.column6 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}

.column7 {
	border: ridge;
	width: 160px;
	/*   padding-left: 40px; */
}

.column8 {
	border: ridge;
	width: 160px;
}

.column9 {
	border: ridge;
	width: 160px;
}

.column10 {
	border: ridge;
	width: 110px;
	text-align: right;
}

.column11 {
	border: ridge;
	width: 170px;
	text-align: right;
}

.column12 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}

.column13 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}

.column14 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}

.column15 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}

.column16 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}

.column17 {
	border: ridge;
	width: 160px;
	text-align: right;
	/* padding-right: 62px; */
}

.column18 {
	border: ridge;
	width: 160px;
	text-align: right;
	/*   padding-right: 62px; */
}
/*  */
/*	DEBUT LOADING SPLASH		*/
.loader {
	/* 	position: absolute;
 */
	position: relative;
	margin-top: 50%;
	width: 100%;
	height: 100%;
	background: #fdfdfd;
	display: flex;
	justify-content: center;
	align-items: center;
	/*     transition : opacity 1s ease-in-out, visibility 1s ease-in-out;
 */
}

.loaderDownload {
	margin-top: 12%;
	width: 42px;
	height: 42px;
	border: 16px solid #e5e5e5;
	border-top: 16px solid #0B6BA8;
	border-radius: 50%;
	position: relative;
	box-shadow: 0 0 16px 2px rgba(0, 0, 0, 0.2);
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0%);
	animation: ring 1s linear infinite;
}

.loader-ring {
	margin-top: 12%;
	width: 90px;
	height: 90px;
	border: 16px solid #e5e5e5;
	border-top: 16px solid #0B6BA8;
	border-radius: 50%;
	position: relative;
	box-shadow: 0 0 16px 2px rgba(0, 0, 0, 0.2);
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0%);
	animation: ring 1s linear infinite;
}

.lettre {
	color: #a63950;
	font-size: 30px;
	letter-spacing: 15px;
	/* margin-bottom: 150px; */
	animation: flash 1.2s linear infinite;
	margin: 10px auto 0; /* Ajoutez une marge supérieure de 10 pixels */
}

.containerLettre {
  display: flex;
  justify-content: center;
  align-items: center; /* Pour centrer aussi verticalement */
  }

.containerLettreVertical{
    display: flex;
	flex-direction: column;
    align-items: center; /* Pour centrer aussi verticalement */
  }

.loader-ring-left {
  margin-left: 90px;
  margin-top: 20px;
  width: 90px;
  height: 90px;
  border: 16px solid #e5e5e5;
  border-top: 16px solid #0B6BA8;
  border-radius: 50%;
  box-shadow: 0 0 16px 2px rgba(0, 0, 0, 0.2);
  animation: ring 1s linear infinite;
}
@keyframes flash {
	0% {
	color: #0B6BB8;
	text-shadow: 0 0 7px #0B6BB8;
	}

	90% {
	color : #a63950;
	text-shadow : none;
	}
	100%
	{
	color : #0B6BB8;
	text-shadow : 0 0 7px #0B6BB8;
	}
}
@keyframes ring { 
	0% {
	transform : translate(-50%, 0%) rotate(0deg);
	color: #fff900;
	text-shadow: 0 0 7px #1B2EFE;
	}

	90% {
	color : #484848;
	text-shadow : none;
	}
	100%{
	transform : translate(-50%,0%)
	rotate(360deg);
	color : #830000;
	text-shadow : 0 0 7px #830000;
	}
}
.lettre:nth-child(1) {
	animation-delay: 0.1s;
}

.lettre:nth-child(2) {
	animation-delay: 0.2s;
}

.lettre:nth-child(3) {
	animation-delay: 0.3s;
}

.lettre:nth-child(4) {
	animation-delay: 0.4s;
}

.lettre:nth-child(5) {
	animation-delay: 0.5s;
}

.lettre:nth-child(6) {
	animation-delay: 0.6s;
}

.lettre:nth-child(7) {
	animation-delay: 0.7s;
}

.lettre:nth-child(8) {
	animation-delay: 0.8s;
}

.lettre:nth-child(9) {
	animation-delay: 0.9s;
}

.lettre:nth-child(10) {
	animation-delay: 1s;
}

.fondu-out {
	opacity: 0;
	transition: opacity 1s ease-out, visibility 1s ease-in-out;
	visibility: hidden;
}

/*		FIN LOADING SPLASH		*/

/*		MENU		*/
nav {
	position: absolute;
	/*     position: fixed;
 */
	width: 100px;
	/*     height: 100vh; */
	/*     background: rgb(83,83,83); */
	top: 100px;
	background: #0B6BA8;
	/*     border: 1px solid #333;
 */
}

.items {
	height: 130px;
	width: 100%;
	border-bottom: 1px solid #333;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	cursor: pointer;
}

.items:nth-child(1) {
	height: 100px;
}

.icone {
	width: 30px;
}

.txt-liste {
	color: #fff;
	margin-top: 10px;
}

/* sous liste */
.sous-liste {
	position: fixed;
	height: 100vh;
	width: 200px;
	top: 162px;
	left: 110px;
	background: rgb(37, 37, 37);
	list-style-type: none;
	padding: 20px;
	border-left: 10px solid #222;
	border-right: 10px solid #222;
	color: #f1f1f1;
	display: none;
}

.titre-sous-liste {
	text-align: center;
	font-size: 20px;
	padding-bottom: 40px;
}

.t1 {
	color: violet;
}

.t2 {
	color: lightblue;
}

.t3 {
	color: lightseagreen;
}

.t4 {
	color: antiquewhite;
}

.t5 {
	color: orangered;
}

.liste-items {
	font-size: 18px;
	margin: 20px 0;
	text-align: center;
}

.items:hover>ul {
	display: block;
}

ul#navigation li.searchStyle {
	float: right;
	position: relative;
	padding: 0 155px 0 0;
}

ul#navigationlogin li.searchStyle {
	float: right;
	position: relative;
	padding: 0 155px 0 0;
}

ul#navigationAdmin li a.first {
	/* 	border-left: 0 none; */
	border-left: 1px solid #C2C2C2;
}

ul#navigationAdmin li a.last {
	border-right: 0 none;
}

.wrapper {
	z-index: 4;
	position: fixed;
	/* 	top: 42px; */
	top: 100px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	transition: top 0.2s ease-in-out;
}

.sectionfooter {
    background: rgba(30, 136, 168, .06);
   	bottom: 0px;
    border-radius: 12px;
  	color: #64748b;
    float: left;
    font-size: 14px;
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	/* 	background-color: #F1E5D7; */
}

.DisplayScrollViewStyle {
	margin: 0 auto 0 auto;
	border-collapse: collapse;
	width: 100%;
}

.scrollView {
	margin-left: auto;
	margin-right: auto;
	max-height: 100vh;
	overflow: scroll;
	overflow-y: scroll;
	height: 600px;
	width: 80%;
}
/* --- Responsive Layout pour #content et ses enfants --- */

#content {
  display: grid;
  grid-template-areas:
    "left"
    "top"
    "center"
    "right";
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 10px;
}

#top {
  background: rgba(30, 136, 168, .06);
  color: #64748b;  grid-area: top;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-left: 10px;
  margin-right: 10px;
  }

#center {
/*   grid-area: top;
 */
  grid-area: top;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: auto;
  max-height: 100vh;
  width:90%;
  margin-left:auto; 
  margin-right:auto;
  }

#left {
  background: rgba(30, 136, 168, .06);
  color: #64748b;border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Poppins', sans-serif;
  max-height: 100vh;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

#right {
  background: rgba(30, 136, 168, .06);
  color: #64748b; 
  grid-area: right; 
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  }

.user-info div {
  font-size: 14px;
  margin-top: 4px;
}


/* --- Desktop/tablette : 3 colonnes --- */
@media (min-width: 768px) {
	  .wrapper-header {
/*     flex-direction: column;
 */    align-items: center;
    text-align: center;
  }
  #content {
    grid-template-columns: clamp(180px, 20%, 240px) 1fr clamp(180px, 20%, 240px);
    grid-template-areas:
      "left top right"
      "left center right";
  }

  #top {
    grid-column: 2 / -2;
  }
   .perso {
/*     text-align: center; */
    text-align: right;
    width: 100%;
  }

  .square {
    display: inline-block;
    margin: 5px 10px;
  }

  .user-info div {
    margin-bottom: 5px;
    
  }
  
  .colAcces {
    justify-content: center;
  }
  
  .colAcces a {
    width: 100%;
    text-align: center;
  }
}

.dig-TextInput-input, input.dig-TextInput-input[type=text] {
	background: #0000;
	border: 0;
	box-sizing: initial;
	color: inherit;
	flex-grow: 1;
	flex-shrink: 1;
	font: inherit;
	height: 22px;
	padding: var(- -spacing__unit--0_5) var(- -spacing__base_unit);
	width: 100%;
}

.resultat {
	background-color: #eee;
	padding: 10px;
	margin-top: 10px;
}

.closed>ul {
	display: none;
}
.closed:hover{
	  background-color: #257aa3; 
	text-decoration: underline;
	color : white;
}
.treeLeft {
	padding-left: 16px;
}

.treeLeft ul {
  padding-left: 20px;
}

.treeLeft li {
  cursor: pointer;
}

.closed > ul {
  display: none;
}

.highlight-on-hover:hover  {
	  background-color: #257aa3; 
	text-decoration: underline;
	color : white;
}

.popupContainer {
    z-index: 1;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	/* Arrière-plan semi-transparent */
	display: none;
	justify-content: center;
	align-items: center;
}

.popupContent {
	position: relative; 
	background-color : #570505;
	padding: 20px;
	max-width: 400px;
	border-radius: 5px;
	max-height: 80vh; /* Hauteur maximale pour éviter que la popup dépasse l'écran */
    overflow-y: auto; /* Active le défilement vertical si le contenu dépasse */
}

.popupResult {
	margin-bottom: 10px;
}

.closeButton {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
}

.closeButton:hover {
    color: red;
}

/* Importation d'une police moderne */

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
    height : 100%;
    overflow: hidden; /* empêche le scroll global */
    display: flex;
    flex-direction: column;
}
html {
	height : 100%;
    margin: 0;
    overflow: hidden; /* empêche le scroll global */
    display: flex;
    flex-direction: column;}
.tree {
    list-style: none;
    padding-left: 20px;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.tree li {
    padding: 8px 10px;
    border-left: 3px solid #007bff;
    position: relative;
    transition: all 0.3s ease;
}

.tree li:hover {
    background: rgba(0, 123, 255, 0.1);
    border-left-color: #0056b3;
}

.tree li::before {
    content: '\2022';
    color: #007bff;
    font-size: 18px;
    position: absolute;
    left: -15px;
    top: 10px;
}

.tree ul {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    border-left: 2px dashed #ddd;
}

.folder {
    font-weight: 600;
    color: #0056b3;
}

.file {
    color: #333;
}

.file:hover {
    color: #007bff;
    cursor: pointer;
}
.wrapper-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
/* Scroll stylisé */
#left::-webkit-scrollbar {
  width: 8px;
}

#left::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

#left::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

        #loaderOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 9999;
	font-family: Arial, sans-serif;
	font-size: 18px;
	color: #333;
}

.spinner {
	border: 6px solid #f3f3f3;
	border-top: 6px solid #3498db;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    }
.file-info {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px 20px;
  max-width: 380px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.file-info-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.file-info-header img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.file-info-header h2 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.file-name-block {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.05);
  margin-bottom: 12px;
}

.file-icon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

.file-name {
  font-weight: bold;
  font-size: 14px;
  color: #222;
  word-break: break-word;
}

.file-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-info-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.file-info-list strong {
  color: #555;
}

mark.hl {
	background: #ffeb3b; /* jaune */
	padding: 0 .1em;
	border-radius: 2px;
}

.custom-file-label {
	display: inline-block;
	padding: 12px 24px;
	background-color: #c0392b; /* rouge foncé */
	color: white;
	font-weight: bold;
	border-radius: 6px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s, transform 0.1s, box-shadow 0.1s;
	user-select: none;
}

.custom-file-label:hover {
	background-color: #e74c3c; /* rouge clair au survol */
}

.custom-file-label:active {
	transform: translateY(2px);
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

/* HEADER MODIF */

/* ====== HEADER BDC – harmonisation (sans changer le HTML) ====== */

/* Barre haute sobre + centrage du contenu */
header.container{
/*   position: sticky;*/
  top: 0; 
/*   z-index: 100;
 */
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(2,6,23,.06);
}

/* ligne du header */
.wrapper-header{
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: flex-start;   /* nav + infos démarrent en haut */
  justify-content: space-between;
  gap: 24px;
}

/* LOGO à gauche (réduit et propre) */
header .logo,
header #logo{
  margin: 4px 0 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  flex: 0 0 auto;
}

/* Colonne de droite : liens en haut, infos en dessous */
.perso{
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;     /* nav au-dessus, infos en dessous */
  align-items: flex-end;      /* aligné à droite */
  gap: 8px;
  text-align: right;          /* tu gardes ton alignement */
}

/* LIGNE de liens (tes <a.square>) */
.perso .square{
  display: inline-block;
  margin: 0 0 0 8px;          /* espacement horizontal */
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  background: #f1f5f9;        /* pastille douce */
  border: 1px solid #e5e7eb;
  transition: background .2s, box-shadow .2s;
}
.perso .square:hover{ background:#e2e8f0; box-shadow: 0 4px 12px rgba(2,6,23,.06); }
.perso .square .deco{ display:none; } /* on enlève l’ornement interne */

/* Bloc infos utilisateur (sous les liens) */
.user-info{
  line-height: 1.35;
  color: #64748b;
  font-size: 13px;
  max-width: 100%;
}
.user-info strong{ color:#0f172a; font-weight:600; }
.user-info div{ margin-top: 2px; }

/* Petites retouches de cohérence */
body{ padding-top: 0; }             /* évite un gros offset sous le header */
.titleBar{ margin-top: 8px; }

/* Responsif: en-dessous de 680px on centre un peu les éléments */
@media (max-width: 680px){
  .wrapper-header{ align-items: center; }
  .perso{ align-items: flex-end; }
  .perso .square{ padding: 7px 10px; border-radius: 8px; }
  header .logo, header #logo{ height: 42px !important; }
}

.perso .square[href*="DisplayLogin"]{ color:#ef4444; background:#fff5f5; border-color:#fde2e2; }
.perso .square[href*="DisplayLoginSI"]{ color:#dc6791; background:#fff5f5; border-color:#fde2e2; }
.perso .square[href*="DisplayLoginDealer"]{ color:#a482dc; background:#fff5f5; border-color:#fde2e2; }
.perso .square[href*="DisplayLoginSuperUtilisateur"]{ color:#6d7fdc; background:#fff5f5; border-color:#fde2e2; }
.perso .square[href*="Disconnect"]{ color:#ef4444; background:#fff5f5; border-color:#fde2e2; }
.perso .square[href*="Search"].active{ background:#e6f4fa; border-color:#cce6f3; }

.bdc-brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:#0f172a;
}
.bdc-logo {
 width:70px;          /* fixe une largeur explicite */
  height:56px;
  background-image:url("images/BDCGLOBE.png");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:left center;
  display:inline-block;
  }

/* Style du texte de marque (utile pour la variante B) */
.bdc-brandTitle {
	font-weight: 700;
	letter-spacing: .2px;
	text-align: left;
}

.bdc-brandTitle span {
	color: #e11d48;
}

/* ===== Bouton Connexion – style harmonisé aux .square ===== */
.boutonConnInDisplayLog{
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #f1f5f9;
/*   color: #0f172a;
 */
  color: #64748b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, box-shadow .2s, transform .04s, border-color .2s;
}
.boutonConnInDisplayLog:hover{
  background: #e2e8f0;
  box-shadow: 0 4px 12px rgba(2,6,23,.06);
  border-color: #dbe0e6;
}
.boutonConnInDisplayLog:active{ transform: translateY(1px); }
.boutonConnInDisplayLog:disabled{
  opacity: .6; cursor: not-allowed; box-shadow: none;
}

/* Variante "primaire" (si tu veux un bouton plus mis en avant) */
.boutonConnInDisplayLog--primary{
  background: linear-gradient(135deg, #1e88a8, #7cc2d5 70%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(30,136,168,.18);
}
.boutonConnInDisplayLog--primary:hover{
  filter: brightness(0.98);
}

/* Si ton tableau login a un hover de <tr> global, neutralise-le ici */
#DisplayLogin tr:hover,
.DisplayLoginStyle tr:hover{
  background: transparent;
  color: inherit;
}

.resizedTextEmailLoginbox{
	color : #64748b;
}

.footerGlobal {
	background-color: white;
    height: 70px;
    bottom: 0;
/*     position: sticky;
 */
 }
 
 /*==========================================================================*/


/* === LAYOUT FIXE: header + main + footer visibles sans scroll === */
:root{
  --header-h: 130px;   /* adapte si ton header change de taille */
  --footer-h: 70px;    /* tu as déjà 70px sur .footerGlobal */
}

/* Empêche le scroll de la page, on gère tout en interne */
html, body {
  height: 100%;
  overflow: hidden;
}

/* HEADER fixe en haut */
header.container {
/*   height: var(--header-h);*/
  position: sticky;        /* tu peux passer à fixed si tu préfères */
  top: 0;
  z-index: 1;
}

/* MAIN occupe l'espace restant entre header et footer, sans scroll */
main#loginPage {
  position: relative;
  height: calc(100vh - var(--footer-h));
 /* height: calc(100vh - var(--header-h) - var(--footer-h));*/
  overflow: hidden;        /* pas de scroll du main lui-même */
  display: block;
}

/* le section à l'intérieur doit aussi prendre toute la hauteur */
/* main#loginPage > section {
  height: 100%;
  display: flex;
}
 */
/* Le conteneur des colonnes fait 100% de la hauteur disponible */
#content {
  height: 76%;
  width: 100%;
  display: grid;
  grid-template-columns: clamp(180px, 20%, 240px) 1fr clamp(180px, 20%, 240px);
 /* grid-template-areas: "left center right";*/
  gap: 16px;
  padding: 10px;
  min-height: 0;           /* crucial pour autoriser le scroll interne */
}

/* Chaque colonne est scrollable indépendamment */
#left, #center, #right {
  min-height: 0;           /* indispensable en grid pour que overflow fonctionne */
  overflow: auto;          /* scroll interne */
  max-height: 100%;        /* ne dépasse jamais le main */
}

/* FOOTER fixe en bas (visible en permanence) */
footer.footerGlobal {
  position: sticky;        /* tu peux passer à fixed si besoin */
  bottom: 0;
  height: var(--footer-h);
   z-index: -1;
}

/* --- Responsive (pile en colonne sous 768px) --- */
@media (max-width: 767px) {
/*   #content {
    grid-template-columns: 1fr;
  }  */
  /* --- Mobile: cacher header + footer, main plein écran --- */
@media (max-width: 767px){
  /* annule les hauteurs réservées */
  :root{
    --header-h: 0px;
    --footer-h: 0px;
  }

  /* on cache réellement */
/*   header.container, */
  footer.footerGlobal, #right{
    display: none !important;
  }

  /* main occupe tout (si tu l’as en position:fixed) */
  main#loginPage{
    top: 0;
    bottom: 0;
  }

  /* grille en 1 colonne : center prend le reste */
  #content{
    grid-template-columns: 1fr;
    grid-template-rows:
      auto   /* top */
      auto   /* left */
      1fr    /* center (prend l'espace restant) */
      auto;  /* right */
    grid-template-areas:
      "top"
      "left"
      "center"
      "right";
  }
}
  
}

 :root{ --header-h: 56px; }
header.container{ height: var(--header-h); }
/* .perso .square {
		display: none;
	} liens cachés par défaut
 */	
	.hdr-btn {
		appearance: none;
		border: 0;
		background: transparent;
		font-size: 22px;
		cursor: pointer;
	}
	.hdr-drawer {
		position: fixed;
        border: 1px solid #ddd;
        border-radius: 8px;/* 		height: 100%;
		top: 0; */
		right: 0;
/* 		bottom: 0; */
		width: 280px;
		transform: translateX(100%);
		transition: transform .2s;
		background: #fff;
		box-shadow: -16px 0 40px rgba(2, 6, 23, .08);
		padding: 16px;
		overflow: auto;
		z-index: 95;
	}
	.hdr-drawer.open {
		transform: translateX(0);
	}
	
	
	
.tableRec {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.tableRec tr td {
	padding: 10px;
}

.labelCell {
	width: 30%;
	text-align: right;
	padding-right: 15px;
	font-weight: bold;
	vertical-align: middle;
	color: #333;
}

.tableRec input[type="text"],
.tableRec input[type="password"] {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s;
}

.tableRec input[type="text"]:focus,
.tableRec input[type="password"]:focus {
	outline: none;
	border-color: #4CAF50;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.boutonRec {
	padding: 12px 30px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
	min-width: 200px;
}

.boutonRec:hover {
	background-color: #45a049;
}

.boutonRec:active {
	transform: scale(0.98);
}

@media screen and (max-width: 768px) {
	.tableRec {
		width: 95%;
	}
	
	.labelCell {
		width: 100%;
		text-align: left;
		display: block;
		padding-bottom: 5px;
	}
	
	.tableRec tr td {
		display: block;
		width: 100%;
	}
}