* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   PAGE DE CONNEXION
   ========================================================= */

.login-body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    position: relative;

    background-image:
        url("/images/back-login.png");

    background-size:
        cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    background-attachment:
        fixed;

    overflow-x:
        hidden;
}


/* =========================================================
   VOILE GENERAL SUR L'IMAGE
   ========================================================= */

.login-body::before {
    content: "";

    position: fixed;

    inset: 0;

    background:
        rgba(
            255,
            255,
            255,
            0.36
        );

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   CONTENEUR PRINCIPAL
   ========================================================= */

.login-page {
    width: 100%;

    max-width: 470px;

    position: relative;

    z-index: 1;
}


/* =========================================================
   CARTE DE CONNEXION
   ========================================================= */

.login-carte {
    width: 100%;

    padding: 38px;

    background:
        rgba(
            255,
            255,
            255,
            0.76
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.72
        );

    border-radius:
        18px;

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            0.25
        );

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* =========================================================
   TITRE
   ========================================================= */

.login-entete {
    text-align: center;
}

.login-entete h1 {
    margin: 0;

    font-size: 30px;

    font-weight: 800;

    color:
        #172033;
}

.login-entete p {
    margin:
        8px 0 0;

    color:
        #5f6879;

    font-size:
        14px;
}


/* =========================================================
   LOGO RELIDISE
   ========================================================= */

.login-logo {
    display: block;

    width: 92px;
    height: 92px;

    margin:
        25px auto
        30px;

    background-image:
        url("/images/logo-relidise.png");

    background-repeat:
        no-repeat;

    background-position:
        center center;

    background-size:
        contain;
}


/* =========================================================
   MESSAGE ERREUR
   ========================================================= */

.login-message-erreur {
    margin-bottom: 20px;

    padding:
        13px 15px;

    border:
        1px solid
        #f1b9b9;

    border-radius:
        8px;

    background:
        rgba(
            255,
            242,
            242,
            0.96
        );

    color:
        #a12626;

    font-size:
        14px;

    line-height:
        1.45;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.login-form {
    display: grid;

    gap: 19px;
}

.login-champ {
    display: grid;

    gap: 8px;
}

.login-champ label {
    font-size:
        13px;

    font-weight:
        700;

    color:
        #374151;
}


/* =========================================================
   INPUTS EMAIL + PASSWORD
   ========================================================= */

.login-champ input {
    width: 100%;

    height: 50px;

    padding:
        0 15px;

    border:
        1px solid
        #cfd5df;

    border-radius:
        8px;

    outline:
        none;

    background:
        rgba(
            255,
            255,
            255,
            0.98
        );

    color:
        #172033;

    font-size:
        15px;

    box-shadow:
        0 2px 8px
        rgba(
            0,
            0,
            0,
            0.05
        );

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.login-champ input::placeholder {
    color:
        #9aa1ad;
}

.login-champ input:focus {
    border-color:
        #2455d6;

    background:
        #ffffff;

    box-shadow:
        0 0 0
        3px
        rgba(
            36,
            85,
            214,
            0.14
        );
}


/* =========================================================
   AFFICHER LE MOT DE PASSE
   ========================================================= */

.login-voir-password {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top:
        -5px;

    width: fit-content;
}

.login-voir-password input {
    width: 16px;

    height: 16px;

    margin: 0;

    padding: 0;

    cursor: pointer;

    accent-color:
        #2455d6;
}

.login-voir-password label {
    margin: 0;

    color:
        #4b5563;

    font-size:
        12px;

    font-weight:
        600;

    cursor: pointer;

    user-select: none;
}


/* =========================================================
   BOUTON DE CONNEXION
   ========================================================= */

.login-bouton {
    width: 100%;

    min-height: 52px;

    margin-top:
        2px;

    border:
        0;

    border-radius:
        8px;

    background:
        #2455d6;

    color:
        #ffffff;

    font-weight:
        800;

    cursor:
        pointer;

    letter-spacing:
        .4px;

    box-shadow:
        0 8px 22px
        rgba(
            36,
            85,
            214,
            0.22
        );

    transition:
        background .2s,
        transform .1s,
        box-shadow .2s;
}

.login-bouton:hover {
    background:
        #173a96;

    box-shadow:
        0 10px 26px
        rgba(
            23,
            58,
            150,
            0.28
        );
}

.login-bouton:active {
    transform:
        translateY(1px);
}


/* =========================================================
   AVERTISSEMENT SOUS LA CARTE
   ========================================================= */

.login-avertissement {
    margin-top:
        18px;

    padding:
        16px 20px;

    text-align:
        center;

    background:
        rgba(
            17,
            24,
            39,
            0.48
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius:
        10px;

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);

    color:
        #ffffff;

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            0.15
        );
}

.login-avertissement strong {
    display: block;

    margin-bottom:
        7px;

    font-size:
        13px;
}

.login-avertissement p {
    margin:
        0 auto;

    max-width:
        430px;

    font-size:
        12px;

    line-height:
        1.6;

    color:
        rgba(
            255,
            255,
            255,
            0.90
        );
}


/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (
    max-width: 700px
) {

    .login-body {
        padding:
            30px 16px;

        background-attachment:
            scroll;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (
    max-width: 520px
) {

    .login-body {
        padding:
            24px 14px;
    }

    .login-body::before {
        background:
            rgba(
                255,
                255,
                255,
                0.43
            );
    }

    .login-carte {
        padding:
            30px 22px;

        background:
            rgba(
                255,
                255,
                255,
                0.84
            );

        backdrop-filter:
            blur(7px);

        -webkit-backdrop-filter:
            blur(7px);
    }

    .login-entete h1 {
        font-size:
            26px;
    }

    .login-logo {
        width:
            80px;

        height:
            80px;
    }

    .login-avertissement {
        padding:
            14px 16px;
    }

}