body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 30px;
  color: #222;
}

h1 {
  text-align: center;
  margin-bottom: 5px;
}

h2 {
  text-align: center;
  font-weight: normal;
  color: #666;
  margin-bottom: 25px;
}

/* FORMULAIRE CENTRÉ ET SOBRE */
.create {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centre horizontalement */
  gap: 10px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  margin: 0 auto 30px auto;
  max-width: 900px;
  border: 1px solid #ddd;
}

.create label {
  display: none;
}

.create input,
.create select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  background-color: #fafafa;
}

/* tailles équilibrées */
#firstname,
#lastname {
  width: 120px;
}

#position {
  width: 100px;
}

#birthdate {
  width: 140px;
}

#nationality,
#team {
  width: 130px;
}

.create button {
  padding: 8px 15px;
  background-color: #444; /* gris foncé */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.create button:hover {
  background-color: #222;
}

/* TABLE SOBRE */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border: 1px solid #ddd;
}

thead {
  background-color: #eaeaea;
}

th,
td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

tr:hover {
  background-color: #f7f7f7;
}

/* BOUTONS DISCRETS */
.btnEdit,
.btnDelete {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #888;
  color: white;
}

.btnEdit:hover {
  background-color: #666;
}

.btnDelete {
  background-color: #aaa;
}

.btnDelete:hover {
  background-color: #777;
}
