/* public/assets/css/style.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    overflow: hidden; /* Empêche les barres de défilement si le contenu dépasse */
}

/* Nouveau style pour le conteneur global des deux colonnes */
.login-wrapper {
    display: flex;
    width: 90%; /* Ajustez la largeur totale si nécessaire */
    max-width: 900px; /* Largeur maximale pour le conteneur */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée pour l'ensemble */
    border-radius: 10px;
    overflow: hidden; /* Important pour les coins arrondis */
    min-height: 500px; /* Hauteur minimale pour les colonnes */
}

/* Style de la colonne du formulaire */
.login-form-column {
    flex: 1; /* Prend la moitié de l'espace disponible */
    background-color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Style de la colonne de l'image */
.login-image-column {
    flex: 1; /* Prend l'autre moitié de l'espace disponible */
    background: url('../images/votre-image-de-fond.jpg') no-repeat center center / cover; /* Chemin vers votre image de fond */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white; /* Texte en blanc sur l'image */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Ombre pour la lisibilité du texte */
    padding: 20px;
    text-align: center;
}

/* Style du logo dans la colonne de l'image (si utilisé) */
.login-column-logo {
    max-width: 150px; /* Ajustez la taille de votre logo */
    height: auto;
    margin-bottom: 20px;
}

.login-image-column h2 {
    font-size: 2em;
    margin-top: 20px;
}


/* Styles existants pour le login-container (légèrement ajustés si nécessaire) */
.login-container {
    background-color: transparent; /* Pas de fond blanc ici, c'est la colonne qui le gère */
    padding: 0; /* Pas de padding ici, c'est la colonne qui le gère */
    box-shadow: none; /* Pas d'ombre ici */
    width: 100%; /* S'étend à 100% de sa colonne parente */
    max-width: none; /* Pas de max-width ici */
}

.login-container h1, .container h1 {
    color: #007bff; /* Bleu de WORKIFF */
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: calc(100% - 22px); /* Ajustez le calcul si le padding ou la bordure change */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #007bff; /* Bleu de WORKIFF */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%; /* Bouton prend toute la largeur */
    margin-top: 15px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.message {
    background-color: #ffe0b2;
    color: #e65100;
    border: 1px solid #ff9800;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9em; /* Rendre les messages un peu plus petits */
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

/* Styles pour le tableau de bord (non modifié) */
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.container ul {
    list-style: none;
    padding: 0;
}

.container ul li {
    margin-bottom: 10px;
}

.container ul li a {
    display: block;
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #007bff;
    transition: background-color 0.3s ease;
}

.container ul li a:hover {
    background-color: #dee2e6;
}

/* Media Queries pour la responsivité */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column-reverse; /* <-- C'est la modification clé ici ! */
        width: 95%;
        max-width: 400px; /* Limite la largeur du formulaire sur mobile */
        min-height: auto; /* Plus de hauteur minimale fixe */
    }

    .login-image-column {
        height: 200px; /* Hauteur pour l'image sur mobile */
        padding: 15px;