
body.background {
    background-image: url("../images/background_mono.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Verrouille le défilement général */
}

.wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100vh; 
    height: 100svh; /* Pour le responsive mobile une fois en production */
    width: 100%;
    box-sizing: border-box;
}

/* S'assure que les en-têtes conservent leur taille */
#headerindex, #headerindexLangue {
    flex-shrink: 0;
}

#headerindexLangue {
    padding: 10px 15px;
}

.container-fluid {
    flex: 1; /* S'ajuste dynamiquement pour occuper TOUT l'espace restant sans déborder */
    width: 100%;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center; 
    justify-content: center;
    overflow-y: auto; /* Permet un scroll interne uniquement si l'écran est minuscule */
}

.login-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 25px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333333;
}

input[type="text"], input[type="password"] {
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px;
    font-size: 16px;
    margin-top: 5px;
}

.login-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.GrosBouton {
    width: 100% !important;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 12px;
    font-size: 16px;
}

#footerindex {
    background-color: #3c3c3c;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0; /* Empêche strictement le footer d'être compressé */
}

.footer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.4;
}

.footer-phone img {
    filter: brightness(0) invert(1); 
}