
/* Conteneur principal */
.container {
    margin-left: 170px;
    margin-top: 100px;
    padding: 0 15px;
}

/* Tableau stylisé */
.table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
    background-color: var(--bg-color);
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* En-tête du tableau */
.table thead {
    background-color: var(--navrigt-primary-bg);
    color: var(--text-color);
}

.table thead th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: var(--taille-titre-pc);
}

/* Lignes du tableau */
.table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: var(--hover-bg);
}

.table tbody td {
    padding: 15px 12px;
    vertical-align: middle;
    font-size: var(--taille-text-pc);
    }

/* Médias : images et vidéos */
.media-preview {
    border-radius: 6px;
    max-width: 80px;
    height: auto;
    margin-bottom: 8px;
}

.produit-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.produit-titre {
    font-weight: var(--text-gras);
    color: var(--text-color);
    margin-top: 5px;
}

/* Lien d'affiliation */
.lien-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lien-affiliation {
    word-break: break-all;
    color: var(--text-color);
    text-decoration: none;
}

.lien-affiliation:hover {
    text-decoration: underline;
}

/* QR Code */
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code {
    max-width: 80px;
    height: auto;
}

.no-qr {
    color: var(--text-color);
}
.te{
    font-size: var(--taille-titre-pc);
    color:var(--text-color);
}
/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .container {
        margin-left: 0 !important;
        padding: 0 10px;
    }
    .te {
        font-size: var(--taille-titre-mo);
    }
    .table thead {
        display: none;
    }

.table thead th {

    font-size: var(--taille-titre-mo);
}
.table tbody td {
  
    font-size: var(--taille-text-pc);
}

    .table tr {
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        background: var(--bg-color);
        box-shadow: 0 2px 4px var(--shadow-color);
    }

    .table td {
        padding: 10px 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

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

    .table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: var(--navrigt-primary-bg);
        font-size: var(--taille-text-mo);
    }

    .media-preview {
        max-width: 60px;
    }

    .qr-code {
        max-width: 60px;
    }

    .produit-titre {
        font-size: var(--taille-titre-mo);
    }

    .lien-affiliation {
        font-size: var(--taille-text-mo);
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .table tr {
        padding: 12px;
        margin-bottom: 15px;
    }

    .media-preview {
        max-width: 50px;
    }

    .qr-code {
        max-width: 50px;
    }

    
}

