body {
  background-color: #002349;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 16px;
  margin: 0;
  transition: all 0.3s ease;
}

.header {
  position: fixed;
  background-color: white;
  width: 100%;
}

.table-container {
  overflow-x: auto;
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 2rem;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  max-width: 800px;
}

th,
td {
  border-top: 1px solid #e0e0e0; /* Bordure horizontale */
  border-bottom: 1px solid #e0e0e0; /* Bordure horizontale */
  padding: 5px 5px;
  text-align: center;
  vertical-align: middle;
}

th {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #ffffff;
}

table {
  border-collapse: collapse;
}

table,
th,
td {
  border-left: none; /* Retire la bordure verticale */
  border-right: none; /* Retire la bordure verticale */
}

tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.02);
  background: #fafafa;
}

tbody tr:nth-child(even) {
  background-color: #ffffff;
}

th:nth-child(1),
td:nth-child(1) {
  padding-right: 0px;
  padding-left: 0;
}

th:nth-child(2),
td:nth-child(2) {
  text-align: left !important;
}

.photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
}

.nom-eleve {
  display: flex;
  align-items: center;
  gap: 8px;
}

.echec {
  color: red;
}
.tabs {
  display: flex;
  cursor: pointer;
}

.tab {
  padding: 10px 20px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-bottom: none;
  margin-right: 5px;
  border-radius: 5px 5px 0 0;
}

.tab.active {
  background-color: white;
  font-weight: bold;
}

.tab-content {
  border: 1px solid #ccc;
  padding: 20px;
  display: none;
  border-radius: 0 5px 5px 5px;
}

.tab-content.active {
  display: block;
}