/* --- CONFIGURATION GLOBALE --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Police moderne */
    background-color: #f8f9fa; /* Gris très clair pour le fond de page */
    color: #333;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CONTENEUR PRINCIPAL --- */
.container {
    width: 90%;
    max-width: 1200px; /* Évite que ça soit trop large sur grand écran */
    margin: 0 auto; /* Centre le bloc */
    background: white;
    padding: 20px;
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Légère ombre */
}

/* --- BOUTONS ET NAVIGATION --- */
.content_center {
    display: flex;
    justify-content: center;
    gap: 15px; /* Espace entre les boutons */
    margin-bottom: 30px;
}

/* Style de base des boutons */
button {
    background-color: #fff;
    border: 2px solid #333;
    color: #333;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease; /* Animation fluide */
    text-transform: uppercase;
}

/* Effet au survol */
button:hover {
    background-color: #eee;
    transform: translateY(-2px); /* Léger soulèvement */
}

/* BOUTON ACTIF (Celui sélectionné) */
button.active {
    background-color: #333; /* Noir (ou ta couleur Nielsen) */
    color: #fff;
    border-color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- TABLEAU --- */
table {
    width: 100%;
    border-collapse: collapse; /* Supprime les doubles bordures */
    margin-top: 10px;
    font-size: 0.95rem;
}

thead tr {
    background-color: #333; /* Entête sombre */
    color: #ffffff;
    text-align: left;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

/* Entête du tableau */
th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Ligne zébrée (une sur deux) */
tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

/* Effet au survol d'une ligne */
tbody tr:hover {
    background-color: #e2e6ea;
    transition: background-color 0.2s;
}

/* Colonne Date centrée */
.center.date {
    text-align: center;
    font-weight: bold;
    color: #d35400; /* Une couleur un peu vive pour la date */
}

/* Référence article en gras */
.ref_article {
    font-weight: bold;
    color: #2980b9;
}

/* Message "En attente" */
td {
    vertical-align: middle;
}

/* --- RESPONSIVE (Pour mobile) --- */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }
    
    th, td {
        padding: 8px 5px;
        font-size: 0.8rem;
    }
    
    button {
        padding: 8px 15px;
        font-size: 14px;
    }
}
