.course-formation-title {
    font-size: 35px;
    text-align: center;
}

.course-formation-title a {
    text-decoration: none;
    color: #000;
}

.course-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
}

.chapter-sidebar h3 {
    font-size: 25px;
}

/* Sidebar */
.chapter-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: #f9f9f9;
    padding: 1rem;
    border-right: 1px solid #ddd;
}

.chapter-sidebar h3 {
    font-size: 25px;
}

.chapters-list {}

.chapter-list li {
    margin-bottom: 0.5rem;
}

.chapters-list li a {
    text-decoration: none;
    color: #2a7ae2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chapters-list li.current a {
    font-weight: bold;
    color: #000;
}

.chapters-list li a {

    color: #000;
}

.chapters-list li.locked a,
.chapters-list li.locked span.locked,
.next-chapter-button a.locked {
    color: #aaa;
    cursor: not-allowed;

}

.chapters-list .status.done {
    color: green;
    font-weight: bold;
}

/* Contenu du chapitre */
.chapter-content {
    flex: 1;
    padding: 1rem 0;
    max-width: 100%;
}

.chapter-video {
    margin-bottom: 1.5rem;
}

.chapter-documents {
    margin-top: 2rem;
}

.chapter-documents a {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #007bff;
    text-decoration: none;
}

.chapter-documents a:hover {
    text-decoration: underline;
}

.next-chapter-button {
    text-align: right;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.locked-popup-box button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
}

.hidden {
    display: none;
}

/* Responsive (mobile/tablette) */
@media (max-width: 768px) {
    .course-layout {
        flex-direction: column;
    }

    .chapter-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .chapter-content {
        padding-top: 1rem;
    }
}