
/*  GESTION  TEMPLATE, BARRE DE MENUS, BURGER  */
  
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      width: 100%;
      overflow-x: hidden;
      font-family: Arial, sans-serif;
    }

    body {
      padding-top: 70px;
    }

    nav {
      background-color: #333;
      color: white;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 999;
    }

@media (max-width: 768px) {
  .navbar {
    display: block; /* ou flex selon votre design */
  }
}


    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      max-width: 100%;
      width: 100%;
    }

    .logo {
      color: white;
      font-size: 1.5rem;
      text-decoration: none;
      margin-right: auto;
    }

    .burger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      margin-left: auto;
    }

    .burger div {
      width: 25px;
      height: 3px;
      background: white;
    }

    .menu {
      list-style: none;
      display: flex;
      gap: 1rem;
      margin-left: auto;
    }

    .menu li {
      position: relative;
      text-decoration: none;
    }

    .menu a {
      color: white;
      text-decoration: none;
      padding: 0.5rem 0.75rem;
      display: block;
    }

    .submenu {
      display: none;
      position: absolute;
      background-color: #444;
      top: 100%;
      left: 0;
      min-width: 160px;
      z-index: 1000;
    }

    .submenu li a {
      padding: 0.5rem 1rem;
    }

    /* Desktop: hover pour sous-menus */
    @media (min-width: 769px) {
      .menu li:hover > .submenu {
        display: block;
      }
    }

    /* Mobile styles */
    @media (max-width: 768px) {
      .burger {
        display: flex;
      }

      .menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #333;
        display: none;
        width: 100%;
      }

      .menu.active {
        display: flex;
      }

      .menu li {
        border-top: 1px solid #444;
        width: 100%;
      }

      .menu a.toggle-submenu::after {
        content: " ▼";
        float: right;
        font-size: 0.8rem;
      }

      .submenu {
        position: static;
        background-color: #444;
        width: 100%;
      }

      .submenu.hide {
        display: none;
      }

      .submenu.show {
        display: block;
      }
    }


      /* Gestion table affichage données cours   */  

.custom-table-container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 40px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table thead {
    background-color: #1f2937;
    color: white;
}

.custom-table th, .custom-table td {
    padding: 14px;
    font-size: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}



.custom-table tbody tr:hover {
    background-color: #f9fafb;
}

.custom-table a {
    text-decoration: none;
    color: #2563eb;
    font-weight: 500;
}

.table-icon {
    margin-right: 8px;
    color: #6b7280;
}

/* -------- Mobile responsive styles -------- */
@media screen and (max-width: 768px) {
    .custom-table thead {
        display: none;
    }

    .custom-table tr {
        display: block;
        margin-bottom: 15px;
        background-color: #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        border-radius: 8px;
        padding: 10px;
    }

    .custom-table td {
        display: block; /* plus de flex, 100% bloc */
        width: 100%;   /* occupe toute la largeur */
        text-align: left !important; /* FORCÉ à gauche */
        padding: 10px;
        border-bottom: none;
        font-size: 13px;
        word-break: break-word;
    }

    .custom-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #374151;
        margin-bottom: 4px;
        text-align: left; /* FORCÉ à gauche */
    }
}


@media screen and (min-width: 1024px) {
    .custom-table-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 40px;
        border-radius: 0;
    }

    .container {
        max-width: 100%;
        padding: 0 40px;
    }
}



/*  NOS FORMATEURS */

 
  #formateurs, #formateurs * {
    box-sizing: border-box; /* Empêche les débordements involontaires */
  }

  #formateurs {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
  }

  #formateurs h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    color: #1a1a1a;
    border-bottom: 3px solid #6c63ff;
    padding-bottom: 0.3rem;
  }

  #formateurs p.intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
  }

  .formateur {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.6s forwards;
    width: 100%;
  }

  /* Animation décalée pour effet fluide */
  .formateur:nth-child(1) { animation-delay: 0.1s; }
  .formateur:nth-child(2) { animation-delay: 0.3s; }
  .formateur:nth-child(3) { animation-delay: 0.5s; }
  .formateur:nth-child(4) { animation-delay: 0.7s; }
  .formateur:nth-child(5) { animation-delay: 0.9s; }

  @keyframes fadeSlideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .formateur-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .formateur-info {
    flex: 1;
  }

  .formateur-info h3 {
    font-size: 1.3rem;
    margin: 0 0 0.3rem 0;
    color: #6c63ff;
    font-weight: 700;
  }

  .formateur-info p {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
  }


  @media (max-width: 600px) {
    .formateur {
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem;
    }

    .formateur-image {
      margin-bottom: 1rem;
      margin-right: 0;
      width: 90px;
      height: 90px;
    }
  }




