/* Le contenu principal occupe l'espace restant */
.main-content {
  flex: 1;
  overflow-x: hidden; /* Empêche le défilement horizontal */
}

/* Footer : pas de positionnement fixe, il suit le flux du document */
.footer {
  background-color: #272a49 !important;  /* Couleur de fond pour le footer */
  color: white !important;
  font-family: Arial, sans-serif !important;
  text-align: center !important;
  padding: 10px 0 !important;
  width: 100% !important;
  /* Aucune propriété de positionnement */
  margin-top: 20px;  /* Facultatif : ajoute un espacement au-dessus du footer */
  box-sizing: border-box; /* Ajouté pour inclure le padding et la bordure dans la largeur totale */
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1em;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer p {
  color: white !important;
}

/* Masquer le footer global si le body a la classe "hide-global-footer" */
.hide-global-footer .global-footer {
  display: none !important;
}
