/*.cadres {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #265df2
  
}*/

.mi-cadres {
    background-color: #fff;
    position: relative;
    max-width: 900px;
    width: 100%;
    border-radius: 6px;
    padding: 0px;
    margin: 0 1px;
   /*box-shadow: 0 5px 10px rgba(0,0,0,0.1);*/  
}



.mi-cadres header{
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.mi-cadres form {
    position: relative;
    margin-top: 16px;
    min-height: 360px;
    background-color: #fff;
}


.mi-cadres form .form {
    position: absolute;
    background-color: #fff;
    transition: 0.3s ease;
}


.mi-cadres form .form.second{
    opacity: 0;
    pointer-events: none;
}

form.secActive .form.second{
    opacity: 1;
    pointer-events: auto;
}

form.secActive .form.first{
    opacity: 0;
    pointer-events: none;
}


.mi-cadres form .titre {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}

.mi-cadres form .fields {
       display: flex;
       align-items: center;
       justify-content: space-between;
       flex-wrap: wrap;
}

form .fields .input-field {
    display: flex;
    width:calc(100% / 3 - 15px);
    flex-direction: column;
    margin: 4px 0;
}

.input-field label{
    font-size: 12px;
    font-weight: 500;
    color: #2e2e2e;
}
.input-field  input{
    outline: none;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border: 1px solid #aaa;
    border-radius: 5px;
    padding:0 15px;
    height: 42px;
    margin: 8px 0; 
}



.input-field  select{
    outline: none;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border: 1px solid #aaa;
    border-radius: 5px;
    padding:0 15px;
    height: 42px;
    margin: 8px 0; 
}



.input-field input:is(:focus,:valid){
    box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}

.input-field input[type='date']{
    color: #707070;
}

.input-field input[type='date']:valid{
    color: #333;
}

.mi-cadres form button{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    max-width: 150px;
    width: 100%;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    background-color: #4070f4;
    transition: all 0.3s linear;
    cursor: pointer;
}

form button .secondary{
    background-color: #2c2e33;

}


.mi-cadres form button,
.mi-cadres form {
    font-size: 14px;
    font-weight: 400;
}



form .buttons {
    display: flex;
    align-items: center;
}

form .buttons button{
    margin-right: 14px;
}






.making {
    margin-bottom: 4px;
 
}

  
.name-field {
    display: flex;
    width: 100%;
    justify-content:space-between;
}

.name-field div {
    display: flex;
    flex-direction: column;
}

.name-field div {
    width: 48%;
}




@media (max-width: 750px) {
    .mi-cadres form {
        overflow-y: scroll;
    }

    .mi-cadres form::-webkit-scrollbar {
        display: none;
    }

    form .fields .input-field{
        width:calc(100% /2 - 15px);
    }
}


@media (max-width: 550px) {

    form .fields .input-field{
        width:100%;
    }
}
