/***********************************************\
                Styles Généraux
\***********************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/***********************************************\
                Fond d'écran
\***********************************************/
.Fond-ecran {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Occupe toute la hauteur de la vue */
    z-index: -1;
    overflow: hidden;
}

.Fond-ecran img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Centré verticalement et horizontalement */
}

/***********************************************\
            Container de Connexion
\***********************************************/
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    position: relative;
    z-index: 2; /* Augmenté pour assurer que le login reste au-dessus */
}

/***********************************************\
                Boîte de Login
\***********************************************/
.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Ombre légèrement renforcée pour meilleur contraste */
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    height: 60px;
    width: auto;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

/***********************************************\
            Groupe de Champs
\***********************************************/
.input-group {
    position: relative;
    margin-bottom: 30px;
}

input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    font-size: 16px;
    transition: border-color 0.3s;
}

label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: #999;
    transition: all 0.3s;
    pointer-events: none;
}

input:focus + label,
input:valid + label {
    top: -20px;
    font-size: 14px;
    color: #009fe3;
}

input:focus {
    border-bottom-color: #009fe3;
}

/***********************************************\
                Bouton Login
\***********************************************/
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #009fe3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #0086c0;
}