

/* Menu fixe en haut */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    z-index: 1000;
}

nav .menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

ul.menu {
    list-style: none;
    display: flex;
    align-items: center;
}

ul.menu li {
    margin-right: 0px;
}

ul.menu li a,
ul.menu li.menu-user {
    color: #fff;
    text-decoration: none;
    font-size: 0.8em;
    padding: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
}

ul.menu li a:hover {
    color: #f0f0f0;
}

/* Footer fixe en bas */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}



/* Logged‑in user label */
.menu-user {
    margin-left: auto;
    font-weight: bold;
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    ul.menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    ul.menu.active {
        display: flex;
    }
    ul.menu li {
        border-top: 1px solid rgba(255,255,255,0.2);
        text-align: center;
    }
}

