/* Variables de couleurs pour la cohérence */
:root {
    --ifat-blue: #001f5f; /* Bleu foncé, presque marine */
    --ifat-red: #ff4d4d; /* Rouge vif pour l'action */
    --ifat-white: #ffffff;
    --ifat-light-gray: #f2f2f2;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--ifat-blue); /* Arrière-plan principal en bleu IFAT */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.login-container {
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

.login-box {
    background-color: var(--ifat-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.logo-ifat {
    font-size: 2.5em;
    color: var(--ifat-blue); /* Le nom de la société en bleu */
    margin-bottom: 5px;
    font-weight: bold;
}

h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 30px;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; /* S'assurer que le padding ne dépasse pas la width */
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--ifat-red); /* Bordure rouge lors du focus */
    outline: none;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: var(--ifat-red); /* Bouton en rouge vif */
    color: var(--ifat-white);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #e63939; /* Un rouge légèrement plus foncé au survol */
}

.login-button:active {
    transform: scale(0.98);
}

.forgot-password {
    margin-top: 20px;
    font-size: 0.9em;
}

.forgot-password a {
    color: var(--ifat-blue); /* Lien en bleu */
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: var(--ifat-red); /* Changement de couleur au survol pour l'interactivité */
    text-decoration: underline;
}