html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* Assurez-vous que ces éléments prennent toute la hauteur */
  background-color: #f0f0f0; /* Couleur de fond pour toute la page */
}

.container {
  padding-bottom: 10px; /* Si nécessaire pour l'espace au-dessus du footer */
}


.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  padding-top: 5px;
  height: 85px; /* Hauteur de votre footer */
  width: 100%;
  background-color: #433E3F; /* Couleur de fond de votre footer */
  color: #bdcad9;
  text-align: center;
  font-size: x-small;
}

.form-check-input{
    opacity:0;
    position:absolute;
    left:9999px;
}

.form-check-input:checked + .form-check-label {
font-weight: bold;
display:block
}

.form-check-label{
outline:solid 2px;
outline-color:currentcolor;
padding:3px;
}


.A:checked + .A_label{
background-color: #7FB3D5;
}
.A_label{
background-color: #D4E6F1;
}

.B:checked + .B_label{
background-color: #52BE82;;
}
.B_label{
background-color: #D4EFDF;
}

.C:checked + .C_label{
background-color: #BB8FCE;
}
.C_label{
background-color: #EBDEF0;
}

.DR:checked + .DR_label{
background-color: #F5B7B1;
}
.DR_label{
background-color: #FADBD8;
}

.DQ:checked + .DQ_label{
background-color: #F7DC6F;
}
.DQ_label{
background-color: #FCF3CF;
}

.DP:checked + .DP_label{
  background-color: #85929e ;
}
.DP_label{
  background-color:  #d6dbdf;
}


.row > div {
margin-top: 10px;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.container-box {
  background-color: #f0f0f0;
  padding: 20px;
  height: 100%;
}

.container-box-full {
  min-height: calc(100vh - 50px); /* 100vh est la hauteur totale de la fenêtre d'affichage, moins la hauteur de votre footer si nécessaire */
  padding: 20px; /* Ajoutez votre padding comme désiré */
  background-color: #f0f0f0; /* Assurez-vous que la couleur de fond est cohérente */
}

.min-width-card {
  min-width: 300px; /* ajuster la largeur minimale selon vos besoins */
}

.custom-accordion {
  min-width: 100%;
}

.col-md-1.5 {
  flex-basis: 12.5%; /* correspond à 1/8 de la largeur de la rangée parente */
  max-width: 12.5%;
}

.dataframe th,
.dataframe td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #000;
}

.dataframe th {
    background-color: #3498db;
    color: #fff;
    text-transform: uppercase;
}

.dataframe tbody tr:nth-of-type(even) {
    background-color: #fff;
}

.dataframe tbody td:last-child {
  border-right: 1px solid #000;
}


/* Boutons pour les écrans de largeur inférieure à 576 pixels */
@media (max-width: 576px) {
  .form-check-label {
    font-size: 1rem;
  }
}

/* Boutons pour les écrans de largeur entre 576 et 992 pixels */
@media (min-width: 576px) and (max-width: 992px) {
  .form-check-label {
    font-size: 1.5rem;
  }
}

/* Boutons pour les écrans de largeur supérieure à 992 pixels */
@media (min-width: 992px) {
  .form-check-label {
    font-size: 1.4rem;
  }
}

/* Réduire la taille des boutons lorsque l'écran est trop petit */
@media (max-width: 500px) {
  .form-check-label {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

.btn-secondary {
  font-size: 1.5rem !important;
  padding: 0.7rem 2rem !important;
  min-width: 10rem !important;
}

h1 {/* Couleur du texte */
  font-family: Arial, sans-serif; /* Police de caractères */
  font-size: 36px; /* Taille de la police */
  font-weight: bold; /* Gras */
  margin-bottom: 10px; /* Espacement en bas */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre du texte */
}

.card {
  border-radius: 8px;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group input {
  margin-bottom: .5rem;
  border-radius: 4px;
}

.btn-primary {
  background-color: #0056b3;
  border: none;
}

.btn-secondary {
  background-color: #6c757d;
  border: none;
}

/* Ajouter une ombre pour la profondeur */
.shadow {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.result-section h3 {
  font-weight: bold;
}

.result-item {
  display: flex;
  align-items: baseline;
  font-size: 1.1em;
}

.result-label {
  font-weight: bold;
  margin-right: 5px;
}

.result-value {
  font-weight: normal;
}

.text-primary {
  color: #007bff;
}

.text-success {
  color: #28a745;
}

.text-warning {
  color: #ffc107;
}

hr {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.label-align-left {
    text-align: left;
    display: block; /* Assurez-vous que le label est affiché en tant que block pour occuper la totalité de la ligne */
    margin-bottom: 0.5rem; /* Optionnel: ajuste l'espacement en dessous du label */
}