/*GESTION DE LA VIDEO PAGE D'ACCUEIL */

.video-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 3cm);
    overflow: hidden;
    z-index: 0;
}

/* Vidéo en arrière-plan couvrant le conteneur */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Superposition de contenu centrée */
.video-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 3cm); /* même hauteur que le conteneur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); /* assombrit la vidéo */
    z-index: 1;
    box-sizing: border-box;
    padding: 20px;
}

/* Titre */
.video-overlay-content h1 {
    font-size: 2rem;
    max-width: 800px;
    margin-bottom: 20px;
}

.video-overlay-content h1 span {
    color: #ffd8f5;
    font-weight: bold;
}

/* Boutons empilés */
.buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Bouton stylé */
.button {
    background-color: #007BFF;
    padding: 12px 24px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

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

.button a {
    font-size: 16px;
    text-decoration: none;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .video-overlay-content h1 {
        font-size: 15px;
    }

    .button {
        width: 80%;
        font-size: 12px;
    }
}


/* Responsive pour mobile (max-width: 480px) */
@media (max-width: 480px) {
    .video-overlay-content h1 {
        font-size: 1.2rem; /* plus petit titre */
        margin-bottom: 15px;
    }

    .button {
        width: 90%;
        padding: 10px 18px; /* bouton plus petit */
        font-size: 12px;
    }

    .button a {
        font-size: 14px;
    }
}



/*        INDEX*/
    
    /* Section principale après la vidéo  main content section*/
.main-content-section {
  max-width: 1000px;
  margin: 80px auto;
  margin-top: 100px;
  padding: 40px 20px;
  background: white;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}



.section-title {
  font-size: 28px;
  color: #5a0d56;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 16px;
  margin-bottom: 40px;
  color: #444;
}

/* Sous-sections alignées */
.content-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.content-box {
  flex: 1;
  min-width: 250px;
  max-width: 32%;
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box h3 {
  color: #5a0d56;
  font-size: 20px;
  margin-bottom: 10px;
}

.content-box p {
  font-size: 15px;
  color: #555;
}

.content-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .content-columns {
    flex-direction: column;
    align-items: center;
  }

  .content-box {
    max-width: 100%;
  }
}



/* FOOTER  */
    footer {
      background-color: #000; /* noir */
      color: #fff;
      padding: 40px 20px;
      font-size: 14px;
    }
    .footer-section h4 {
      color: #5a0d56; /* violet */
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .footer-section p, .footer-section ul {
      margin: 0;
      line-height: 1.6;
    }
    .footer-section ul {
      list-style: none;
      padding: 0;
    }
    .footer-section li {
      margin-bottom: 6px;
      color:#fff;
    }
    .footer-section button {
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      padding: 0;
      font: inherit;
    }
    .footer-section button:hover {
      text-decoration: underline;
      color: #a855f7;
    }
    .footer-icons a {
      color: #fff;
      margin-right: 12px;
      font-size: 20px;
      text-decoration: none;
    }
    .footer-icons a:hover {
      color: #a855f7;
    }
    .footer-bottom {
      text-align: center;
      margin-top: 40px;
      font-size: 12px;
      color: #bbb;
    }
    
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background-color: #f9f9f9;
    }
   
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    
    .social-icons {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }

    .social-icons li {
      display: inline;
      margin: 0 15px;
    }

    .social-icons a {
      color: white;
      font-size: 30px;
      text-decoration: none;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #f39c12; /* Couleur d'hover */
    }

    .footer-links {
      margin-top: 30px;
    }

    .footer-links ul {
      list-style-type: none;
      padding: 0;
    }

    .footer-links li {
      display: inline-block;
      margin: 0 15px;
    }

    .footer-links a {
      color: white;
      text-decoration: none;
      font-size: 16px;
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: #f39c12;
    }

    @media (min-width: 768px) {
      .footer-container {
        flex-direction: row;
        justify-content: space-between;
      }
    }

    /* Modal styles */
    #modalOverlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 20px;
    }
    #modalContent {
      background: white;
      border-radius: 10px;
      max-width: 600px;
      width: 100%;
      max-height: 80vh;
      overflow-y: auto;
      position: relative;
      padding: 30px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      animation: fadeIn 0.3s ease;
    }
    #modalContent h2 {
      margin-top: 0;
    }
    #modalBody {
      font-size: 14px;
      color: #333;
    }
    .close-button {
      position: absolute;
      top: 15px;
      right: 15px;
      font-size: 20px;
      background: #ddd;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      cursor: pointer;
    }
    .close-button:hover {
      background: #bbb;
    }
    @keyframes fadeIn {
      from { transform: translateY(-10px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }







/*features-section*/


.features-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  max-width: 1100px;
  margin: 80px auto;
   margin-bottom: 0;
}

.features-title {
  font-size: 28px;
  color: #5a0d56;
  margin-bottom: 40px;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-box {
  flex: 1;
  min-width: 280px;
  max-width: 32%;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 15px;
  color: #555;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-box {
    max-width: 100%;
  }
}

.features-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f7f7f7;
}

