/* Styles généraux */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9fafc;
    margin: 0;
    padding: 0;
    color: #333;
}

header, footer {
    background-color: #4a00e0;
    color: #ffffff;
    text-align: center;
    padding: 1.5em;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #333;
    border-bottom: 4px solid #4a00e0;
}

nav li {
    margin: 0;
}

nav li a {
    display: block;
    padding: 1em 1.5em;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

nav li a:hover {
    background-color: #4a00e0;
    color: #ffffff;
}

/* Styles de la grille des outils */
.outil-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2em;
    padding: 2em;
    gap: 1.5em;
}

.outil-grid a {
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    background-color: white;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.outil-grid a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.outil-grid img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1em;
}

.outil-grid span {
    font-size: 1.1em;
    font-weight: bold;
    color: #4a00e0;
}

/* Footer */
footer {
    margin-top: 3em;
    padding: 2em 0;
    font-size: 0.9em;
    color: #999;
    background-color: #f0f4f8;
}

/* Formulaires */
.login-container {
    max-width: 400px;
    margin: 3em auto;
    padding: 2em;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    color: #4a00e0;
}

.login-container label {
    display: block;
    margin: 1em 0 0.5em 0;
    font-weight: bold;
}

.login-container input {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-container button {
    width: 100%;
    padding: 0.8em;
    background-color: #4a00e0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.login-container button:hover {
    background-color: #3b00c1;
}

/* Messages d'erreur */
.error {
    color: red;
    text-align: center;
}

.success {
    color: green;
    text-align: center;
}
