/* css/style.css */

.profile-picture {
    width: 100px; /* Ajustez la taille selon vos préférences */
    height: 100px; /* Assurez une hauteur égale pour un cercle parfait */
    border-radius: 60%; /* Rend l'image circulaire */
    overflow: hidden; /* Cache les parties de l'image qui dépassent le cercle */
    margin: 0 auto 20px auto; /* Centre l'image et ajoute un espace en dessous */
    display: block; /* S'assure que margin: auto fonctionne */
    border: 3px solid #00CCBB; /* Ajoute une bordure autour de la photo (optionnel) */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajoute une légère ombre (optionnel) */
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre l'image pour qu'elle couvre la zone sans distorsion */
}

.header-content {
    display: flex;
    flex-direction: column; /* Aligne les éléments verticalement */
    align-items: center; /* Centre les éléments horizontalement */
    text-align: center; /* Centre le texte */
}






/* Add this to your CSS file */

.contact-item.social-link a {
    display: flex; /* Makes the icon and text align nicely */
    align-items: center; /* Vertically centers them */
    text-decoration: none; /* Removes underline from links */
    color: #333; /* Or whatever your main text color is */
    margin-right: 2px; /* Adjust spacing between social links if they are in a row */
}

.contact-item.social-link .icon {
    width: 50px; /* Adjust size of the icon as needed */
    height: 50px;
    margin-right: 3px; /* Space between icon and text */
}

/* Optional: If you want to put all social links on one line */
.contact-info {
    display: flex; /* Or display: grid; for more complex layouts */
    flex-wrap: wrap; /* Allows items to wrap to the next line if space is limited */
    gap: 10px 20px; /* Space between items (row-gap column-gap) */
}

/* You might need to adjust the existing contact-item styles too */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1px; /* Example: Space between contact items */
}

.contact-item span:first-child { /* Targets the emoji/icon for consistent spacing */
    margin-right: 2px;
}











* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* .header-content {
    position: relative;
    z-index: 1;
}*/

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    opacity: 1;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Tabs Container */
.tabs-container {
    background: white;
    margin: -30px auto 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: #f3f5f5;
    border-bottom: 2px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-button {
    background: none;
    border: none;
    padding: 20px 30px;
    font-size: 1rem;
    font-family: inherit;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
}

.tab-button:hover {
    color: #1e3c72;
    background: rgba(30, 60, 114, 0.05);
}

.tab-button.active {
    color: #1e3c72;
    border-bottom-color: #1e3c72;
    background: white;
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 40px;
    min-height: 500px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    position: relative;
    padding-bottom: 10px;
    font-family: "Times New Roman", Times, serif;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

   
/* About Section */
.about-text {
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 20px;
    color: #555;
}

/* Research Projects */
.project {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-meta span {
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}

.project p {
    color: #666;
    text-align: justify;
}

/* Education */
.education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.education-item h3 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.education-item .institution {
    color: #666;
    font-style: italic;
    margin-bottom: 5px;
}

.education-item .year {
    color: #28a745;
    font-weight: 600;
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.award-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border-left: 2px solid #068a53;
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-2px);
}

.award-item h3 {
    color: #274479;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: "Times New Roman", Times, serif;
}

.award-item .year {
    color: #07b913;
    font-weight: 600;
    margin-bottom: 8px;
}

.award-item p {
    color: #666;
    font-size: 1rem;
    font-weight: bold;
}

/* Publications */
.publications-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.publication-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.publication-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.publication-item h4 {
    color: #1e3c72;
    font-size: 1rem;
    margin-bottom: 5px;
}

.publication-item .journal {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.publication-item .year {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Custom scrollbar */
.publications-list::-webkit-scrollbar {
    width: 8px;
}

.publications-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.publications-list::-webkit-scrollbar-thumb {
    background: #1e3c72;
    border-radius: 4px;
}

.publications-list::-webkit-scrollbar-thumb:hover {
    background: #2a5298;
}

/* Contact tab specific styles */
.contact-section {
    text-align: center;
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1e3c72;
}

.contact-card h3 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 5px;
}

.contact-card a {
    color: #1e3c72;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .tab-content {
        padding: 25px;
    }

    .tab-button {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Tab indicator (This rule is not used in the JS, the JS applies border-bottom directly) */
/* If you want a moving indicator, you'd need more complex JS/CSS. */
/* For now, the .active class handles the indicator. */
/* You can remove this .tab-indicator rule if not used. */
.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    transition: all 0.3s ease;
    border-radius: 2px 2px 0 0;
}



/* Container for PROFESSIONEL PAGE */
/* Container for PROFESSIONEL PAGE */
/* Container for PROFESSIONEL PAGE */

/* Conteneur du tableau (similaire à .awards-grid mais pour un tableau) */
.experience-table-container {
    background-color: #ffffff; /* Assure que le fond du tableau est visible */
    border-radius: 8px;
    overflow: hidden; /* Important pour que les coins arrondis soient visibles */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Légère ombre pour le tableau */
    border-left: 4px solid #1e3c72; /* Bordure latérale comme les .award-item */
}

/* Style général du tableau */
.professional-experience-table {
    width: 100%;
    border-collapse: collapse; /* Supprime l'espacement par défaut des cellules */
}

/* En-tête du tableau */
.table-header-group {
    background-color: #1e3c72; /* Fond d'en-tête bleu foncé comme votre couleur accent */
    color: #ffffff;
}

.table-header-cell {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #142a51; /* Bordure légèrement plus foncée */
}

/* Corps du tableau et lignes */
.table-body-group .experience-table-row {
    border-bottom: 1px solid #e9ecef; /* Bordure légère entre les lignes */
    background: #f8f9fa; /* Fond de ligne par défaut comme votre .project */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Bandes zébrées (lignes paires) */
.table-body-group .experience-table-row:nth-child(even) {
    background-color: #fefefe; /* Un blanc très léger pour les lignes paires */
}

/* Effet de survol sur les lignes (similaire à .award-item:hover) */
.experience-table-row:hover {
    background-color: #e3f2fd; /* Un bleu très léger au survol */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* Cellules de données */
.experience-table-data {
    padding: 15px 20px;
    text-align: left;
    color: #444;
    font-size: 1.35em;
}






/* --- Section Membership --- */
.membership-content {
    background-color: #ffffff; /* Fond blanc pour le contenu de la section */
    padding: 25px; /* Rembourrage interne */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Légère ombre */
    border-left: 5px solid #28a745; /* Bordure colorée à gauche, comme Education */
    margin-top: 30px; /* Espace au-dessus du bloc de contenu */
}

.membership-intro {
    font-size: 1.05rem;
    color: #555;
    text-align: justify;
    margin-bottom: 25px; /* Espace sous l'introduction */
    line-height: 1.7;
}

.membership-list {
    list-style: none; /* Supprime les puces par défaut du navigateur */
    padding: 0; /* Supprime le padding par défaut des listes */
    margin: 0; /* Supprime la marge par défaut des listes */
}

.membership-item {
    background-color: #f8f9fa; /* Fond clair pour chaque élément */
    border: 1px solid #e9ecef; /* Bordure légère */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px; /* Espace entre les éléments */
    display: flex; /* Utilise Flexbox pour un meilleur alignement */
    align-items: center; /* Centre verticalement le contenu */
    font-size: 0.98rem;
    color: #444;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet de transition */
}

.membership-item:last-child {
    margin-bottom: 0; /* Pas de marge sous le dernier élément */
}

.membership-item:hover {
    transform: translateY(-3px); /* Soulève légèrement l'élément au survol */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Ombre plus prononcée au survol */
}

.membership-year {
    font-weight: 600; /* Met l'année en gras */
    color: #1e3c72; /* Couleur d'accent pour l'année */
    margin-right: 10px; /* Espace entre l'année et le texte */
    white-space: nowrap; /* Empêche l'année de revenir à la ligne */
}

/* Ajustements Responsives pour la section Membership */
@media (max-width: 768px) {
    .membership-content {
        padding: 20px;
        margin-top: 25px;
    }

    .membership-intro {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .membership-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .membership-year {
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .membership-content {
        padding: 15px;
        margin-top: 20px;
    }

    .membership-intro {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .membership-item {
        flex-direction: column; /* Empile l'année et le texte sur mobile */
        align-items: flex-start; /* Aligne le contenu empilé à gauche */
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .membership-year {
        margin-right: 0;
        margin-bottom: 5px; /* Ajoute un espace sous l'année empilée */
    }
}


.participation_content {
    background-color: #ffffff; /* Fond blanc pour le contenu de la section */
    padding: 25px; /* Rembourrage interne */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Légère ombre */
    border-left: 5px solid #93c113; /* Bordure colorée à gauche, comme Education */
    margin-top: 30px; /* Espace au-dessus du bloc de contenu */
}








/* --- Styles pour la section Advisees --- */
/* --- Styles pour la section Advisees --- */
/* --- Styles pour la section Advisees --- */
/* --- Styles pour la section Advisees --- */


.advisees-table-container {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* Important pour les coins arrondis et le shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2a5298; /* Bordure latérale bleu foncé */
    margin-top: 30px; /* Espace au-dessus du tableau */
}

.advisees-table {
    width: 100%;
    border-collapse: collapse; /* Supprime l'espacement par défaut entre les cellules */
}

.advisees-table .table-header-group {
    background-color: #1e3c72; /* Fond bleu pour l'en-tête */
    color: #ffffff;
}

.advisees-table .table-header-cell {
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    border-bottom: 5px solid #142a51; /* Bordure sous l'en-tête */
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Ligne verticale blanche légère */
}

/* Pas de bordure verticale sur la dernière colonne de l'en-tête */
.advisees-table .table-header-cell:last-child {
    border-right: none;
}

.advisees-table .table-body-group .advisee-table-row {
    border-bottom: 5px solid #e9ecef; /* Bordure horizontale entre les lignes */
    background: #f8f9fa; /* Fond clair pour les lignes */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Bandes zébrées pour une meilleure lisibilité */
.advisees-table .table-body-group .advisee-table-row:nth-child(even) {
    background-color: #fefefe; /* Un blanc très léger pour les lignes paires */
}

/* Effet de survol sur les lignes */
.advisees-table .advisee-table-row:hover {
    background-color: #e3f2fd; /* Bleu très léger au survol */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.advisees-table .advisee-table-data {
    padding: 15px 20px;
    text-align: left;
    color: #444;
    font-size: 0.95em;
    border-right: 1px solid #e9ecef; /* Ligne verticale légère entre les colonnes de données */
}

/* Pas de bordure verticale sur la dernière colonne de données */
.advisees-table .advisee-table-data:last-child {
    border-right: none;
}

/* --- Responsive pour le tableau Advisees --- */

@media (max-width: 768px) {
    .advisees-table-container {
        padding: 0; /* Pas de padding sur le conteneur pour le mode mobile */
    }
    .advisees-table .table-header-cell,
    .advisees-table .advisee-table-data {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    /* Cache les en-têtes de tableau sur mobile */
    .advisees-table thead {
        display: none;
    }

    /* Transforme les lignes en blocs pour un affichage "carte" */
    .advisees-table,
    .advisees-table tbody,
    .advisees-table tr,
    .advisees-table td {
        display: block;
        width: 100%; /* S'assure que chaque cellule prend toute la largeur */
    }

    .advisees-table tr {
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
        border-left: 3px solid #2a5298; /* Bordure d'accent sur les "cartes" */
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        padding: 10px 0; /* Padding vertical pour aérer les "cartes" */
    }

    .advisees-table td {
        border-bottom: 1px solid #f1f1f1; /* Ligne sous chaque "champ" de la carte */
        padding: 10px 15px;
        text-align: right; /* Aligne le contenu à droite */
        position: relative;
        font-size: 0.9em;
        border-right: none; /* Supprime les bordures verticales sur mobile */
    }

    .advisees-table td:last-child {
        border-bottom: none; /* Pas de bordure sous le dernier champ */
    }

    /* Ajout de labels pour chaque champ sur mobile (très utile pour l'accessibilité) */
    .advisees-table td::before {
        content: attr(data-label) ": "; /* Utilise l'attribut data-label */
        position: absolute;
        left: 15px; /* Positionne le label à gauche */
        width: 45%; /* Donne une largeur au label */
        font-weight: bold;
        color: #1e3c72; /* Couleur du label */
        text-align: left; /* Aligne le label à gauche */
        white-space: nowrap; /* Empêche le label de revenir à la ligne */
    }

    /* Ajout des attributs data-label à chaque cellule de données dans le HTML */
    .advisee-table-data.number-data::before { content: "N°"; }
    .advisee-table-data.name-data::before { content: "Nom & Prénom(s)"; }
    .advisee-table-data.date-data::before { content: "Date"; }
    .advisee-table-data.title-data::before { content: "Titre"; }
}


.advisees-table-container {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* Important pour les coins arrondis et le shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2a5298; /* Bordure latérale bleu foncé */
    margin-top: 30px; /* Espace au-dessus du tableau */
}

.advisees-table {
    width: 100%;
    border-collapse: collapse; /* Supprime l'espacement par défaut entre les cellules */
}

.advisees-table .table-header-group {
    background-color: #1e3c72; /* Fond bleu pour l'en-tête */
    color: #ffffff;
}

.advisees-table .table-header-cell {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    border-bottom: 5px solid #142a51; /* Bordure sous l'en-tête */
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Ligne verticale blanche légère */
}

/* Pas de bordure verticale sur la dernière colonne de l'en-tête */
.advisees-table .table-header-cell:last-child {
    border-right: none;
}

.advisees-table .table-body-group .advisee-table-row {
    border-bottom: 5px solid #e9ecef; /* Bordure horizontale entre les lignes */
    background: #f8f9fa; /* Fond clair pour les lignes */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Bandes zébrées pour une meilleure lisibilité */
.advisees-table .table-body-group .advisee-table-row:nth-child(even) {
    background-color: #fefefe; /* Un blanc très léger pour les lignes paires */
}

/* Effet de survol sur les lignes */
.advisees-table .advisee-table-row:hover {
    background-color: #e3f2fd; /* Bleu très léger au survol */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.advisees-table .advisee-table-data {
    padding: 15px 20px;
    text-align: left;
    color: #444;
    font-size: 0.95em;
    border-right: 1px solid #e9ecef; /* Ligne verticale légère entre les colonnes de données */
}

/* Pas de bordure verticale sur la dernière colonne de données */
.advisees-table .advisee-table-data:last-child {
    border-right: none;
}

/* --- Responsive pour le tableau Advisees --- */

@media (max-width: 768px) {
    .advisees-table-container {
        padding: 0; /* Pas de padding sur le conteneur pour le mode mobile */
    }
    .advisees-table .table-header-cell,
    .advisees-table .advisee-table-data {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    /* Cache les en-têtes de tableau sur mobile */
    .advisees-table thead {
        display: none;
    }

    /* Transforme les lignes en blocs pour un affichage "carte" */
    .advisees-table,
    .advisees-table tbody,
    .advisees-table tr,
    .advisees-table td {
        display: block;
        width: 100%; /* S'assure que chaque cellule prend toute la largeur */
    }

    .advisees-table tr {
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
        border-left: 3px solid #2a5298; /* Bordure d'accent sur les "cartes" */
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        padding: 10px 0; /* Padding vertical pour aérer les "cartes" */
    }

    .advisees-table td {
        border-bottom: 1px solid #b7b726; /* Ligne sous chaque "champ" de la carte */
        padding: 10px 15px;
        text-align: right; /* Aligne le contenu à droite */
        position: relative;
        font-size: 0.9em;
        border-right: none; /* Supprime les bordures verticales sur mobile */
    }

    .advisees-table td:last-child {
        border-bottom: none; /* Pas de bordure sous le dernier champ */
    }

    /* Ajout de labels pour chaque champ sur mobile (très utile pour l'accessibilité) */
    .advisees-table td::before {
        content: attr(data-label) ": "; /* Utilise l'attribut data-label */
        position: absolute;
        left: 15px; /* Positionne le label à gauche */
        width: 45%; /* Donne une largeur au label */
        font-weight: bold;
        color: #1e3c72; /* Couleur du label */
        text-align: left; /* Aligne le label à gauche */
        white-space: nowrap; /* Empêche le label de revenir à la ligne */
    }

    /* Ajout des attributs data-label à chaque cellule de données dans le HTML */
    .advisee-table-data.number-data::before { content: "N°"; }
    .advisee-table-data.name-data::before { content: "Nom & Prénom(s)"; }
    .advisee-table-data.date-data::before { content: "Date"; }
    .advisee-table-data.title-data::before { content: "Titre"; }
}




.advisees-table-container_cochair {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* Important pour les coins arrondis et le shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #b67326; /* Bordure latérale bleu foncé */
    margin-top: 30px; /* Espace au-dessus du tableau */
}





.mph_advisee {
    background-color: #cd5c11; /* Fond bleu pour l'en-tête */
    color: #ffffff;
}


/* SOMMAIRE DU TOTAL DES EFFECTIF ENCADRE */
/* SOMMAIRE DU TOTAL DES EFFECTIF ENCADRE */
/* SOMMAIRE DU TOTAL DES EFFECTIF ENCADRE */
/* SOMMAIRE DU TOTAL DES EFFECTIF ENCADRE */


.summary-table-container {
    background-color: #ffffff;
    padding: 35px 45px;
    border-radius: 15px; /* Bords plus arrondis */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
    text-align: center;
    max-width: 700px;
    width: 90%;
    border: 1px solid #dcdcdc; /* Légère bordure pour un aspect plus défini */
    /* C'est la ligne à ajouter ou modifier pour centrer le conteneur */
    margin: 0 auto;
}


.summary-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 1.05em; /* Texte légèrement plus grand pour la lisibilité */
}

.summary-table-header-cell {
    padding: 14px 20px;
    text-align: left;
    background-color: #f5f8fa; /* Fond clair pour les en-têtes */
    color: #5a7b8e; /* Couleur de texte des en-têtes */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-top: 2px solid #a3b8cc; /* Bordure supérieure plus marquée */
    border-bottom: 2px solid #a3b8cc; /* Bordure inférieure plus marquée */
}

.summary-table-data {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid #e0e6ed; /* Ligne de séparation subtile entre les lignes */
    color: #8e1258; /* Couleur de texte des données */
}

.summary-table-row:nth-child(even) {
    background-color: #fbfdff; /* Zébrure très légère pour les lignes paires */
}

.summary-table-row:hover {
    background-color: #e3f2fd; /* Effet de survol doux et accueillant */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

/* Style pour la première colonne (Indicateur) */
.summary-indicator-data {
    font-weight: bold; /* Les indicateurs en gras */
    color: #3f51b5; /* Couleur distinctive pour les indicateurs */
}





/* Pieds de Page  */


.footer-navigation {
    background-color: #0956a2; /* Couleur sombre et professionnelle */
    color: #ecf0f1; /* Texte clair */
    padding: 40px 20px 20px;
    font-size: 0.95em;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Permet aux sections de passer à la ligne sur petits écrans */
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Ligne de séparation subtile */
}

.footer-section {
    flex: 1; /* Permet aux sections de prendre de l'espace */
    min-width: 200px; /* Taille minimale pour éviter un trop grand rétrécissement */
    margin: 5px;
}

.footer-section h3 {
    color: #3498db; /* Couleur d'accent pour les titres */
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
    text-decoration: underline;
}

.social-links img {
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1); /* Effet de zoom sur les icônes */
}

.contact-info {
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #bdc3c7; /* Texte de copyright légèrement plus clair */
    font-size: 0.85em;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin: 20px 0;
    }

    .footer-section ul {
        text-align: center;
    }
}