/* === Style global === */
body {
  background-color: aliceblue;
  color: darkslategray;
  padding-top: 70px; /* pour compenser la navbar fixed-top */
  margin: 0;
  overflow-x: hidden; /* empêche le défilement horizontal */
}

/* === Supprime tout padding Bootstrap inutile === */
.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.navbar {
  margin: 0 !important;
  padding: 0 !important;
}

/* Navbar visuellement plus élégante */
.navbar-brand {
  font-weight: bold;
  color: white !important;
}
.navbar-brand:hover {
  text-decoration: underline;
}
.nav-link {
  color: white !important;
}
.nav-link.active {
  text-decoration: underline;
  font-weight: bold;
}

/* === Table === */
table {
  border-collapse: collapse;
  border: double 4px #000;
  width: 100%;
}
th, td {
  border: 1px solid #000;
  padding: 8px;
}
thead th {
  background-color: #e0f0ff;
  font-weight: bold;
}

/* === Divers === */
.cellule-bouton, .cellule-boutonAjout {
  text-align: center;
  padding: 10px;
}

/* === Modales === */
.mhc-modal-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.mhc-modal-content {
  background: white;
  padding: 20px;
  margin: 100px auto;
  border-radius: 10px;
  width: 400px;
  position: relative;
}

/* === Alertes === */
.mhc-modal-alert {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.mhc-modal-alert-content {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  text-align: left;
  font-family: sans-serif;
}
.mhc-modal-alert-content h2 {
  margin-top: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mhc-modal-alert-icon {
  font-size: 1.5em;
  color: #721c24;
}
.mhc-modal-success-icon {
  font-size: 1.5em;
  color: #187762;
}

/* === Nettoyage ancien menu === */
.menu, .menu ul, .menu li, .menu a {
  all: unset;
}