/* ============================================
   myapp_statsAdherent.css
   ============================================ */
:root{
    --border: #0000008a;
    --blue-header: #79c7e6;   /* bleu des en-têtes */
    --blue-col: #d9eef7;      /* bleu clair 1ère colonne */
    --text: #000000ce;
    --info-line: #0e1766;   /* couleur ligne info */
}

/* Grille de travail */
.statsAdherent-layout {
    display: grid;
    grid-template-columns: 90%;
    gap: 20px;
    align-items: start;
}

/* ---------------------------------- */
/* Colonne centrale - Fonctionnalités */
/* ---------------------------------- */
/* Description générale de la colonne */
.features-column {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0px 30px;
    overflow-y: auto;
    height: 100%;
    display: grid;
    align-items: start;
}
.features-content {
    display: none;
}
.features-content.active {
    display: block;
}
.features-content h2 {
    color: #2c5aa0;
}
/* Description du "bloc" menu */
.features-default-content {
    text-align: center;
    margin-top: 0px;
    color: #666;
    padding: 10px 20px;
}

/* Conteneur principal de la page centrale */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: top;
    min-height: 400px;
    padding: 20px 10px;
}

/* Boîtes de connexion centrale */
.stats-box {
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.247);
    padding: 20px;
    width: 100%;
}
.resultat-box {
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.247);
    padding: 20px;
    width: 100%;
    text-align: left;
}
/* Titre principal */
.stats-title {
    color: #2c5aa0;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-align: center;
}

/* Texte d'aide/instructions */
.stats-text {
    color: var(--color-neutral-700);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    text-align: center;
}

.box {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 10px 10px 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

.title {
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 6px 0;
}

.subtitle {
    font-size: 16px;
    margin: 0 0 10px 0;
}

table.status {
    border-collapse: collapse;
    font-size: 18px;
    min-width: 560px; /* ajuste si besoin */
}

table.status th,
table.status td {
    border: 1px dotted #000;
    padding: 6px 10px;
    vertical-align: middle;
}

/* En-têtes (sauf la cellule vide à gauche) */
table.status thead th {
    background: var(--blue-header);
    font-weight: 400;
    text-align: center;
}

/* Cellule d’en-tête vide (coin haut-gauche) */
table.status thead th.blank {
    background: transparent;
    border-top: none; /* optionnel, selon rendu souhaité */
}

/* Première ligne */
table.status tbody tr:first-child {
    background: var(--blue-col);
    font-weight: 400;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 14px;
}
table.status tbody tr:nth-child(3) {
    background: var(--blue-col);
    font-weight: 400;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 14px;
}

/* Alignements colonnes */
table.status tbody td:nth-child(1) { text-align: left; }
table.status tbody td:nth-child(2) { text-align: center; }
table.status tbody td:nth-child(3),
table.status tbody td:nth-child(4) { text-align: center; } 

/* unvisited link */
table.status a.a-link {
  color: var(--color-primary-dark);
  text-decoration: underline;
  cursor: pointer;
}

table.status a.a-link:hover {
  color: var(--color-neutral-200);
  background-color: var(--color-accent-dark);
}

/* Responsive - tablettes et mobiles */
@media (max-width: 768px) {
    .stats-box {
        padding: 30px 20px;
    }
    
    .stats-title {
        font-size: 24px;
    }

    .stats-help-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        padding: 20px 15px;
    }
    
    .stats-box {
        padding: 25px 15px;
    }

    .stats-title {
        font-size: 22px;
    }
}