/* css styles */
.dataTables_wrapper {
  overflow-x: auto;
}

table.dataTable {
  width: 100% !important;
}


/* Si tu veux totalement transparent : */
table.dataTable td,
table.dataTable th {
  background-color: transparent !important;
}

/* Conteneur scrollable responsive */
.dataTables_wrapper {
  overflow-x: auto;
}

/* Centrage du bouton de tri */
.dataTables_wrapper .dt-buttons {
  text-align: center;
  margin-bottom: 10px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.navbar {
  background-color: #004080; /* Choisis ta couleur ici */
}
.navbar .navbar-brand, .navbar .nav-link {
  color: white; /* Couleur du texte et des liens */
}

.navbar {
  min-height: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #0C23B8;
  display: flex;
  flex-wrap: wrap;
}

.navbar-brand, .navbar-nav .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 40px;
  color: white;
}

/* Pour le footer aussi en flex responsive */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1em;
  font-size: 0.8em;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: 2em;
}

.footer > div {
  flex: 1 1 100%; /* 100% sur mobile */
  text-align: center;
}

/* Dès que l'écran est plus grand, on remet normal */
@media(min-width: 600px) {
  .footer > div {
    flex: 1;
    text-align: left;
  }
  .footer > div:nth-child(2) {
    text-align: center;
  }
  .footer > div:nth-child(3) {
    text-align: right;
  }
}

table.dataTable tbody td:nth-child(1),
table.dataTable thead th:nth-child(1) {
  background-color: rgba(255, 255, 255, 1.0) !important;
}


.dtfc-fixed-left th,
.dtfc-fixed-left td {
  background-color: rgba(255, 255, 255, 1.0) !important;
}


/* S'assurer que le bouton est toujours visible sur mobile */
button[type="submit"] {
  display: block !important; /* S'assure qu'il est affiché */
  width: 100%; /* Permet au bouton de prendre toute la largeur */
  padding: 10px; /* Ajoute un peu de padding pour un bouton plus large */
  font-size: 16px; /* Taille de la police pour le bouton */
  background-color: #004080; /* Choisir une couleur de fond pour le bouton */
  color: white; /* Couleur du texte */
  border: none; /* Pas de bordure */
  border-radius: 5px; /* Coins arrondis */
  cursor: pointer; /* Le curseur devient une main */
}

/* Adapter le bouton en fonction de la taille de l'écran */
@media (max-width: 600px) {
  button[type="submit"] {
    width: 100%; /* Largeur totale sur petits écrans */
    font-size: 14px; /* Police un peu plus petite sur mobile */
    padding: 12px; /* Un peu plus d'espace pour le bouton sur mobile */
  }
}