.features-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}

.features-intro {
  font-size: 18px;
  margin-bottom: 50px;
  color: #555;
}

.features-grid.wide {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  color: white;
}

.feature-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-box .text-content {
  padding: 25px;
}

.colored.bg-purple {
  background-color: #6a1b9a;
}

.colored.bg-indigo {
  background-color: #283593;
}

.colored.bg-blue {
  background-color: #0277bd;
}

.cta-button {
  margin-top: 40px;
}

.button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #5a0d56;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #7a1d76;
}



/*HIGHLIGHT STRIPS*/

.highlight-strip {
  background-color: #adadaf;
  color: white;
  height: 6cm;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  box-sizing: border-box;
}

.strip-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  gap: 15px;
}

.strip-box {
  flex: 1;
  min-width: 250px;
}

.strip-box ul {
  list-style: none;
  padding: 0;
}

.strip-box li {
  margin-bottom: 6px;
}

.strip-box h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #5a0d56;
}

.strip-box p {
  font-style: italic;
  font-size: 14px;
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .highlight-strip {
    height: auto;
    padding: 30px 20px;
     text-align: center;
 
  }

  .strip-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  justify-content: center;
  }
}



/*POURQUOI CHOISIR OIKOS*/
    
      .oikos-why-section {
  background-color: #fff;
  padding: 60px 30px;
  color: #333;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-header h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}

.section-header .subtitle {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-card {
  background-color: #f9f2f9;
  border-left: 5px solid #5a0d56;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card h3 {
  color: #5a0d56;
  margin-bottom: 10px;
}

.why-footer {
  margin-top: 40px;
  text-align: center;
}

.why-footer blockquote {
  font-style: italic;
  font-size: 18px;
  margin-bottom: 20px;
  color: #444;
}

.why-footer .button {
  background-color: #5a0d56;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.why-footer .button:hover {
  background-color: #7b1e79;
}



/*PROGRAMME LEADERSHIP*/

 .formateurs-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f9f9f9;
  }

  .formateurs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .formateur {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .formateur-image {
    width: 100%;
    height: auto;
    border-radius: 50%;
    max-width: 150px;
    margin-bottom: 20px;
  }

  .formateur h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
  }

  .formateur p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
  }
    
    
    
        
        
/* INSCRIPTION ET CONNEXION*/


.button {
  background-color: #5a0d56;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.button:hover {
  background-color: #7a1d76;
}

.success {
  color: green;
  text-align: center;
  font-size: 16px;
}

.error {
  color: red;
  text-align: center;
  font-size: 16px;
}




/*   Formulaire contact   */
      
     .contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 80%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  margin-top: 1rem;
}


/* GESTION FORMULIARES INSCRIPTION, CONNEXION, AJOUT COURS   */

.form-container textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical; /* ou none si tu veux désactiver le redimensionnement */
  font-family: inherit;
}


.container {
  display: flex;
  flex-direction: row;
  max-width: 900px;
  margin: 40px auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px;
  max-width: 400px; /* ✅ largeur réduite */
  margin: 0 auto;    /* ✅ centré dans le conteneur */
}




.image-container {
  flex: 1;
  background-image: url('../../images/leadership_oikos01.JPG');
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.form-container h2 {
  margin: 0 0 20px;
  font-size: 28px;
  color: #111827;
}

.form-container h6 {
  margin: 5px 0 15px;
  font-size: 14px;
  text-align: right;
}

.form-container form {
  display: flex;
  flex-direction: column;
}

.form-container input {
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

.form-container button {
  margin-top: 20px;
  padding: 14px;
  background-color: #2563eb;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-container button:hover {
  background-color: #1d4ed8;
}

.form-feedback {
  margin-top: 10px;
  font-size: 14px;
}

.success {
  color: green;
}

.error {
  color: red;
}

/* ✅ Responsive styles pour mobile */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    margin: 20px;
  }

  .image-container {
    width: 100%;
    height: 200px;
    min-height: 200px;
    display: block;
  }

  .form-container {
    justify-content: flex-start;
    padding: 20px 16px;
  }

  .form-container h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 24px;
    text-align: center;
  }

  .form-container h6 {
    text-align: center;
    margin: 5px 0 10px;
  }

  .form-container input {
    margin: 6px 0;
  }

  .form-container button {
    margin-top: 16px;
  }
}


