.cedstats-selector {
    margin-bottom: 2em;
}

.cedstats-row {
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cedstats-row label:first-child {
    min-width: 200px;
    font-weight: 600;
}

.cedstats-row select {
    min-width: 280px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cedstats-btn {
    background: #484B97;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cedstats-btn:hover {
    background: #363971;
}

.cedstats-notice {
    padding: 12px;
    background: #f0f0f0;
    border-left: 4px solid #ccc;
}

.cedstats-loading {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* En-tête résultats */
.cedstats-header {
    background: #484B97;
    color: #fff;
    padding: 12px 16px;
    margin-bottom: 1em;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

/* Tableau */
.cedstats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 2em;
}

.cedstats-table thead th {
    background: #484B97;
    color: #fff;
    padding: 8px 10px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #3a3d7a;
}

.cedstats-table thead th:first-child {
    text-align: left;
}

.cedstats-table tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.cedstats-table tbody tr:nth-child(even) {
    background: #fff;
}

.cedstats-table tbody td {
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.cedstats-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.cedstats-table tr.cedstats-highlight td {
    background: #e8e9f5;
    font-weight: 700;
}

/* Section évolution */
.cedstats-evolution {
    margin-top: 2em;
}

.cedstats-evolution h3 {
    background: #484B97;
    color: #fff;
    padding: 10px 16px;
    margin-bottom: 1em;
    border-radius: 4px;
    font-size: 14px;
}
