body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7fa;
  margin: 0;
  padding: 2rem;
}

h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

form.etape-select {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

form select {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

table {
  width: 100%;
  max-width: 800px;
  margin: auto;
  border-collapse: collapse;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

thead tr {
  background-color: #3498db;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
}

th, td {
  padding: 0.50rem;
  text-align: center;
}

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

tbody tr:hover {
  background-color: #e6f2fb;
}

td:first-child {
  font-weight: bold;
  color: #34495e;
}

/* Responsive select fix */
form.etape-select {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

form.etape-select label {
  flex: 1 1 250px;
  min-width: 200px;
  text-align: center;
}

@media (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
  }

  table thead,
  table tbody {
    width: 100%;
  }

  table th,
  table td {
    white-space: nowrap;
    text-align: center;
  }
}