#formConnexion {
    background-image: url('../../images/fond1.png');
    background-size: cover; /* L'image couvre tout l'élément */
    background-position: center; /* Centrée */
    background-repeat: no-repeat; /* Pas de répétition */
    padding: 50px 0; /* Ajout d'un peu d'espace vertical si besoin */
    color: #000000; /* Texte noir pour contraste si nécessaire */
}

#formConnexion .form-container {
    background: rgba(200, 200, 200, 0.2); /* Fond semi-transparent pour lisibilité */
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
}

#formConnexion h2, #formConnexion h3, #formConnexion p {
    color: #000000; /* Texte noir pour contraste */
}








/* GESTION TABLE DANS DONNEES PERSONNELLES  */


    /* Titles */
.title-purple {
    text-align: center;
    color: #5a0d56;
    margin-top: 20px;
}

.title-center {
    text-align: center;
    margin-bottom: 20px;
}

/* Table container */
.custom-table-container {
    padding: 20px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

/* Base table styling */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.custom-table th, .custom-table td {
    border: 1px solid #ccc;
    padding: 12px 10px;
    text-align: center;
    word-wrap: break-word;
}

/* Responsive buttons */
.btn {
    padding: 6px 12px;
    margin: 4px 2px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
}

.edit {
    background-color: #f0ad4e;
}

.delete {
    background-color: #d9534f;
}

.photo {
    background-color: #5bc0de;
}

img.photo-profil {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

/* Responsive layout for smaller screens */
@media screen and (max-width: 768px) {
    .custom-table thead {
        display: none;
    }

    .custom-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        padding: 10px;
        background: #fdfdfd;
    }

    .custom-table td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .custom-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 10px;
        font-weight: bold;
        text-align: left;
        white-space: nowrap;
    }

    .btn {
        display: inline-block;
        margin-top: 5px;
        width: 100%;
    }
}



/* GESTION BANNIERE COOKIES */
    .cookie-banner {
      position: fixed;
      bottom: 20px;
      left: 10px;
      right: 10px;
      background: #ffffff;
      padding: 1em;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      font-family: Arial, sans-serif;
      z-index: 1000;
      max-width: 600px;
      margin: auto;
      display: none;
      flex-direction: column;
      gap: 1em;
    }
    .cookie-banner.show { display: flex; animation: fadeInUp 0.5s ease forwards; }
    .cookie-banner p { margin: 0; font-size: 0.95em; }
    .cookie-banner .buttons { display: flex; gap: 10px; flex-wrap: wrap; }
    .cookie-banner button { padding: 0.5em 1em; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9em; }
    .cookie-banner button.accept { background-color: #007BFF; color: white; }
    .cookie-banner button.reject { background-color: #ccc; }
    .cookie-banner a { color: #007BFF; text-decoration: underline; font-size: 0.9em; }

    .cookie-modal {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.6); display: none; justify-content: center; align-items: center; z-index: 2000;
    }
    .cookie-modal.show { display: flex; }
    .cookie-modal-content {
      background: white; padding: 2em; border-radius: 10px; max-width: 90%; width: 500px;
      position: relative; font-family: Arial, sans-serif; overflow-y: auto; max-height: 90vh;
    }
    .cookie-modal-close { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; }

    @keyframes fadeInUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }



/* GESTION SECTION DANS FAQ  

.centre{
    text-align: center
}

    h1 {
      margin: 0;
      font-size: 2rem;
    }

    .faq-container {
      max-width: 700px;
      margin: 1rem auto;
      background: white;
      padding: 0.5rem;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      margin-top: -25px;

    }

    .faq-item {
      border-bottom: 1px solid #ddd;
      padding: 1rem 0;
    }

    .faq-question {
      font-weight: bold;
      cursor: pointer;
      color: #5a0d56;
      position: relative;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 0;
      font-size: 1.5rem;
    }

    .faq-question.active::after {
      content: '−';
    }

    .faq-answer {
      display: none;
      padding-top: 0.5rem;
      color: #555;
      line-height: 1.6;
    }

    @media (max-width: 600px) {
      header h1 {
        font-size: 1.5rem;
      }

      .faq-container {
        padding: 1rem;
      }
    }


 */


