 #cc-main {
     /** Change font **/
     --cc-font-family: "Open Sans", sans-serif;

     /** Change button primary color to black **/
     --cc-btn-primary-bg: #00b3c4;
     --cc-btn-primary-border-color: #00b3c4;
     --cc-btn-primary-hover-bg: #018f9d;
     --cc-btn-primary-hover-border-color: #018f9d;

     /** Also make toggles the same color as the button **/
     --cc-toggle-on-bg: var(--cc-btn-primary-bg);

     /** Make the buttons a bit rounder **/
     --cc-btn-border-radius: 10px;
 }


/* === Styles limités à ce tableau cookies uniquement === */


BUTTON.opencookieconsentdialog {
  background-color: #00b3c4;
  padding: 8px 20px;
  color: white;
  border: none;
  margin-bottom: 2em;
}


.cookies-table {
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --text: #111827;
    --muted: #6b7280;
    --radius: 12px;
    color: var(--text);
  }

  .cookies-table .table-wrap {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    overflow: hidden;
    margin-bottom:2em;
    margin-top:1em;
  }

  .cookies-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  .cookies-table thead th {
    text-align: left;
    font-weight: 600;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
  }
  .cookies-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .cookies-table tbody tr:nth-child(even) {
    background: #fcfcfd;
  }

  /* --- Mobile (<= 640px) --- */
  @media (max-width: 640px) {
    .cookies-table thead {
      position: absolute;
      left: -9999px;
      top: -9999px;
      height: 0;
      width: 0;
      overflow: hidden;
    }
    
    .cookies-table .table-wrap {
      padding-left: 8px;
    }

    .cookies-table table,
    .cookies-table tbody,
    .cookies-table tr,
    .cookies-table td {
      display: block;
      width: calc(100% - 12px);
    }

    .cookies-table tbody tr {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 1px 2px rgba(0,0,0,.04);
      margin: 12px 0;
      padding: 8px 12px;
    }

    .cookies-table tbody td {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 8px;
      padding: 8px 4px;
      border: 0;
      border-bottom: 1px dashed var(--border);
    }

    .cookies-table tbody td:last-child {
      border-bottom: 0;
    }

    .cookies-table tbody td::before {
      content: attr(data-label);
      font-weight: 600;
      color: var(--muted);
    }
  }

/* === FIN Styles limités à ce tableau cookies uniquement === */