.table-container {
    width: 100%;
    margin: 0 auto;
  }

  table.rgpd-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 15px;
    line-height: 1.45;
  }

  .rgpd-table th,
  .rgpd-table td {
    border: 1px solid #5a9aa8;
    padding: 14px 16px;
    vertical-align: middle;
  }

  .rgpd-table thead th {
    background-color: #354763;
    color: #ffffff;
    font-weight: 700;
  }

  /* Largeurs proportionnelles sur grand écran */
  .rgpd-table th:nth-child(1) { width: 34%; }
  .rgpd-table th:nth-child(2) { width: 26%; }
  .rgpd-table th:nth-child(3) { width: 20%; }
  .rgpd-table th:nth-child(4) { width: 20%; }

  /* Cellules dupliquées masquées sur ordinateur (remplacées par le rowspan) */
  .mobile-only {
    display: none;
  }

  /* Version responsive : affichage en cartes sur mobile */
  @media (max-width: 768px) {
    .rgpd-table thead {
      display: none;
    }

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

    .rgpd-table tr {
      margin-bottom: 18px;
      border: 1px solid #5a9aa8;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(53, 71, 99, 0.08);
    }

    .rgpd-table td {
      border: none;
      border-bottom: 1px solid #d5e6ea;
      text-align: left;
      padding: 12px 14px;
    }

    .rgpd-table td:last-child {
      border-bottom: none;
    }

    .rgpd-table td::before {
      content: attr(data-label);
      display: block;
      font-weight: 700;
      color: #354763;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      margin-bottom: 4px;
    }

    .rgpd-table td:empty {
      display: none;
    }
    .rgpd-table td.empty-cell {
      display: none;
    }
    
    /* Réaffiche les destinataires sur chaque carte mobile */
    .mobile-only {
      display: block;
    }
  }