.mobile-br {
    display: none;
}
@media (max-width: 1200px) {
    .mobile-br {
        display: inline;
    }

    .mobile-br::after {
        content: "\A"; /* saut de ligne */
        white-space: pre;
    }
    /* Container du menu fixé en haut */
    .menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
        box-sizing: border-box;
    }

    /* Icône burger visible */
    .burger {
        background: none;
        border: none;
        font-size: 3rem;
        color: #0d6efd;
        cursor: pointer;
        display: block;
    }

    /* Menu caché par défaut */
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #0d6efd;
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        box-sizing: border-box;
    }

    /* Quand le menu est affiché */
    .menu.show {
        display: flex;
    }

    /* Liste du menu */
    .menu ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .menu ul li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .menu ul li a {
        display: block;
        width: 90%;
        margin: 0 auto;
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 1.2rem 1rem;
        font-size: clamp(1rem, 4vw, 3rem);
        text-align: center;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        box-sizing: border-box;
        background-color: #0d6efd;
    }

    .menu ul li a:hover {
        background-color: #0b5ed7;
    }
    /** Dashboard **/
    /* Wrapper qui prend toute la hauteur visible (moins le menu) */
    html {
        font-size: 150%; /* ou 120%, adapte selon préférence */
    }
    .mobile-centered-wrapper {
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 100px; /* espace pour compenser le menu fixe */
        box-sizing: border-box;
    }

    /* Bloc blanc centré dans la page */
    .container {
        background-color: #fff;
        padding: 2rem 1rem;
        text-align: center;
        /**width: 90%;
        max-width: 500px;**/
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .container h1 {
        font-size: clamp(1.6rem, 6vw, 5rem);
        font-weight: bold;
        margin-bottom: 1rem;
        color: #0d6efd;
    }

    .container p {
        font-size: clamp(1rem, 4vw, 3rem);
        color: #333;
    }

    /* Mise en forme de la page profil parent pour mobile */
    .containerProfileParent {
        width: 90%;
        margin-top: 30px;
        padding: 2rem 1rem;
        font-size: clamp(2rem, 4vw, 2rem);
        line-height: 1.6;
        background-color: #fff;
        box-sizing: border-box;
    }

    /* Amélioration des titres */
    .containerProfileParent h2,
    .containerProfileParent h3 {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
        margin-bottom: 1rem;
        color: #0d6efd;
    }

    /* Champs de formulaire */
    .containerProfileParent label {
        display: block;
        font-weight: 600;
        margin-top: 1rem;
        margin-bottom: 0.3rem;
    }

    .containerProfileParent input,
    .containerProfileParent select,
    .containerProfileParent textarea {
        width: 100%;
        font-size: 1.4rem !important;
        padding: 0.8rem;
        border-radius: 6px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

    /* Boutons */
    .containerProfileParent button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
        margin: 0.5rem 0.3rem;
    }

    /* Listes */
    .containerProfileParent ul {
        padding-left: 1rem;
    }

    .containerProfileParent li {
        margin-bottom: 0.8rem;
    }
    .containerProfileParent button,
    .containerProfileParent .btnSupr {
        font-size: 1.2rem; /* même taille que les liens */
        padding: 0.7rem 1.4rem;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
    }
    /* ✅ FullCalendar - Mobile styles */
    .fc {
        font-size: 1rem; /* base plus grande */
    }

    .fc-daygrid-day-frame {
        border-width: 10px !important; /* rend les cases plus visibles */
    }

    .fc-daygrid-day-top {
        font-size: 1.4rem; /* chiffres des jours */
        font-weight: 600;
        padding: 0.4rem;
    }

    .fc-col-header-cell-cushion {
        font-size: 1.4rem; /* noms des jours (lun, mar...) */
        font-weight: 700;
        padding: 0.6rem 0;
    }

    .fc-scrollgrid {
        border: 5px solid #ccc; /* pour renforcer le contour global */
    }

    .fc-scrollgrid-section,
    .fc-scrollgrid-sync-table {
        border-width: 2px !important;
    }
    /* ✅ Renforce les bordures du tableau FullCalendar */
    .fc .fc-scrollgrid {
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    .fc .fc-scrollgrid td,
    .fc .fc-scrollgrid th {
        border: 2px solid #fff !important; /* épaisseur réelle */
    }
    /* 🧱 MODALE - CONTENU SUR MOBILE */
    .modal-content {
        width: 90%;
        max-width: 95%;
        margin: 2rem auto;
        padding: 1.5rem;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        font-size: clamp(1.8rem, 4vw, 1.4rem);
        box-sizing: border-box;
    }
    .modal-content label {
        font-size: 2rem;
    }

    /* 🧾 Titres modales */
    .modal-content h2,
    .modal-content h3 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
    }

    /* 🔘 Boutons dans modales */
    .btn-modal {
        font-size: 1.2rem !important;
        padding: 1rem 1.5rem !important;
        margin: 0.7rem 0.5rem !important;
        border-radius: 8px !important;
        display: inline-block;
    }

    /* ✅ Checkboxes enfants */
    #enfants-checkboxes label,
    #enfants-mois-checkboxes label,
    #jours-annee-checkboxes label {
        font-size: 1.6rem;
        display: block;
        margin-bottom: 0.8rem;
    }
    /* Cases à cocher plus grandes */
    .modal-content input[type="checkbox"] {
        width: 1.5rem;
        height: 1.5rem;
        accent-color: #0d6efd; /* couleur personnalisée (bleu thème) */
        margin-right: 0.5rem;
        vertical-align: middle;
    }
    .btnMois {
        margin-top:100px;
        margin-bottom: 0px;
    }
    .btn-inscription-mois {
        display: inline-block;
        font-size: 1.4rem;
        font-weight: 600;
        padding: 1rem 1.8rem;
        border-radius: 10px;
        background-color: #0d6efd;
        color: #fff;
        text-align: center;
        text-decoration: none;
        margin: 1rem auto;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        transition: background-color 0.3s ease;
    }
    .fc-toolbar-title {
        font-size: 2.5rem!important;
    }
    button[type="submit"] {
        width: inherit;
    }
    form {
        max-width: none;
    }
    /* 📱 Formulaire annualisé - version mobile */
    .formAnnee {
        width: 90%;
        margin: 2rem auto;
        font-size: clamp(1rem, 4vw, 1.3rem);
        background-color: #fff;
        padding: 2rem 1rem;
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        box-sizing: border-box;
    }

    .formAnnee h2 {
        font-size: clamp(1.8rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
        text-align: center;
        color: #0d6efd;
    }

    .formAnnee p {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }

    .formAnnee table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed; /* 🔁 fixe les colonnes à part égale */
    }

   .formAnnee th,
    .formAnnee td {
        padding: 1rem 0.5rem;
        text-align: center;
        font-size: 1.6rem; /* 🔠 Grossit le texte dans TOUTES les cellules */
        border-bottom: 1px solid #ddd;
        vertical-align: middle;
    }

    /* Aligner les noms de jours à gauche sans casser le reste */
    .formAnnee th:first-child,
    .formAnnee td:first-child {
        text-align: left;
        padding-left: 1rem;
        width: 40%; /* ✅ équilibre avec les colonnes Matin / Soir */
    }

    /* ✅ Aligner visuellement les checkboxes */
    .formAnnee input[type="checkbox"] {
        width: 1.5rem;
        height: 1.5rem;
        accent-color: #0d6efd;
        vertical-align: middle;
        display: inline-block;
        transform: translateY(2px); /* ✅ petit ajustement vertical visuel */
    }

    /* ✅ Boutons modaux plus grands */
    .formAnnee .btn-modal {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
        margin: 1rem 0.5rem;
        display: inline-block;
        border-radius: 8px;
    }
    /* Colonnes Matin / Soir */
    .formAnnee th:nth-child(2),
    .formAnnee th:nth-child(3),
    .formAnnee td:nth-child(2),
    .formAnnee td:nth-child(3) {
        width: 30%;
        vertical-align: middle;
    }
    @media (max-width: 1200px) {
    /* Texte global plus lisible */
    .mailVerification {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
        line-height: 1.6;
    }

    .mailVerification h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 2rem;
        text-align: center;
    }

    /* Boutons */
    #btnDashEmploye {
        display: inline-block;
        font-size: 1.6rem;
        padding: 1rem 1.6rem;
        text-align: center;
        border-radius: 8px;
        text-decoration: none;
    }

    /* Centrage vertical */
    .mailVerification {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        max-width: 90% !important;
    }
      .list_matin {
    font-size: clamp(1.1rem, 4.2vw, 1.4rem);
    padding: 1rem;
  }

  .list_matin table {
    width: 100%;
    font-size: 1.2rem;
    border-collapse: collapse;
  }

  .list_matin th,
  .list_matin td {
    padding: 0.8rem;
    text-align: center;
  }

  .list_matin td button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin: 0.3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    max-width: 140px;
  }

  .list_matin td button:first-of-type {
    background-color: #0d6efd;
    color: white;
  }

  .list_matin td button:last-of-type {
    background-color: #dc3545;
    color: white;
  }

  .list_matin h1,
  .list_matin h2 {
    text-align: center;
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-top: 1rem;
  }

  .list_matin form {
    margin-top: 2rem;
    text-align: center;
    width: 90%;
  }

  .list_matin select,
  .list_matin form button[type="submit"] {
    font-size: 1.2rem;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    margin: 0.4rem 0;
    width: 100%;
  }

  .list_matin a[href*="dashboard"] {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 2rem;
  }
  #ajoutenfantForm select {
      width: 90% !important;
  }
  .signupForm {
      font-size: 2rem;
  }
  .signupForm input,
    .signupForm textarea,
    .signupForm select {
      font-size: 2rem!important;       /* ✅ Police plus grande */
      padding: 1.5rem 1rem!important;    /* ✅ Zone de saisie plus grande */
      border-radius: 6px;      /* ✅ Coins arrondis (facultatif) */
      width: 100%;             /* ✅ Pour mobile, occupe toute la largeur */
      box-sizing: border-box;  /* ✅ Évite que le padding déborde */
    }
    .btnForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .btnForm button {
    width: 100%;
    font-size: 1.6rem;
    padding: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f8f9fa; /* couleur neutre */
    color: #333;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
  }

  .btnForm button:hover {
    background-color: #e2e6ea;
  }
}


}

