
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

header {
    background-color: #ffffff;
}

   *,
*::before,
*::after {
    box-sizing: border-box;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
    border-bottom: 1px solid #ddd;padding-left: 5px;padding-top: 0px;
    height: 80px;
}

.header-top .menu-icon {
    font-size: 24px;
}
.header-top .logo {
    
    margin-top: 3px;
}

.logo span,h2{display: block;}

@media (min-width: 650px) {
    

    .header-top .logo {
        font-family: 'Playfair Display', serif;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 2px;
        position: relative;
        text-align: center;color: #000;
        text-transform: uppercase;
        
    }

    
.header-to .logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #000;
}
}


.header-top .search-icon {
    font-size: 24px;
}

.nav-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-scroll::-webkit-scrollbar, .nav-scroll-menu::-webkit-scrollbar {
    display: none;
}


.nav-scroll-menu a {
    text-decoration: none;
    color: #555;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}

.nav-scroll-menu {
    display: flex;
    
    -webkit-overflow-scrolling: touch;

    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;flex-direction: column;
}
.nav-scroll a {
    text-decoration: none;
    color: #555;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.nav-scroll a:first-child {
    color: #f39c12;
    position: relative;font-weight: bold;
}



header{width: 100%; z-index: 100;position: fixed;background-color: #ffffff;
border-bottom: 1px solid #fff;}




nav ul li a:hover {
    color: #f39c12; font-weight: bold;
}


#bar_info{margin: 0px;width: 100%;height: 25px;
    display: flex;
     }
    
    #numero{width: 65%;  height: 25px; position: relative;overflow: hidden;
    background-color: #00d2ff;}
    #reseau{width: 35%;  height: 25px; background-color:#00d2ff; position: relative;}
    #rotation{width: 40px;height: 40px;background-color: #00d2ff;position: absolute;
    rotate: 35deg;right: 0px; top: 6px;}
    #num_contenu {height: 30px;background-color: rgb(0, 0, 125);
        margin-right: 21px; padding-left: 10px;color: white;font-size: 15px;
         font-family: 'Courier New'; font-weight: bold; padding-bottom: 2px; position: relative;}

.bar-numero{font-style: oblique; position: relative;bottom:  2px;}
#num_contenu svg{position: relative;top: 3px;}
#reseau svg{position: relative; top: 3px; display:inline-block; margin-left: 15px;}


#cacher
{
    height: 80px;
    
}

@media (max-width: 600px) {
    .nav-scroll{display: none;}




    .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
    border-bottom: 1px solid #ddd;padding-left: 5px;padding-top: 0px;
    height: 90px;


}






    #bar_info{display: none;
     }

#cacher
{
    height: 80px;
   
    
}
    
}



#side-menu {
            font-family: Arial, sans-serif;
            position: fixed;
            top: 0;
            left: 0;
            width: 85%; /* Largeur du menu, comme demandé */
            height: 100%;
            background-color: rgb(0,0,125);
            color: white;
            padding-top: 20px; /* Espace pour la barre de titre */
            transform: translateX(-100%); /* Masqué hors écran à gauche */
            transition: transform 0.3s ease-in-out; /* Animation douce */
            z-index: 900;
            overflow-y: auto;
            font-family: 'Poppins',sans-serif;
            max-width: 500px;
            background-color: rgba(255, 255, 255, 0.12);
padding-bottom: 100px!important;

        }

        #side-menu.open {
            transform: translateX(0); /* Déplacé à l'écran */
        }

        #side-menu nav ul li a:hover {
            background-color: #555;
        }


        #side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 600px;
    height: 100%;
    background-color: #ffffff;
border-left: 1px solid rgba(0, 0, 125, 0.15);

    color: white;
    padding-top: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 900;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 100px!important;
}


#side-menu.open {
    transform: translateX(0);

    
}

#side-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#side-menu nav ul li a {
    display: flex;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}



#side-menu nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.12);
}
#side-menu nav ul li a {
  color: rgb(0, 0, 125);
}

#side-menu nav ul li a:hover {
  background-color: rgba(0, 0, 125, 0.08);
}

