.graphique-barre {
  width: 100%;
  height: 300px;
  max-width: 100%;
}
/* ---------------------- STRUCTURE TDB UNIFORME ---------------------- */
.contenu-tdb {
  max-width: auto;
  margin: auto;
}

.encadre-blanc {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
	max-width: 1400px;
}

.encadre-info {
  background: white;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}


/* ---------------------- TEXTES GÉNÉRAUX ---------------------- */
p,h1,h2 {
  text-align: center;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------------------- LIENS ---------------------- */
a:link, a:visited {
  color: #7426EF;
  text-decoration: none;
}

a:hover {
  color: #F70D5C; /* survol rose */
}

a:active {
  color: #7426EF;
}



 /* Champs texte, email, etc. */
input[type=text],
input[type=search],
input[type=tel],
input[type=number],
input[type=password],
input[type=email],
select {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea {
	width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 4px rgba(0,123,255,0.25);
}

/* Boutons : submit, reset, button */
input[type=submit],
input[type=button],
input[type=reset],
button {
  display: inline-block;
  padding: 6px 12px;
  background-color: #007BFF;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.2s, transform 0.2s;
}

input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover,
button:hover {
  background-color: #004999;
  transform: scale(0.97);
}

/* Fichiers */
input[type=file] {
  border: none;
  background: transparent;
  padding: 0;
}



/* ---------------------- CLIGNOTEMENT ---------------------- */
.Txtblink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity:0; }
  50% { opacity:1; }
  100% { opacity:0; }
}

/* ---------------------- TABLEAUX & STRUCTURE ---------------------- */


table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
}
th {
  background-color: #000;
  color: #fff;
}


footer {
  height: 50px;
}

header {
  height: 200px;
  padding: 25px 0;
  background: #FFF url(img/header.jpg) no-repeat center;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 20px 0;
  border: 1px solid;
  border-radius: 15px;
  text-align: center;
}

body {
  width: 1366px;
  margin: 0 auto;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  vertical-align: middle;
}

/* ---------------------- BLOCS ET FORMULAIRES ---------------------- */
.contenu, .contenu_edition, .message_accueil, .formulaire, .formulaire_connexion {
  border: 0;
  margin: auto;
}

.contenu {
  padding: 10px;
  width: auto;
}

.contenu_edition {
  padding: 10px 0;
  width: auto;
}

.message_accueil {
  padding: 20px;
  margin: 20px 0;
}

.formulaire {
  width: 100%;
  padding: 30px;

}

.formulaire_connexion {
  padding: 10px;
  text-align: center;
}

/* ---------------------- A4 POUR PDF OU IMPRESSION ---------------------- */
.DOC_A4 {
  width: 21cm;
  height: 29.7cm;
}

/* ---------------------- TABLEAU D'AFFICHAGE ---------------------- */
.AFFICHAGE_EDITION {
  font-size: 12px;
  text-align: center;
  margin: 0;
  table-layout: auto;
  width: 100%;
}

/* ---------------------- BLOCS SPÉCIFIQUES ---------------------- */
.div_calcul, .div_formulaire_informatique {
  text-align: center;
  border-radius: 15px;
  padding: 10px;
  width: 100%;
  margin: auto;
}

.div_calcul {
  font-size: 30px;
  height: 100px;
  border: 0;
}

.div_formulaire_informatique {
  font-size: 25px;
  border: 1px solid;
}

/* ---------------------- BOUTONS SPÉCIFIQUES ---------------------- */
.btn-modifier {
  background-color: #4CAF50;
  color: white;
  padding: 4px 8px;
  font-size: 0.85em;
}

.btn-imprimer,
.btn-filtrer,
.btn-retour {
  background-color: grey;
  color: black;
  padding: 4px 8px;
  font-size: 0.85em;
}

.btn-supprimer {
  background-color: #f44336;
  color: white;
  padding: 4px 8px;
  font-size: 0.85em;
}

/* ---------------------- FORMULAIRES INLINE ---------------------- */
.input-small {
  width: 120px;
  padding: 4px;
  font-size: 0.9em;
}

.form-section {
  margin-bottom: 20px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
}

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

/* ---------------------- BOUTONS GÉNÉRAUX ---------------------- */
.btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #007BFF;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

.btn:active {
  background-color: #004999;
  transform: scale(0.97);
}
