@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

html {
    margin: 0 !important;
    height: 100% !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    overflow: hidden !important;
    position: fixed !important;
}

.title{
    text-align: center;
    margin-top: 5%;
    text-decoration: underline;
}

.DivLogo{
    display: flex;
    /*flex-direction: row;*/
    /*align-items: center;*/
    justify-content: center;
    align-content: center;
    margin-top: 3em;
    width: 100%;
}

.logo {
    align-self: center;
    width: 240px;
    height: 120px;
    margin: 5%;
}

.logo-toggle {
    align-self: flex-start;
    width: 80px;
    margin-top: 10px;
    margin-left: 10px;
}

.login-page {
    display: flex;
    margin: 0;
    font-size: 1.2em;
    font-family: 'Roboto', sans-serif;;
}

.login-page-separation {
    display: flex;
    height: 100vh;
}

.login-page-left {
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    flex-basis: 50%;
}

.login-page-right {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.car-image{
    flex-grow: 0.5;
    background-image: url("/ui/images/franchise-cosmeticar-photo-279.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position:0px -40px,
    center;
}
.boat-image{
    flex-grow: 0.5;
    background-image: url("/ui/images/cosmetiboat_login.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position:0px -110px,
    center;
}
@media screen and (max-width: 1400px) {
    .car-image{
        background-position:0px
        center;
    }
    .boat-image{
        background-position:0px
        center;
    }
}
/*@media screen and (max-width: 1200px) {*/

/*    .boat-image{*/
/*        background-position:-60px*/
/*        center;*/
/*    }*/
/*}*/

.login-title {
    margin-top: 8vh;
    margin-bottom: 1vh;
    align-self: center;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.error-message {
    display: flex;
    width: 100%;
    height: 40px;
    color: white;
    background-color: red;
    font-size: 1.1rem;
    align-items: center;
    margin-bottom: 10px;
    padding: 15px;
    border: solid 1px;
    animation: error-shake;
    animation-duration: 0.3s;
    /* text-align: center; */
}

.login-form-container {
    display: flex;
    width: 55%;
    align-self: center;
}

.login-form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.login-form label {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

.login-input {
    font-size: 16px;
    background-color: #eaecf3;
    border: none !important;
    margin-bottom: 10px !important;
    outline: none;
    height: 40px;
    padding: 5px !important;
    margin-top: 0 !important;
}

.login-input-password {
    width: 49%;
    border-radius: 5px 0 0 5px;
}

.login-input-login {
    width: 100%;
    border-radius: 5px;
}

.login-button {
    width: 100%;
    align-self: flex-end;
    margin-top: 10px;
    height: 40px;
    border: none;
    background-color: black;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 40vh;
    font-weight: bold;
}

.password-eye {
    width: 15%;
    height: 40px;
    margin-bottom: 10px;
    padding: 0;
    background-color: #eaecf3;
    border: none;
    border-radius: 0 5px 5px 0;
    outline: none;
    color: #a5a6ae;
}

.password-eye span {
    display: block;
}

.password-eye:active > span {
    transform: translateY(2px);
}

.password-eye:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.login-button:active {
    transform: scale(0.99);
}

.eye-black{
    color: black;
}




@media screen and (max-width: 1400px) {
    .login-page-left{
        flex-basis: 70%;
    }
    .logo {
        align-self: center;
        width: 150px;
        height: 75px;
        margin: 5%;
    }
}

@media screen and (max-width: 876px) {
    .login-form-container {
        width: 80%;
    }

    .login-form-container {
        height: auto;
        margin-bottom: 0;
    }

    .login-form {
        height: auto;
    }
    .login-page-right{
        width: 0%;
    }
    .login-page-left{
        flex-basis: 100%;
    }
    .logo {
        align-self: center;
        width: 150px;
        height: 75px;
        margin: 5%;
    }
}

@media screen and (max-width: 576px) {
    .logo {
        align-self: center;
        width: 100px;
        height: 50px;
        margin: 5%;
    }
    .login-title{
        margin-top: 10%;
    }
    .title{
        margin-top: 25%;
    }
}

/*   factorisé */
@keyframes error-shake {
    0% {transform: translateX(-3px);}
    20%, 60% {transform: translateX(6px);}
    40%, 80% {transform: translateX(-6px);}
    100% {transform: translateX(3px);}
}

.perte_identifiant {font-size: 12px;margin: 10px 0px;}

#motpasse_oublie {
    padding: 19px;
    /* text-decoration: underline; */
    cursor: pointer;
    border: 1px solid;
    height: 0px;
    display: flex;
    align-items: center;
    background-color: deepskyblue;
    color: white;
}
#motpasse_oublie:hover {
    background-color: darkblue;
}
#reinitialiser_passe {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#reinitialiser_passe h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

#reinitialiser_passe p {
  font-size: 14px;
  margin-bottom: 20px;
}

#reinitialiser_passe input[type="email"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#reinitialiser_passe button[type="submit"] {
  background-color: #337ab7;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#reinitialiser_passe button[type="submit"]:hover {
  background-color: #286090;
}

#reinitialiser_passe button.fermer {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


#reinitialiser_passe button.fermer {
  margin-top: 10px;
  background-color: #dc3545;
}

#reinitialiser_passe button[type="submit"]:hover,
#reinitialiser_passe button.fermer:hover {
  background-color: #0056b3;
}

.boutons-wrapper {
  text-align: right;
}


