@import url(/CSS/accueil.css);

* {
    box-sizing: border-box;
    font-family: "Poppins" sans-serif;
}

body {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #f0faff;
}

.wrapper {
    padding-top: 50px;
    position: relative;
    max-width: 470px;
    width: 100%;
    border-radius: 12px;
    padding: 20px 30px 120px;
    background: #419696;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form.login {
    position: absolute;
    left: 50%;
    bottom: -90%;
    transform: translateX(-50%);
    width: calc(100% + 220px);
    padding: 20px 140px;
    border-radius: 50%;
    height: 100%;
    background: #fff;
    transition: all 0.6s ease;
}

.wrapper.active .form.login {
    bottom: -15%;
    border-radius: 35%;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.form header {
    font-size: 30px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.form.signup input[type="submit"] {
    background-color: #ffffff; 
    color: #2F6F6F; 
    border: 1px solid #2F6F6F; 
}


.form.signup input[type="submit"]:hover {
    background-color: #f0f0f0; 
    color: rgb(80, 75, 75); 
    transition: 0.2s;
}

.form.login header {
    color: #333;
    opacity: 0.6;
}

.wrapper.active .form.login header {
    opacity: 1;
}

.wrapper.active .signup header {
    opacity: 0.6;
}

.wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

form input {
    height: 60px;
    outline: none;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px;
    background: #fff;
}

.form.login input {
    border: 1px solid #aaa;
}

.form.login input:focus {
    box-shadow: 0 1px 0 #ddd;
}

form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input[type="checkbox"] {
    height: 16px;
    width: 16px;
    accent-color: #fff;
    cursor: pointer;
}

form .checkbox label {
    cursor: pointer;
    color: #fff;
}

form a {
    color: #333;
    text-decoration: none;
}

form a:hover {
    text-decoration: underline;
}

form input[type="submit"] {
    margin-top: 15px;
    padding: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.form.login input[type="submit"] {
    background: #7AB2B2;
    color: #fff;
    border: none;
}

.form.login input[type="submit"]:hover{
    transition: 0.2s;
    background-color: #2F6F6F;
}

#emailHelp{
    color: #ffffffb0;
}
#mdpHelp{
    color: #ffffffb0;
}
#nomHelp{
    color: #ffffffb0;
}

.sidenav{
    padding-left: 20px;
}

/*Ne touchez pas le moindre caractère svp pour cette partie !*/
#focus-1:focus{
    color: grey;
    background-color: #396363;
}

#focus-2:focus {
    color: grey;
    background-color: #396363;
}

:target {
    color: grey;
    background-color: #396363;
}

/*Là c'est bon :)*/

label {
    position: relative;
    height: 60px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
}

label input {
    width: 100%;
    padding-right: 50px; /* Ajuste l'espace pour les icônes */
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

label .password-icon {
    position: absolute;
    top: 50%;
    right: 15px; /* Ajuste pour positionner les icônes */
    transform: translateY(-50%);
    cursor: pointer;
}

label .password-icon .feather-eye-off {
    display: none;
}

label.connexion_utils {
    position: relative;
    height: 60px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
}

label.connexion_utils input {
    width: 100%;
    padding-right: 50px; /* Ajuste l'espace pour les icônes */
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

label.connexion_utils .password-icon {
    position: absolute;
    top: 50%;
    right: 15px; /* Ajuste pour positionner les icônes */
    transform: translateY(-50%);
    cursor: pointer;
}

label.connexion_utils .password-icon .feather-eye-off {
    display: none;
}

.consignes{
    font-weight: 900;
}

.tab {
    display: none;
}
.active-tab {
    display: block;
}
.tab-button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #05595B;
    color: #fff;
    border: none;
    border-radius: 12px;
    margin-right: 5px;
}

.wrapperMdp{
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 20px;
}   

.wrapperMdp .formChangeMdp form{
    display: inline-grid;
    align-items: center;
    text-align: center; 
    border: 2px solid black;
    border-radius: 12px;
    padding: 20px;
}

.wrapperMdp .formChangeMdp form .valiate[type="submit"]{
    text-decoration: none;
    border: 2px solid #4D869C;
    color: #4D869C;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.wrapperMdp .formChangeMdp .valiate[type="submit"]:hover{
    background: #05595B;
    color: #fff;
    transition: 0.2s ease-out;
    cursor: pointer;
}

#validate{
    border: 2px solid #4D869C;
    width: fit-content;
    color: #4D869C;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
}

#validate:hover{
    background: #05595B;
    color: #fff;
    transition: 0.2s ease-out;
    cursor: pointer;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
}