/* ============================================================
   COOKIES PAGE - Styles spécifiques aux tableaux
   ============================================================
   Utilisé uniquement par : cookies.html
   ============================================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

th {
  color: var(--gold);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(255,255,255,.02);
}

td {
  color: rgba(242,239,230,.8);
}

tr:hover td {
  background: rgba(255,255,255,.02);
}

.cookie-type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.cookie-type.analytics {
  background: rgba(214,179,106,.15);
  color: var(--gold);
}

.cookie-type.essential {
  background: rgba(106,214,150,.15);
  color: #7ed6a0;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 16px;
    background: rgba(255,255,255,.02);
    border-radius: 8px;
    padding: 12px;
  }
  td {
    border: none;
    padding: 8px 0;
    position: relative;
    padding-left: 50%;
  }
  td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    font-weight: 500;
    color: var(--gold);
    font-size: 12px;
  }
}
