.module-list {
            list-style: none;
            padding: 0;
        }
        .module-list li {
            margin: 10px 0;
            display: flex;
            align-items: center;
        }
        .module-list a {
            text-decoration: none;
            color: #333;
            font-size: 16px;
        }
        .module-list .check {
            color: #4CAF50; /* Vert */
            font-weight: bold;
            margin-right: 10px;
        }
		
		
		
		.reply-btn {
    display: inline-block;
    padding: 2px 6px;
    font-size: 14px;
    background-color: transparent;
    color: #000;
    border: none;
    cursor: pointer;
    text-decoration: none; /* Pas de soulignement */
    transition: color 0.3s ease, background-color 0.3s ease;
}

.reply-btn:hover {
    color: #555; /* Légèrement plus clair */
    background-color: rgba(0, 0, 0, 0.05); /* Fond discret au survol */
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: block;
    min-height: 100vh;
    color: #333;
	line-height: 1.7; /* Augmente l'interligne */
}

/* Sidebar */
.sidebar {
    background-color: #2c3e50;
    color: #fff;
    width: 220px; /* Réduction de la largeur */
    padding: 15px; /* Réduction du padding */
    flex-shrink: 0;
	font-size: 1.0rem; /* Réduction de la taille du texte */
}

.sidebar h1 {
    font-size: 1.2rem; /* Réduction de la taille du texte */
    margin-bottom: 15px;
    text-align: center;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 2px 0; /* Réduction des marges entre les éléments */
}

.sidebar ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.75rem; /* Réduction de la taille des liens */
    display: block;
    padding: 3px;
    border-radius: 4px; /* Coins arrondis */
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #34495e;
    text-decoration: none;
}
.content {
    max-width: 800px; /* Limite la largeur */
    margin: 20px auto; /* Centrage avec espacement vertical */
    padding: 30px;
    background-color: #fff; /* Fond blanc pour contraste */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
}

/* Title and heading adjustments */
.content h1, .content h2, .content h3 {
    margin-top: 30px; /* Ajout d'espace avant */
    margin-bottom: 20px; /* Ajout d'espace après */
    line-height: 1.4; /* Augmente la lisibilité */
}

.content h1 {
    font-size: 2rem;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
}

.content h2 {
    font-size: 1.5rem;
    color: #0056b3;
}

.content h3 {
    font-size: 1.3rem;
    color: #333;
}

/* Paragraph adjustments */
.content p {
    margin-bottom: 20px; /* Ajout d'espacement entre les paragraphes */
    text-align: justify; /* Alignement justifié */
}

/* List adjustments */
.content ul {
    margin-top: 15px; /* Espacement au-dessus des listes */
    margin-bottom: 20px; /* Espacement en-dessous des listes */
    padding-left: 40px; /* Indentation */
}

.content ul li {
    margin-bottom: 10px; /* Espacement entre les éléments */
    line-height: 1.6; /* Lisibilité accrue */
}

/* Video container adjustments */
.video-container {
    max-width: 800px;
    margin: 30px auto; /* Ajout d'espacement autour */
    border: 2px solid #007BFF;
    border-radius: 8px;
    overflow: hidden;
}

video {
    width: 100%;
    height: auto;
}

/* Button */
.content a {
    text-decoration: underline; /* Supprime le soulignement par défaut */
    color: #333; /* Gris foncé pour les liens */
    transition: color 0.3s ease; /* Transition fluide sur la couleur */
}

.content a:hover {
font-weight: bold; /* Passe le texte en gras au survol */
    color: #555; /* Gris légèrement plus clair au survol */
}

.content a:visited {
    color: #333; /* Même couleur pour les liens déjà visités */
}



/* Responsive */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

  .main {
    display: flex;
    flex-direction: column; /* empile sidebar puis content */
  }
  .sidebar, .content {
    width: 100%;            /* chacun prend toute la largeur */
  }
}

/* Formulaire */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {
    form {
        width: 100%;
        padding: 15px;
    }
}



/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}



/* Section des commentaires */
.comments-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comments-section h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.comment {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.comment-author {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.comment-text {
    margin: 0;
    color: #555;
}

.comment-reply {
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 2px solid #ddd;
    color: #444;
}

.comment-form {
    margin-top: 20px;
}

.comment-form h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    resize: none;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}

.comment-form button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.comment-form button:hover {
    background-color: #0056b3;
}




footer-courses {
	display: block;         /* Important : rend l’élément block */
    background-color: #2c3e50;!important;
    color: white;
    text-align: center;
    padding: 15px; /* Espacement accru pour le pied de page */
    /* margin-top: 2px; */
 border-top: 1px solid rgba(236,240,241,0.2);
	clear: both;
	font-size: 0.95rem;    /* Ajuste la taille globale du texte */
  line-height: 1.4;      /* Conserve une bonne lisibilité */
}

footer-courses a {
    color: white;
    text-decoration: none;
	font-size: 0.95rem;    /* Assure que les liens suivent la même taille */
    
}

footer-courses a:hover {
    text-decoration: underline;
	font-size: 1rem;    /* Assure que les liens suivent la même taille */
}




/* footer { */
    /* background-color: #; */
    /* color: white; */
    /* text-align: center; */
    /* padding: 15px; /* Espacement accru pour le pied de page */ */
    /* margin-top: 20px; */
/* } */


footer-courses a {
  color: white;
  text-decoration: none;
}



.main {
    display: flex;
    min-height: 100vh;
}



/* ——— Header centré et wrapper max-width 800px ——— */
header {
  background-color: #2c3e50;
position: static !important;
  top: auto !important;
  z-index: auto !important;
}
header .header-inner {            /* wrapper autour de tout le header */
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ——— Titre centré ——— */
.h1_title {
  text-align: center;
  padding: 20px 0 5px;
  margin: 0;
}

/* ——— Mini-menu (“Contact | Login |…”) aligné à droite ——— */
.menu {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 20px 10px;
}
.menu a {
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
}
.menu a:hover {
  color: #1abc9c;
}
/* Ajuste la taille du drapeau si besoin */
.menu img {
  width: 20px;
  height: auto;
  vertical-align: middle;
}

/* ——— Burger toggle à droite (mobile) ——— */
.menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}
/* active quand on clique */
.menu.active {
  display: flex;
}

/* Affichage mobile du menu burger */
@media (max-width: 660px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #2c3e50;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    gap: 8px;
  }
  .menu-toggle {
    display: block;
  }
  .menu.active {
    display: flex;
  }
}



