/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: #35424a;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Form Styles */
form {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #35424a;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: #35424a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #56717b;
}

form p {
    text-align: center;
    margin-top: 20px;
}

form p a {
    color: #35424a;
    text-decoration: none;
    font-weight: bold;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #35424a;
    color: #fff;
}

table tr:nth-child(even) {
    background-color: #f4f4f9;
}

/* Notification Styles */
.notifications {
    background: #35424a;
    color: white;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

/* Button Link Styles */
a.button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #35424a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

a.button:hover {
    background-color: #56717b;
}

/* Footer Styles */
footer {
    background-color: #35424a;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    form {
        padding: 20px;
    }

    table {
        font-size: 0.9rem;
    }

    header h1 {
        font-size: 1.8rem;
    }
}


/* Navigation Menu Styles */
nav {
    background-color: #35424a;
    padding: 20px 0;
}

nav ul {
    list-style: none; /* Supprime les puces */
    display: flex; /* Disposition en ligne */
    justify-content: center; /* Centre les éléments du menu */
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 10px 15px;
    display: block; /* Facilite le clic sur tout le lien */
}

nav ul li a:hover {
    color: #f4f4f9;
    background-color: #56717b; /* Couleur de fond au survol */
    border-radius: 4px;
}

/* Responsive Design for Menu */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Disposition verticale sur les petits écrans */
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Style de la barre de navigation */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    display: flex;
    align-items: center;
}

nav ul li {
    float: none; /* Permet de garder les éléments en ligne */
    display: inline;
    padding: 10px;
}

nav ul li a {
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    background-color: #111;
}

/* Style du logo à gauche */
nav ul li img {
    height: 40px; /* Taille du logo */
    margin-right: 20px; /* Espace après le logo */
}

nav ul li:first-child {
    margin-right: auto; /* Assure que le logo reste à gauche et les autres éléments à droite */
}

/* Notifications */
#notification-dropdown {
    background-color: white;
    color: black;
    border: 1px solid #ddd;
    position: absolute;
    top: 50px;
    right: 20px;
    z-index: 1000;
    padding: 10px;
    display: none;
}

#notification-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#notification-list li {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}