

/* Style général du menu */
.menu {
    background: linear-gradient(to right, #6ABBA6, #87CEEB);
    display: flex;
    align-items: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px; /* Fixe la hauteur du menu principal */
}

.menu .logo {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.menu .logo img {
    width: 30px;
    margin-right: 10px;
}

.menu .title {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

/* Le bouton du thème */
.theme-switcher {
    margin-left: auto;
    padding: 5px;
    cursor: pointer;
    background-color: #6ABBA6;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
}

/* Menu déroulant */
.menu-dropdown {
    position: fixed;
    top: 60px; /* Évite que le menu soit caché sous la barre de navigation */
    left: 0;
    width: 200px;
    background-color: #6ABBA6;
    display: none;
    flex-direction: column;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 60px); /* La hauteur est ajustée pour ne pas couvrir toute la page */
    overflow-y: auto;
}

.menu-dropdown a {
    padding: 15px;
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.menu-dropdown a:hover {
    background-color: #6ABBA6;
}

/* Pour ajouter un espace au-dessus de "Changer de salle de travail" */
.menu-dropdown a:first-child {
    margin-top: 20px; /* Ajoute un espace au-dessus de ce lien */
}

/* Pour retirer les séparateurs entre les liens */
.menu-dropdown a:not(:last-child) {
    border-bottom: none; /* Supprime les séparateurs */
}

/* Pour ajuster la position des liens "Déconnexion" et "A propos" */
.menu-dropdown .bottom-links {
    margin-top: auto; /* Pousse les éléments vers le bas */
    padding-top: 20px; /* Espace un peu les liens du reste du menu */
    display: flex;
    flex-direction: column; /* Place les liens sur deux lignes différentes */
}

.menu-dropdown .bottom-links a {
    padding: 10px 15px; /* Réduit légèrement le padding pour les liens en bas */
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle img {
    width: 30px; /* Ajuste la taille du logo si nécessaire */
}

.menu-toggle.active + .menu-dropdown {
    display: flex;
}

/* Gestion du thème sombre */
body.sombre {
    background-color: #181819;
    color: #ffffff;
}

body.sombre .menu {
    background: linear-gradient(to right, #6ABBA6, #87CEEB);
}

body.sombre .menu {
    background: linear-gradient(to right, #6ABBA6, #87CEEB);
}

body.sombre .menu-dropdown {
    background-color: #6ABBA6;
}

body.sombre .menu-dropdown a {
    color: white;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #ffffff; /* Fond blanc par défaut */
    color: #333; /* Couleur du texte */
    transition: background-color 0.3s, color 0.3s;
}

input:focus {
    border-color: #69BAA4; /* Couleur verte lors du focus */
    outline: none;
}

/* Champs de saisie en mode sombre */
body.sombre input {
    background-color: #2b2b2b; /* Fond sombre */
    color: #ffffff; /* Texte clair */
    border: 1px solid #555; /* Bordure adaptée au thème sombre */
}

body.sombre select {
    background-color: #2b2b2b; /* Fond sombre */
    color: #ffffff; /* Texte clair */
    border: 1px solid #555; /* Bordure adaptée au thème sombre */
}

body.sombre input:focus {
    border-color: #69BAA4; /* Couleur verte lors du focus */
    outline: none;
}