.deconnect-link{
 color: #fff;padding: 10px 20px;border-radius: 8px;
    background-color: rgb(0, 0, 125);

     background-color: rgb(0,0,125);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;width: 185px;text-align: center;
    margin: auto;display: block;
    

}

/* -------------------------- */
        /* 2. STYLES DU MENU SÉLECTEUR (Le nouveau menu) */
        /* -------------------------- */
        #selector-menu-container {
            position: sticky; /* Fixe le menu juste en dessous du header lors du défilement */
            top: 0px; /* Commence juste en dessous du header de 50px */
            width: 100%;
            background-color: #f8f8f8; /* Fond légèrement gris */
        
            z-index: 9; /* Sous le header principal */
            font-family: 'Poppins',sans-serif;
            margin-bottom: 0px;
            padding: 20px;
        }

        #selector-display {
            padding: 15px;
            background-color: white;
            
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: bold;display: none;
        }

        #selector-list {
            list-style: none;
            padding: 0;
            margin: 0;
            position: absolute; /* Positionné par-dessus le contenu */
            top: 100%; /* Juste en dessous du bouton */
            left: 0;
            width: 100%;
            background-color: white;
            border: 1px solid #ddd;
            border-top: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            display: none; /* Cache par défaut */
            z-index: 10;
            padding-bottom: 30px;
        }
        #selector-list li {
            border: 2px solid red;
        }

        #selector-list li a {
            display: block;
            padding: 10px 20px;
            text-decoration: none;
            color: #333;
            border: 2px solid red;
        }

        #selector-list li a:hover {
            background-color: #eee;
        }
        


#right-menu-mobile {
    
    

    padding: 20px;
    

    
    /* Permet le défilement si le contenu est trop long */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Aligner les éléments en haut */
     gap: 20px;/* Espace pour ne pas coller au top-header si celui-ci s'étendait */
z-index: 15;
}


* {box-sizing: inherit;}


#menu_nav{
    
    display: none;
    position: absolute;
    left: 0px;top: 84px;
    width: 250px;
    
    background-color: white; box-shadow: 2px 2px 3px grey;
    height: 400px;
    z-index: 1000;position: fixed;
}
@media (max-width:600px) {
    #menu_nav{
    
        
        position: absolute;
        left: 0px;top: 104px;
        
        
        background-color: white; box-shadow: 2px 2px 3px grey;
        height: 300px;
        z-index: 1000;position: fixed;
    }
}
#header
{
    height: 75px;
    
    width: 100%;
    color: white;
    margin: 0px;
    padding: 0px;
    position: fixed;
    z-index: 200;
    background-color: white; /*rgb(0,0,125);*/
	box-shadow: 0px 0px 3px black;
	border-radius: 2px;
	
}
.span
{
	
	visibility: hidden;
}


#info
{
	width: 100%;
	height: 65px;
	margin-top: 0px;display: flex;
}


.icon_menu{padding-top: 5px; display: flex;justify-content: right; width: calc(100% - 170px);color: rgb(0,0,125);}
.line-icon span{margin-left: 10px;border-radius: 1px; border-bottom: 3px solid black; 
    display: block;width: 30px;margin-bottom: 4px;}
    .line-icon{display: flex;flex-direction: column;justify-content: center;align-items: center;margin-right: 20px;}

#menu-text{
    text-transform: uppercase;display: none;

}


.menu_ordi
{
    
	
    vertical-align: top;
    display: inline-block;
    width:65%;
    height: 90px;
    margin: 0px;
	text-align: right;
	
	margin-left: 2%;
	margin-top: 10px;
    margin-top: 0px;
    margin-right: 0px;
}


.liste-menu li
{
    list-style-type: none;
    display : block;
    font-size: 25px;
    font-family: "Courier New";
    font-weight: bold;
	margin-top: 20px;
    font-style: oblique;
	text-align: left;
	font-weight: bold;
	color: rgb(0,0,125);
	margin-left: 5px;
	position: relative;
	
}


