.admin-student-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    border-radius: 4px;
    padding: 10px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #363636;
}

.admin-student-banner .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #55AB26;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.admin-student-banner .back-link:hover {
    text-decoration: underline;
}

.progress-box {
    background: white;
    border-radius: 3px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    margin-bottom: 20px;
}

.loading-msg {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #888;
}

/* Global stats strip */

.stat-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 8px 14px;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.stat-item { display: flex; align-items: center; gap: 5px; }
.stat-sep  { color: #ccc; }

.stat-unseen  { color: #bdbdbd; }
.stat-working { color: #ffa726; }
.stat-mastered { color: #55AB26; }

/* Global progression strip */

.global-progress-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 8px 14px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
}

.global-label { white-space: nowrap; font-weight: 600; color: #363636; }
.global-bar-wrap { flex: 1; }
.global-pct  { font-weight: 700; color: #55AB26; white-space: nowrap; }
.global-sub  { color: #aaa; white-space: nowrap; }

/* Per-course progress */

.courses-section {
    margin-top: 30px;
}

.courses-section h2 {
    color: #363636;
    margin-bottom: 24px;
    font-size: 22px;
}

.course-progress-item {
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 20px;
}

.course-progress-item:hover { border-color: #55AB26; }

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.course-name {
    font-size: 18px;
    font-weight: 600;
    color: #363636;
}

.course-percentage {
    font-size: 22px;
    font-weight: 700;
    color: #55AB26;
}

.course-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #888;
}

.course-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.progress-bar-container {
    width: 100%;
    height: 24px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #55AB26;
    border-radius: 4px;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.progress-bar-empty { width: 0%; }

/* Legend */

.legend-box {
    background: #F5F5F5;
    border-radius: 3px;
    padding: 20px;
    margin-top: 30px;
}

.legend-box h3 {
    margin-bottom: 14px;
    color: #363636;
    font-size: 16px;
}

.legend-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.legend-icon {
    font-size: 18px;
}

.dot-unseen-icon   { color: #bdbdbd; }
.dot-working-icon  { color: #ffa726; }
.dot-mastered-icon { color: #55AB26; }

/* Empty state */

.empty-box {
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 18px;
}

/* Historique de maîtrise */
.history-section { margin-top: 30px; }

.history-section h2 {
    color: #363636;
    margin-bottom: 20px;
    font-size: 22px;
}

.history-chart-wrap {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 3px;
    padding: 20px;
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.3;
}
