/* Palette de couleurs de l'EILCO */
:root {
    --primary-color: #003366; /* Couleur principale */
    --secondary-color: #006699; /* Couleur secondaire */
    --accent-color: #0099cc; /* Couleur d'accentuation */
    --background-color: #f4f4f4; /* Couleur de fond */
    --text-color: #333333; /* Couleur du texte */
}

body {
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

/* En-tête avec deux logos */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 10px;
}

.logo {
    max-width: 100px;
    height: auto;
}

/* Conteneur du formulaire */
.login-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1, h2, h3, h4, h5 {
    color: var(--primary-color); /* Même couleur pour tous les titres */
    font-weight: bold; /* Mettre en valeur les titres */
    margin-bottom: 15px;
    text-align: center; /* Centrer les titres pour une meilleure présentation */
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}


label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: calc(100% - 20px); /* Largeur ajustée pour prendre en compte le padding */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box; /* Évite les débordements */
    display: block; /* Assure un bon alignement */
    margin-left: auto;
    margin-right: auto;
}

button {
    width: calc(100% - 20px); /* Assure la même largeur que les inputs */
    padding: 10px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: block; /* Évite un éventuel désalignement */
    margin-left: auto;
    margin-right: auto;
}


button:hover {
    background-color: var(--secondary-color);
}

.forgot-password {
    text-align: center;
    margin-top: 10px;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.back-to-login {
    text-align: center;
    margin-top: 10px;
}

.back-to-login a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.back-to-login a:hover {
    text-decoration: underline;
}

.footer {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center; /* Centre le texte */
    padding: 10px 0;
    position: fixed; /* Fixe le footer en bas */
    bottom: 0;
    left: 0;
    box-sizing: border-box; /* Assure que le padding ne casse pas la largeur */
}

.footer p {
    margin: 0; /* Enlève les marges par défaut */
    padding: 0; /* Enlève les paddings par défaut */
}


.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
