body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}



.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 60px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-container h1 {
    text-align: center;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.succes {
    color: green;
    text-align: center;
    font-weight: bold;
}


.login-container button {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.erreur {
    color: red;
    text-align: center;
}




/*----bandeau navigation principal
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


/* --- Bandeau de navigation principal --- */

.top-banner {
     position: sticky;   /* ou fixed, voir note dessous */
    top: 0;
    z-index: 1000;
    
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
}

/* Cases générales (Congés / Antibio / Ressources) */
.top-banner .nav-item {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-right: 1px solid #eeeeee;
    text-decoration: none;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-banner .nav-item:last-child {
    border-right: none;
}

/* Case "Mon compte" plus petite */
.top-banner .nav-item.account {
    flex: 0 0 150px; /* largeur fixe plus petite */
    position: relative;
}

/* Onglet actif (ici Congés) */
.top-banner .nav-item.active {
    background-color: #007BFF;
    color: #ffffff;
}

/* Hover général */
.top-banner .nav-item:hover {
    background-color: #e6f0ff;
}

/* Menu déroulant "Mon compte" */
.account-menu {
    position: relative;
}

.account-dropdown {
    display: none;
    position: absolute;
    right: 10px;
    top: 100%;
    margin-top: 5px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 10px;
    min-width: 190px;
    z-index: 10;
}

/* Affichage au survol de la case "Mon compte" */
/* Affichage du menu quand la case Mon compte est "ouverte" via JS */
.account-menu.open .account-dropdown {
    display: block;
}


/* Boutons dans le menu Mon compte */
.account-dropdown a,
.account-dropdown button {
    display: block;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 6px;
    font-size: 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background-color: #f8f8f8;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    color: #333333;
}

/*style prenom nom dans la partie mon compte
.account-username {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}


.account-dropdown a:last-child,
.account-dropdown button:last-child {
    margin-bottom: 0;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    background-color: #007BFF;
    color: #ffffff;
    border-color: #007BFF;
}


/* Agrandir le calendrier flatpickr */
.flatpickr-calendar {
    font-size: 16px; /* taille de base de tout le calendrier */
}

/* Taille des cases de jour */
.flatpickr-day {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;     /* pour centrer le chiffre verticalement */
    font-size: 1rem;
}

/* Mois + année un peu plus visibles */
.flatpickr-months .flatpickr-month {
    height: 3rem;
}

.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year {
    font-size: 1.1rem;
}

/* Les boutons précédent / suivant un peu plus gros */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    font-size: 1.4rem;
}

/* Champ de période (flatpickr) dans le formulaire de congés */
.conges_periode_input {
    width: 100%;
    max-width: 320px;      /* tu peux monter à 360/400 si tu veux plus large */
    padding: 6px 8px;
    font-size: 18px;
    box-sizing: border-box;
}

/* Pour être sûr de ne pas avoir une hauteur ridicule imposée par flatpickr */
.conges_periode_input.flatpickr-input {
    height: auto;
    line-height: 1.4;
}


.conges_commentaire_block {
    margin-top: 10px;
}

/* Zone de texte plus grande et confortable */
.conges_commentaire_textarea {
    width: 100%;
    max-width: 600px;     /* largeur max sur grand écran */
    min-height: 80px;     /* un peu plus haute */
    padding: 6px 8px;
    font-size: 14px;
    resize: vertical;     /* l'utilisateur peut l’agrandir en hauteur si besoin */
    box-sizing: border-box;
}


/* Tableaux de la page Congés (salarié) */
.conges_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 16px;
}

/* Bordures et padding */
.conges_table th,
.conges_table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    vertical-align: top;
}

/* En-têtes */
.conges_table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* Colonne "Période" : moins large */
.conges_table th:nth-child(1),
.conges_table td:nth-child(1) {
    width: 30%;      /* tu peux descendre à 25% si tu veux encore plus étroit */
    white-space: nowrap;
        font-size: 18px;

}

/* Colonne "Commentaire" : prend plus de place */
.conges_table th:nth-child(2),
.conges_table td:nth-child(2) {
    width: 40%;
}

/* La 3e colonne (statut / actions) s'adapte automatiquement */
.conges_table th:nth-child(3),
.conges_table td:nth-child(3) {
    text-align: center;
}

hr {
    border: none;               /* on enlève le style par défaut */
    height: 0px;                /* épaisseur de la ligne */
    background-color: #ddd;     /* couleur de la ligne */
    margin: 20px 0;             /* espace au-dessus / en dessous */
}

.conges_layout{
    max-width: 1100px;   /* largeur max du bloc */
    margin: 0 auto;      /* centre le bloc */
    padding: 0 0px;     /* marge intérieure gauche/droite */
}


/*les titres dans conges_salarié*/
.titre_conges {
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

/* Mise en forme de la page Antibio */
.antibio_layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.antibio_section {
    margin-top: 30px;
}

.antibio_list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.antibio_list li {
    margin-bottom: 8px;
}

.antibio_list a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

.antibio_list a:hover {
    text-decoration: underline;
}

.antibio_meta {
    font-size: 12px;
    color: #777;
    margin-left: 6px;
}


/* Mise en forme de la page Ressources */
.ressources_layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.ressources_section {
    margin-top: 30px;
}

.ressources_list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.ressources_list li {
    margin-bottom: 8px;
}

.ressources_list a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

.ressources_list a:hover {
    text-decoration: underline;
}

.ressources_meta {
    font-size: 12px;
    color: #777;
    margin-left: 6px;
}


/*les styles intérieurs généraux*/
.container{
    margin-left: 10%;      /* centre le bloc */

}

/* La présentation du tableau google sheet congés chez les médecins */

.googlesheet_conges {
    max-width: 1300px;   /* à ajuster selon ton goût */
    margin: 0 auto;      /* centre le bloc */

}

.googlesheet_conges_iframe {
    width: 100%;
    height: 400px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
}













/* Version téléphone */
@media (max-width: 768px) {
    .top-banner {
        position: static;      /* on enlève le sticky en mobile */
        top: auto;
    }

    /* Les 3 onglets principaux prennent la place, puis la maison se colle à droite */
    .top-banner .nav-item {
        flex: 1 1 0;
        padding: 10px 4px;
        font-size: 12px;
        letter-spacing: 0.3px;
        box-sizing: border-box;
    }

    /* Le bouton "Mon compte" devient un petit icône à droite */
    .top-banner .account.account-menu {
        flex: 0 0 auto;
        margin-left: auto;           /* pousse la maison complètement à droite */
        padding: 10px 8px;
    }

    /* On cache le texte "Mon compte" sur téléphone */
    .top-banner .account-label {
        display: none;
    }

    /* On affiche une petite maison à la place */
    .top-banner .account.account-menu::before {
        content: "🔑";
        font-size: 18px;
        line-height: 1;
    }
    
       /* Marges plus fines sur téléphone pour les panneaux de congés */
    .conges_layout {
        max-width: 100%;
        padding: 0 12px;   /* beaucoup plus fin que les 40px du desktop */
    }
    
    .antibio_layout {
        max-width: 100%;
        padding: 0 12px;
    }
    
      .ressources_layout {
        max-width: 100%;
        padding: 0 12px;
    }

    /* Google Sheet mobile */
    .googlesheet_conges {
        max-width: 100%;
        padding: 0 8px;
    }

    .googlesheet_conges_iframe {
        height: 400px;
    }
}
