/* Table “Styled” */
.styled-table {
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.styled-table thead tr {
  background-color: var(--color-primary);
  color: #ffffff;
  text-align: left;
  font-weight: bold;
}

.styled-table th,
.styled-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0ece4;
}

.styled-table tbody tr {
  background-color: #ffffff;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f2f6f4;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid var(--color-primary);
}

.styled-table tbody tr:hover {
  background-color: var(--color-primary-light, #40916c);
  color: #fff;
  cursor: pointer;
}

/* Responsive — fait défiler horizontalement sur petits écrans */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