.user
{
	border: 2px solid white;
	border-radius: 50%;
	padding: 5px;

}
.liste-menu li:hover
{
    color: grey;
	
	text-shadow: 0px 0px 2px black;
}
#page
{
  
  padding: 0px;
 /* font-family: Arial,Helvetica,Courier,Roman,"Times New", Georgia Courrier, serif;*/
  width: 100%;
  margin-top: 0px;
  position: relative;
  bottom: 0px;
  text-align: center;
  margin-bottom: 15px; 
  
}


.dashbord, .user-connection{max-height: 50px; display: inline-block;width: 60px;}
.dashbord svg, .user-connection svg{position: relative;bottom: 10px;}
.dashbord li, .user-connection li{height: 30px;position: relative;top: 0px;}

.link{position: relative;left: 50px;bottom: 50px;}
.appel li:hover
{
	color: white;
	background-color: rgb(0,0,125);

}

.head_img_1
{
	width: 10px;
	height: 10px;
}

.liste-menu a
{
    color: black;font-family: 'Open Sans',Helvetica, Arial, sans-serif;font-size: 20px;font-style: oblique;font-weight: bold;
    display: block;text-decoration: none;
}

/* Menu petit user */

#aside
{
	
	width: 100%;
	height: 100%;
	font-size: 18px;
    padding: 0px;
    margin-top: 0px;padding-top: 0px;
}


#menu_nav{display: flex;flex-direction: column;padding-top: 20px;padding-left: 10px;}
#menu_nav a{display: flex;text-decoration: none;gap: 10px;align-items: center;margin-bottom: 20px;}
#menu_nav a svg{display: block;}
#menu_nav a span{display: block;
    color: #555;
    
    font-weight: bold;
    font-size: 20px;text-transform: lowercase;
    font-family: 'Courier New';font-weight: bold;font-style: oblique;
}
#menu_nav{display: none;}



.dialog-box {
    display: none; /* Cache la boîte de dialogue par défaut */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    /* Propriétés initiales pour l'animation */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.dialog-box h4 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
}

.dialog-box p {
    color: #666;
    margin-bottom: 25px;
}

.dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dialog-buttons button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#confirm-logout {
    background-color: rgb(220, 53, 69); /* Rouge pour la déconnexion */
    color: white;
}

#confirm-logout:hover {
    background-color: rgb(180, 40, 50);
}

#cancel-logout {
    background-color: #f0f0f0;
    color: #333;
}

#cancel-logout:hover {
    background-color: #e0e0e0;
}



/* Styles pour le fond assombri */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);z-index: 100;
}



@media (max-width: 600px) {

     #side-menu {top: 100px;margin-top: 1px solid #ddd;

}
.overlay{z-index: 2;}
}


.logo {
    display: flex;
    align-items: center;height: 65px;width: auto;width: 150px;padding:10px;
    
}
.logo img{
    height: 55px;width: auto;
}
.hide-mobile{display: none;}
#right-menu{display: none;}




        #side-menu nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #side-menu nav ul li a {
            display: flex;
            padding: 15px 20px;font-family:  'Poppins', sans-serif;
            width: 80%;
            max-width: 300px;
            margin: auto;
            margin-top: 25px;
            text-decoration: none;
            color: white;
            text-align: center;
            background-color: #eee;
            background-color: rgba(0, 0, 125, 0.08);
    color: #000;font-weight: 700;font-size: 15px;color: rgb(0, 0, 125);

  font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;


justify-content: center;gap: 10px;align-items: center;

           border-radius: 15px;
           
        }
#side-menu nav ul li a span{
    display: block;
 display: flex;align-items: center;
    
}


body{background-color: #ffffff;}

.hide-mobile{display: none;}









.notification-container {
    position: relative;
    display: inline-block;
    
}

.badge-notif {
    position: absolute;
    top: -6px;      /* Ajuste la hauteur */
    right: -7px;    /* Ajuste la position latérale */
    background-color: #ff4757; /* Rouge alerte */
    color: white;
    font-size: 11px;
    font-weight: bold;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 1px solid white; /* Pour détacher le badge de l'icône */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Optionnel : faire vibrer le badge s'il y a des notifs */
.badge-notif {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-3px);}
    60% {transform: translateY(-1px);}
}