/* ——— Ajustements du H1 dans le header ——— */
header .h1_title {
  margin: 0;                  /* supprime les marges existantes */
  padding: 15px 0;            /* espace un peu au-dessus / en-dessous */
  text-align: center;         /* centre le titre */
  font-size: 1.4rem;          /* réduit la taille */
  font-weight: 600;           /* allège le poids */
  line-height: 1.2;           /* compacte un peu l’interligne */
  letter-spacing: 0.5px;      /* espace légèrement les lettres */
  color: #f5f5f5;             /* blanc cassé, plus doux */
  text-decoration: none;      
}

/* couleur et effet du lien titre */
header .h1_title a {
  color: #f5f5f5;             /* blanc cassé, plus doux */
  text-decoration: none;      
  transition: color 0.2s ease;
}
header .h1_title a:hover {
  color: #ffffff;
}

/* optionnel : petit soulignement sous le header pour structure */
header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* Affiché uniquement sur ordinateur (par défaut visible, caché sur petit écran) */
.show_only_more_768px {
  display: inline;
}

.show_only_less_768px {
  display: none;
}
.show_only_less_500px {
  display: none;
}

@media screen and (max-width: 660px) {
  .show_only_more_768px {
    display: none;
  }

  .show_only_less_768px {
    display: inline;
  }
}
@media screen and (max-width: 500px) {
  .show_only_more_768px {
    display: none;
  }

  .show_only_less_768px {
    display: none;
  }
  .show_only_less_500px {
    display: inline;
  }
}

.site-title,
.site-title a {
  color: #ecf0f1;       /* ou 'inherit' si tu veux qu'ils héritent de leur parent */
  text-decoration: none;
  font-size: 1.2rem;    /* ou la taille que tu veux */
  font-weight: bold;
}


/* === Menu "Vos formations achetées" === */
.sidebar .courses-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  border-top: 1px solid rgba(236,240,241,0.2);
  border-bottom: 1px solid rgba(236,240,241,0.2);
}

.sidebar .courses-list .courses-header {
  font-size: 0.85rem;
  font-weight: bold;
  color: #bdc3c7;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar .courses-list li {
  border-bottom: 1px solid rgba(236,240,241,0.1);
}

.sidebar .courses-list li:last-child {
  border-bottom: none;
}

.sidebar .courses-list li a {
  display: block;
  padding: 8px 10px;
  color: #ecf0f1;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sidebar .courses-list li a:hover {
  background-color: rgba(236,240,241,0.1);
  padding-left: 14px; /* petit effet de glissement */
}

/* Optionnel : icône devant chaque lien */
.sidebar .courses-list li a::before {
  content: "▶";
  display: inline-block;
  margin-right: 6px;
  font-size: 0.65rem;
  color: #1abc9c;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
  .sidebar .courses-list,
  .sidebar .courses-list li,
  .sidebar .courses-list li a {
    margin: 0;
    border: none;
  }
  .sidebar .courses-list li a {
    padding: 6px 8px;
  }
}



.img-responsive { max-width:100%; height:auto; display:block; margin:0 auto; }



<style>
/* Toggle “joli” compact */
.notify-wrapper { margin: 10px 0 14px; }

.notify-label { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  cursor: pointer; 
  user-select: none; 
}

.notify-switch {
  position: relative; 
  width: 36px;   /* largeur plus petite */
  height: 20px;  /* hauteur plus petite */
  border-radius: 9999px;
  background: #e5e7eb; 
  transition: background .2s ease; 
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  display: inline-block; 
  flex: 0 0 36px; /* réduit la place réservée */
}

.notify-knob {
  position: absolute; 
  top: 2px; 
  left: 2px; 
  width: 16px;   /* bouton plus petit */
  height: 16px; 
  border-radius: 50%;
  background: #fff; 
  box-shadow: 0 1px 2px rgba(0,0,0,.2); 
  transition: transform .2s ease;
}

.notify-label input { 
  position: absolute; 
  opacity: 0; 
  pointer-events: none; 
}

.notify-label input:checked + .notify-switch { 
  background: #10b981;  /* vert sympa quand activé */
}

/* translation calculée : 36 - 16 - 4 = 16px */
.notify-label input:checked + .notify-switch .notify-knob { 
  transform: translateX(16px); 
}

.notify-text { 
  font-size: 13px; 
  color: #111827; 
}

/* Texte invisible visuellement mais lu par les lecteurs d’écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


