/* --- 1. Style pour l'Image de Fond --- */
.login-background {
    /* Assurez-vous que l'image existe dans public/images/ */
    background-image: url('../images/usine.jpg'); 
    background-size: cover; /* Couvre toute la zone sans déformer l'image */
    background-position: center center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition */
    height: 100vh; /* Hauteur de 100% de la fenêtre visible */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* --- 2. Style du Conteneur et du Formulaire --- */
.login-container {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.9); /* Fond blanc semi-transparent */
    width: 100%;
    max-width: 400px;
}

.login-form h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

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

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #3490dc; /* Couleur primaire Laravel (bleu) */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #2779bd;
}

.error-message {
    color: #e3342f; /* Rouge pour les erreurs */
    background-color: #fcebeb;
    border: 1px solid #e3342f;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
}