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

.aff-header {
    margin-bottom: 10px;
}

.aff-title {
    margin: 0;
    font-size: 18px;
    color: var(--titre-color);
}

.aff-subtitle {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.8;
}

.copy-message {
    display: none;
    margin: 0 0 10px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #ffffff;
    background: #218838;
    width: fit-content;
}

/* Tableau stylisé */
.table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
}

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

.table thead th {
    padding: 11px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

/* 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: 10px 12px;
    vertical-align: middle;
    font-size: var(--taille-text-pc);
    }

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

.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: 2px;
    font-size: 12px;
}

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

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

.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: 62px;
    height: auto;
}

.no-qr {
    color: var(--text-color);
    font-size: 12px;
}
.aff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.aff-btn-copy {
    background: #edf4ff;
    color: #0b4ec9;
    border-color: #cfe1ff;
}

.aff-btn-copy:hover {
    background: #dceaff;
}

.aff-btn-download {
    background: #f5f6f8;
    color: #394150;
    border-color: #d9dde3;
}

.aff-btn-download:hover {
    background: #e7ebf0;
}

.aff-empty {
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px dashed #cdd5df;
    background: var(--navrigt-primary-bg);
    font-size: 13px;
    color: var(--text-color);
}

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

.table thead th {

    font-size: 13px;
}
.table tbody td {
  
    font-size: 12px;
}

    .table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 10px;
        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: 4px;
        color: var(--navrigt-primary-bg);
        font-size: 11px;
    }

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

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

    .produit-titre {
        font-size: 12px;
    }

    .lien-affiliation {
        font-size: 11px;
    }
}

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

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

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

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

    
}

