/* Table de base */
.table-component {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}

/* En-têtes */
.table-component th {
  text-align: left;
  padding: 8px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

/* Cellules */
.table-component td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

/* Progress container */
.progress-container {
  margin-top: 4px;
}

.progress-label {
  font-size: 12px;
  margin-bottom: 4px;
  color: #555;
}

.progress-bar-outer {
  background: #eee;
  border-radius: 6px;
  height: 20px;
  width: 100%;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
  .table-component thead {
    display: none; /* cacher les en-têtes */
  }

  .table-component, 
  .table-component tbody, 
  .table-component tr, 
  .table-component td {
    display: block;
    width: 100%;
  }

  .table-component tr {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
  }

  .table-component td {
    border: none;
    padding: 6px 0;
  }

  .table-component td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
    color: #555;
  }
}
