/* =========================================================
   BP-HYGIENE
   MOT DE PASSE OUBLIÉ
========================================================= */

* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;

    background: #f5f7f9;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: #263640;

    -webkit-font-smoothing: antialiased;
}


/* PAGE */

.forgot-page {
    min-height: 100vh;

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

    padding: 30px 20px;
}


/* CARTE */

.forgot-card {
    width: 100%;
    max-width: 480px;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #e4e9ec;
    border-radius: 20px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .04),
        0 20px 45px rgba(0, 0, 0, .06);
}


/* LOGO */

.forgot-logo {
    text-align: center;

    margin-bottom: 25px;
}

.forgot-logo img {
    display: inline-block;

    width: auto;
    height: 65px;

    max-width: 180px;
}


/* TITRE */

.forgot-header {
    text-align: center;

    margin-bottom: 26px;
}

.forgot-header h1 {
    margin: 0;

    color: #293b45;

    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
}

.forgot-header p {
    max-width: 370px;

    margin:
        9px
        auto
        0;

    color: #7a878f;

    font-size: 14px;
    line-height: 1.5;
}


/* FORMULAIRE */

.forgot-form {
    display: flex;
    flex-direction: column;
}

.forgot-form label {
    margin-bottom: 7px;

    color: #40515a;

    font-size: 13px;
    font-weight: 600;
}

.forgot-form input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid #d8e0e4;
    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: #263640;

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.forgot-form input:focus {
    border-color: #718c9a;

    box-shadow:
        0 0 0 3px rgba(90, 122, 138, .10);
}


/* BOUTON */

.forgot-form button {
    width: 100%;
    min-height: 50px;

    margin-top: 16px;
    padding: 12px 18px;

    border: 0;
    border-radius: 10px;

    background: #3f748f;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .15s ease,
        opacity .15s ease,
        box-shadow .15s ease;
}

@media (hover: hover) {

    .forgot-form button:hover {
        opacity: .93;

        box-shadow:
            0 6px 15px rgba(63, 116, 143, .20);
    }
}

.forgot-form button:active {
    transform: scale(.99);
}


/* MESSAGES */

.forgot-alert {
    margin-bottom: 20px;
    padding: 13px 15px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.45;
}

.forgot-alert.success {
    background: #edf7f0;
    border: 1px solid #cde7d4;

    color: #39734a;
}

.forgot-alert.error {
    background: #fff1f1;
    border: 1px solid #f1cccc;

    color: #a24343;
}


/* RETOUR */

.forgot-back {
    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid #edf0f2;

    text-align: center;
}

.forgot-back a {
    color: #657983;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.forgot-back a:hover {
    text-decoration: underline;
}

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

@media (max-width: 600px) {

    .forgot-page {
        align-items: flex-start;
        padding: 20px 12px;
    }

    .forgot-card {
        max-width: none;
        padding: 25px 18px;
        border-radius: 16px;
    }

    .forgot-logo {
        margin-bottom: 20px;
    }

    .forgot-logo img {
        height: 52px;
        max-width: 150px;
    }

    .forgot-header {
        margin-bottom: 22px;
    }

    .forgot-header h1 {
        font-size: 23px;
    }

    .forgot-header p {
        font-size: 13px;
        line-height: 1.45;
    }

    .forgot-form input {
        height: 48px;
        font-size: 16px;
    }

    .forgot-form button {
        min-height: 48px;
        font-size: 14px;
    }

    .forgot-alert {
        margin-bottom: 18px;
        padding: 12px 13px;
        font-size: 12px;
    }

    .forgot-back {
        margin-top: 20px;
        padding-top: 17px;
    }
}


/* =========================================================
   TRÈS PETITS MOBILES
========================================================= */

@media (max-width: 370px) {

    .forgot-page {
        padding: 12px 8px;
    }

    .forgot-card {
        padding: 22px 15px;
    }

    .forgot-logo img {
        height: 46px;
    }

    .forgot-header h1 {
        font-size: 21px;
    }

    .forgot-header p {
        font-size: 12px;
    }
}


/* =========================================================
   MOBILE PAYSAGE
========================================================= */

@media
    (max-height: 500px)
    and (orientation: landscape) {

    .forgot-page {
        align-items: flex-start;
        padding: 15px;
    }

    .forgot-card {
        max-width: 520px;
        padding: 20px 25px;
    }

    .forgot-logo {
        margin-bottom: 12px;
    }

    .forgot-logo img {
        height: 42px;
    }

    .forgot-header {
        margin-bottom: 15px;
    }

    .forgot-header h1 {
        font-size: 21px;
    }

    .forgot-header p {
        margin-top: 5px;
        font-size: 12px;
    }

    .forgot-form input {
        height: 44px;
    }

    .forgot-form button {
        min-height: 44px;
        margin-top: 12px;
    }

    .forgot-back {
        margin-top: 15px;
        padding-top: 13px;
    }
}