.popUp_login {
    width: 95%;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    border: 1px solid red;
}

.popUp_login .image {
    width: 70%;
    height: inherit;
    box-sizing: border-box;
}
.popUp_login .image img{
    width: 100%;
}


.popUp_login .form{
    width: 30%;
    height: inherit;
    box-sizing: border-box;
    padding: 45px;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form .title{
    font-family: 'DaciaBlock';
    margin: 25px 0;
}
.form form{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form form input[type='email'], .form form input[type='password']{
    border: 0;
    border-bottom: var(--gray2) solid 1px;
    padding: 15px 0;
    margin-bottom: 10px;
    font-family: DaciaBlock;
    width: 100%;
}
.form form .souvenirLabel {
    position: relative;
    font-family: 'DaciaBlock';
    font-size: 14px;
    margin: 20px 0;
}
.form form .souvenirLabel:before {
    content: '';
    -webkit-appearance: none;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 6px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    left: -1px;
    bottom: 2px;
    margin-right: 8px;
    border: 1px solid var(--gray3);
}
.form form input[type='checkbox']:checked + .souvenirLabel:before{
    background-color: black;
}
.form form input[type='checkbox']:checked + .souvenirLabel:after {
    content: '\2713';
    font-size: 12px;
    color: white;
    display: block;
    position: absolute;
    top: 0px;
    left: 2px;
}

.submitForm{
    height: 46px;
    border: 1px solid var(--black);
    background-color: var(--black);
    color: var(--white);
    font-family: 'DaciaBlock';
    transition: background-color 1s ease;
    cursor: pointer;
    margin: 20px 0;
}
.submitForm:hover{
    background-color: var(--white);
    color: var(--black);
}
.MDPoublie {
    font-family: 'DaciaBlock';
    margin: 20px auto;
    text-decoration: underline;
    font-size: 14px;
}

.close{
    text-align: right;
    margin-bottom: 20px;
    margin-right: 10px;
}
.close a{
    cursor: pointer;
    font-family: 'DaciaBlockLight';
    font-size: 22px;
}
/*______________________________________________________________________*/
/*_____________________MOT DE PASSE CHANGE PAGE_________________________*/
/*______________________________________________________________________*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 999;
  }
  
  /* Popup styles */
  .popUp_MDPchange {
    width: 95%;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: absolute;
    left: 3%;
    top: 25%;
    background-color: #f7f7f7;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

.popUp_MDPchange .Main_title {
    font-family: "DaciaBlock";
    text-align: center;
    font-size: 30px;
    margin-bottom: 8px;
}
.popUp_MDPchange .Main_sous-title {
    text-align: center;
    font-family: "DaciaBlock";
    color: var(--gray3);
    margin-bottom: 40px;
}

.popUp_MDPchange .title {
    font-family: 'DaciaBlock';
}

.content, .contentMDPChange, .StepsContent {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.carCard {
    background-color: white;
    width: 38%;
    height: inherit;
    box-sizing: border-box;
    border: 1px solid var(--gray2);
    background-size: contain;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 20px;
}
.carCard .sous-title-card{
    text-align: center;
    font-family: "DaciaBlockLight";
    color: var(--gray3);
}
.carCard .carImage{
    display: flex;
    justify-content: center;
}
.carCard .carImage img{
    width: 100%;
}

.formMDP{
    background-color: white;
    width: 60%;
    height: inherit;
    box-sizing: border-box;
    border: 1px solid var(--gray2);
    padding: 20px;
}
.formMDP form{
    display: flex;
    flex-direction: column;
    margin-top: 22px;
}
.formMDP form input {
    border: 0;
    border-bottom: var(--gray3) solid 1px;
    padding: 15px 0;
    margin-bottom: 10px;
    font-family: "DaciaBlock";
    width: 100%;
}
.submitformMDP{
    height: 46px;
    border: 1px solid var(--black);
    background-color: var(--black);
    color: var(--white);
    font-family: 'DaciaBlock';
    transition: background-color 1s ease;
    cursor: pointer;
    margin-top: 20px;
}
.submitformMDP:hover{
    background-color: var(--white);
    color: var(--black);
}

.deconnecter {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin: 40px 0 0 0;
    gap: 8px;
}
      

/*______________________________________________________________________*/
/*__________________________Avencement PAGE_____________________________*/
/*______________________________________________________________________*/
.CMDsuivi{
    width: 60%;
    height: inherit;
    box-sizing: border-box;
    border: 1px solid var(--gray2);
    padding: 20px;
    background-color: white;
}
.steps{
    gap: 20px;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.steps .step {
    display: flex;
    gap: 15px;
    align-items: center;
}

.steps .step span{
    font-family: 'DaciaBlock';
    color: var(--gray3);
}

.stepNum.active,.stepNum{
    width: 27px;
    height: 27px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-family: 'DaciaBlock';
    position: relative;
    box-shadow: 2px 2px 4px #646b52;
}
.stepNum.active{
    background-color: #646b52;
    color: white;
    border: 1px solid #646b52;
}
.stepNum{
    background-color: rgb(255, 255, 255);
    color: var(--gray3);
    border: 1px solid var(--gray2);
}

.steps :not(:last-child) .stepNum::before {
    content: "";
    position: absolute;
    border: 1px solid var(--gray2);
    top: 30px;
    left: 12px;
    height: 17px;
    z-index: 0;
}
.ConsultBTN{
    height: 46px;
    border: none;
    background-color: #4E5844;
    color: var(--white);
    font-family: 'DaciaBlock';
    transition: background-color 0.5s ease;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}
.ConsultBTN:hover {
    background-color: #646b52;
    border: none;
    color: var(--white);
}

@media (max-width: 1024px){
    .popUp_login .form{
        padding: 2%;
    } 
}

@media (max-width: 800px){
    .form form input[type='email'], .form form input[type='password'] {
        margin-bottom: 0px;
        font-size: 12px; 
    }
    .form form .souvenirLabel {
        font-size: 11px;
        margin: 15px 0;
    }
    .MDPoublie {
        margin: 5px auto;
        font-size: 11px;
    }
    .submitForm {
        height: 33px;
        margin: 11px 0;
    }
    .form .title {
        margin: 5px 0;
        font-size: 14px;
    }
    /*---Avancement---*/
    .steps {
        gap: 20px;
        display: flex;
        flex-direction: column;
        margin: 20px 0 0 0;
    }
}

@media (max-width: 740px){
    .contentMDPChange{
        flex-direction: column-reverse;
    }
    .formMDP {
        width: 100%;
        margin: 15px 0;
    }
    .carCard {
        width: 100%;
    }
    .popUp_MDPchange {
        width: 94%;
    }

    /*---Avancement---*/
    .StepsContent{
        flex-direction: column-reverse;
    }
    .CMDsuivi {
        width: 100%;
        margin: 15px 0;
    }
}

@media (max-width: 580px){
    .form form input[type='email'], .form form input[type='password'] { 
        padding: 8px 0;
    }
    .MDPoublie {
        margin: 0px auto;
        font-size: 7px;
    }
    .submitForm {
        height: 27px;
        margin: 11px 0;
        font-size: 10px;
    }
    .form form .souvenirLabel:before {
        padding: 4px;
    }
    .form form input[type='checkbox']:checked + .souvenirLabel:after {
        font-size: 8px;
        top: 1px;
        left: 1px;
    }
}

@media (max-width: 499px){
    .popUp_login .image {
        display: none;
    }
    .popUp_login .form {
        padding: 3%;
        width: 100%;
    }
    .form form input[type='email'], .form form input[type='password'] {
        padding: 8px 0;
        margin: 7px 0px;
    }
    .form form .souvenirLabel:before {
        padding: 5px;
        left: 1px;
    }
    .form form input[type='checkbox']:checked + .souvenirLabel:after {
        font-size: 9px;
        top: 0px;
        left: 4px;
    }
}

@media (max-width: 425px){
    .popUp_MDPchange .Main_sous-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .popUp_MDPchange .title {
        font-size: 13px;
    }
    .carCard .sous-title-card {
        font-size: 12px;
    }

/*---Avancement---*/
    .steps .step {
        font-size: 14px;
    }
}

@media (max-width: 362px){
/*---Avancement---*/
    .steps .step span {
        font-size: 12px;
    }
}