/* Define styles for 'En attente' status */
.pending {
    color:  #ff671b !important;
}

/* Define styles for 'Validé' status */
.validated {
    color: green !important;
}


.alert {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #646b52;
    color: white;
    padding: 60px 70px;
    border-radius: 3px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'DaciaBlockLight';
    gap: 25px;
}

.alert.show {
    display: flex;
    animation: fadeOut 5s forwards;
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        display: none;
    }
}
.three-body {
    --uib-size: 35px;
    --uib-speed: 0.8s;
    --uib-color: #ffffff;
    position: relative;
    display: inline-block;
    height: var(--uib-size);
    width: var(--uib-size);
    animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
   }

   .three-body__dot {
    position: absolute;
    height: 100%;
    width: 30%;
   }

   .three-body__dot:after {
    content: '';
    position: absolute;
    height: 0%;
    width: 100%;
    padding-bottom: 100%;
    background-color: var(--uib-color);
    border-radius: 50%;
   }

   .three-body__dot:nth-child(1) {
    bottom: 5%;
    left: 0;
    transform: rotate(60deg);
    transform-origin: 50% 85%;
   }

   .three-body__dot:nth-child(1)::after {
    bottom: 0;
    left: 0;
    animation: wobble1 var(--uib-speed) infinite ease-in-out;
    animation-delay: calc(var(--uib-speed) * -0.3);
   }

   .three-body__dot:nth-child(2) {
    bottom: 5%;
    right: 0;
    transform: rotate(-60deg);
    transform-origin: 50% 85%;
   }

   .three-body__dot:nth-child(2)::after {
    bottom: 0;
    left: 0;
    animation: wobble1 var(--uib-speed) infinite
       calc(var(--uib-speed) * -0.15) ease-in-out;
   }

   .three-body__dot:nth-child(3) {
    bottom: -5%;
    left: 0;
    transform: translateX(116.666%);
   }

   .three-body__dot:nth-child(3)::after {
    top: 0;
    left: 0;
    animation: wobble2 var(--uib-speed) infinite ease-in-out;
   }

   @keyframes spin78236 {
    0% {
     transform: rotate(0deg);
    }

    100% {
     transform: rotate(360deg);
    }
   }

   @keyframes wobble1 {
    0%,
     100% {
     transform: translateY(0%) scale(1);
     opacity: 1;
    }

    50% {
     transform: translateY(-66%) scale(0.65);
     opacity: 0.8;
    }
   }

   @keyframes wobble2 {
    0%,
     100% {
     transform: translateY(0%) scale(1);
     opacity: 1;
    }

    50% {
     transform: translateY(66%) scale(0.65);
     opacity: 0.8;
    }
   }





.lineButtonsMobile .shwoSteps{
    height: 46px;
    border: 1px solid #4E5844;
    background-color: #4E5844;
    color: var(--white);
    font-family: 'DaciaBlock';
    transition: background-color 1s ease;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    margin: 6px 0;
    position: relative;
}
.lineButtonsMobile{
    display: none;
}
.etapsContainerMobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.etapBTNMobile {
    background-color: #4E5844;
    width: 100%;
    color: white;
    height: 40px;
    font-family: 'DaciaBlock';
    margin: -4px 0;
}
.etapBTNMobile.active{
    background-color: #646b52;
    width: 100%;
    color: var(--black);
    height: 40px;
    font-family: 'DaciaBlock';
    margin: -4px 0;
}
.etapBTNMobile.inactive{
    background-color: var(--gray3);
    width: 100%;
    color: var(--white);
    height: 40px;
    font-family: 'DaciaBlock';
    margin: -4px 0;
}
.shwoSteps svg {
    fill: white;
    /* transform: rotate(270deg); */
    transform: rotate(450deg);
    right: 5px;
    position: absolute;
}

.lineButtons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0 25px 0;
}
.etapsContainer {
    height: 46px;
    width: 100%;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.etapBTN:first-child {
    clip-path: polygon(7% 0, 92% 0, 100% 50%, 92% 100%, 0% 100%, 0 0%);
}
.etapBTN:last-child {
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 85% 100%, 0% 100%, 8% 50%);
}
.etapBTN {
    display: inline-block;
    position: relative;
    color: white;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    width: calc(100% - 17px);
    margin-right: -0.9%;
    margin-left: -0.9%;
    text-align: center;
    border: none;
    clip-path: polygon(0% 0, 92% 0, 100% 50%, 92% 100%, 0% 100%, 8% 50%);
    background-color: #4E5844;
    background-repeat: no-repeat;
    transition: background-position-y ease-in-out 250ms;
    cursor: pointer;
    font-family: 'DaciaBlock';
    display: flex;
    align-items: center;
    justify-content: center;
}

.etapBTN.active{
    background-color: #646b52;
    color: white;
}
.etapBTN.inactive{
    background-color: #f2f2f2;
    color: black;
}

/*________________________________________________*/
/*____________________ PAGE_______________________*/
/*________________________________________________*/
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  #acceptButton{
    width: 40%;
    margin: auto;
    height: 46px;
    border: none;
    background-color: #4E5844;
    color: white;
    font-family: 'DaciaBlock';
    transition: background-color 0.8s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
  }

  /* Modal content */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 70%; /* Could be more or less, depending on screen size */
  }

  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* PDF viewer styles */
  #pdfViewer {
    width: 100%;
    height: 600px; /* Adjust height as needed */
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 999;
  }

.popUp_commandeValid {
    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_commandeValid .Main_title {
    font-family: "DaciaBlock";
    text-align: center;
    font-size: 30px;
    margin-bottom: 8px;
}
.popUp_commandeValid .Main_sous-title {
    text-align: center;
    font-family: "DaciaBlock";
    margin-bottom: 25px;
}

.popUp_commandeValid .title {
    font-family: 'DaciaBlock';
    text-align: center;
}

.content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.leftSide {
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time.mobile{
    display: none;
}
.time {
    display: flex;
    height: 55px;
    background-color: #646b52;
    color: white;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-family: 'DaciaBlock';
}
.timeItem{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.time .timeItem .text{
    font-family: 'DaciaBlock';
    font-size: 12px;
}
#days, #hours, #minutes, #seconds {
    font-family: 'DaciaBlock';
    font-size: 20px;
}

.miniCarCard {
    background-color: white;
    width: 100%;
    height: inherit;
    box-sizing: border-box;
    border: 1px solid var(--gray2);
    background-size: contain;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.miniCarCard .sous-title-card{
    text-align: center;
    font-family: "DaciaBlock";
    color: var(--gray3);
}
.miniCarCard .carImage{
    display: flex;
    justify-content: center;
}
.miniCarCard .carImage img{
    width: 100%;
}


.details{
    border: 1px solid var(--gray2);
    padding: 20px;
    background-color: white;
}
.details p {
    font-family: 'DaciaBlock';
    font-size: 15px;
    margin: 5px 0;
}
.details p span {
    font-family: 'DaciaBlock';
    font-size: 15px;
}
.details .miniTitle{
    font-family: 'DaciaBlock';
    font-size: 15px;
}
.SousReserve{
    font-family: 'DaciaBlock';
    font-size: 10px;
}

.close{
    text-align: right;
    margin-bottom: 20px;
    margin-right: 10px;
}
.close a{
    cursor: pointer;
    font-family: 'DaciaBlockLight';
    font-size: 22px;
}
/*______________________________________________________________________*/
/*__________________________Avencement PAGE_____________________________*/
/*______________________________________________________________________*/
.rightSide {
    width: 60%;
    height: inherit;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rightSideContent{
    background-color: white;
    border: 1px solid var(--gray2);
    padding: 20px;
}
.CMDvalidation {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.miniDetailsCard {
    background-color: #f7f7f7;
    border: 1px solid #f0f0f0;
    padding: 10px;
}
.miniDetailsCard p{
    font-family: 'DaciaBlock';
    font-size: 15px;
    margin: 5px 0;
}
.miniDetailsCard p span {
    font-family: 'DaciaBlock';
    font-size: 15px;
}


.typeVirement {
    display: flex;
    justify-content: space-evenly;
    margin: 35px 0;
}
.typeVirement .type{
    font-family: 'DaciaBlock';
    cursor: pointer;
    transition: font-family 1s ease;
    line-height: 35px;
}
.typeVirement .type:hover{
    font-family: 'DaciaBlock';
    cursor: pointer;
}
.typeVirement .type.active{
    font-family: 'DaciaBlock';
    border-bottom: 2px solid #ff671b;
    cursor: pointer;
}
form input{
    border: 0;
    border-bottom: #dadada solid 1px;
    padding: 15px 0;
    margin-bottom: 10px;
    font-family: DaciaBlock;
    width: 100%;
}
form input[type="file"]:focus, form input[type="file"]:focus-visible{
    border-bottom: 1px solid #dadada !important;
}
form input[type="file"]{
    margin-bottom: 0px;
    padding: 7px 0;
    border-right: 1px solid #dadada;
    border-left: 1px solid #dadada;
    font-size: 10px;
}
form input[name="ImageRecu"]{
    margin-bottom: 0px;
}

.EnvoyerBTN{
    height: 46px;
    border: 1px solid #4E5844;
    background-color: #4E5844;
    color: var(--white);
    font-family: 'DaciaBlock';
    transition: background-color 1s ease;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}
.EnvoyerBTN:hover {
    background-color: #646b52;
}

.deconnecter {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin: 40px 0 0 0;
    gap: 8px;
}
.deconnecter .MDPoublie {
    font-family: 'DaciaBlock';
    margin: 20px auto;
    text-decoration: underline;
    font-size: 14px;
}



/*_______________________________*/
/*__________second part__________*/
/*_______________________________*/
.rightSideContent .afterForm{
    border: 1px solid #dadada;
    padding: 20px;
}
.rightSideContent.afterForm .part1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.rightSideContent.afterForm .part1 .text {
    font-family: 'DaciaBlock';
    text-align: center;
}

.rightSideContent.afterForm .part2 p {
    font-size: 14px;
    font-family: 'DaciaBlock';
    margin: 5px 0;
}
.rightSideContent.afterForm .part2 p span{
    font-size: 13px;
    font-family: 'DaciaBlock';
    color: #ff671b;
}

/*_______________________________*/
/*__________success part__________*/
/*_______________________________*/
.rightSideContent .aftervalidation{
    border: 1px solid #dadada;
    padding: 20px;
}
.rightSideContent.aftervalidation .part1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.rightSideContent.aftervalidation .part1 .text {
    font-family: 'DaciaBlock';
    text-align: center;
}
.rightSideContent.aftervalidation .part2{
    margin: 25px 0;
}
.rightSideContent.aftervalidation .part2 p {
    font-size: 14px;
    font-family: 'DaciaBlock';
    margin: 5px 0;
}
.rightSideContent.aftervalidation .telecharger,  .rightSideContent.aftervalidation .signer{
    font-family: 'DaciaBlock';
    margin: 25px 0;
}

.rightSideContent.aftervalidation .telecharger .telechargerBTN,
.rightSideContent.aftervalidation .signer .signerBTN{
    height: 46px;
    border: 1px solid #4E5844;
    background-color: #4E5844;
    color: var(--white);
    font-family: 'DaciaBlock';
    transition: background-color 0.8s ease;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rightSideContent.aftervalidation .telecharger .telechargerBTN:hover,
.rightSideContent.aftervalidation .signer .signerBTN:hover{
    background-color: #646b52;
}

.rightSideContent.aftervalidation .part2 p span{
    font-size: 13px;
    font-family: 'DaciaBlock';
    color: green;
}

.loader {
    border: 4px solid #d1d1d1;
    border-top: 4px solid #000000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    margin: 0 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*_______________________________*/
/*__________DossierAchat__________*/
/*_______________________________*/
.champ {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.champ label {
    font-family: 'DaciaBlock';
    color: #757575;
    font-size: 13px;
}
.champ select {
    width: 48.6%;
    height: 36px;
    border: 1px solid #dadada;
}
.champ select:focus, .champ select:focus-visible{
    border: 1px solid var(--gray2) !important;
}
.inputZone_imagerecu{
    width: 100%;
    padding: 7px 10px;
    margin: 5px 0;
    border: 1px solid var(--gray2);
}
.inputZone {
    width: 45%;
    padding: 7px 10px;
    margin: 5px 0;
    border: 1px solid var(--gray2);
}
.inputZone #file-name, .inputZone_imagerecu #file-name{
    font-family: 'DaciaBlock';
    font-size: 10px;
}
form .champ input[type="file"] {
    width: 250px;
    padding: 9px;
    margin: 5px 0;
    border: 1px solid var(--gray2);
}
.custom-file-upload {
    display: inline-block;
    padding: 3px 2px;
    cursor: pointer;
    border: 1px solid var(--gray3);
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 10px;
    margin: 0 5px 0 0;
}
.custom-file-upload input[type="file"] {
    display: none;
}

.suivantBTN{
    height: 46px;
    border: none;
    background-color: #4E5844;
    color: white;
    font-family: 'DaciaBlock';
    transition: background-color 0.8s ease;
    cursor: pointer;
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.suivantBTN:hover{
    background-color: #646b52;
    color: white;
}

/*___________________________________________________________*/
/*_____________________PAGE PAIEMENT_________________________*/
/*___________________________________________________________*/
.paiement{
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.paiement hr {
    background-color: var(--gray1);
    width: 100%;
    margin-top: 30px;
}
.rightSideContent .paiement .text {
    font-family: 'DaciaBlock';
    text-align: center;
    margin: 20px 0;
}
.champ .fullWidthSelect {
    width: 100%;
    height: 36px;
    border: 1px solid var(--gray2);
}

.inputZoneEX {
    padding: 7px 10px;
    margin: 0;
    border-bottom: 1px solid var(--gray2);
    border-left: 1px solid var(--gray2);
    border-right: 1px solid var(--gray2);
    font-family: 'DaciaBlock';
}
.inputZoneEX #file-name {
    font-family: 'DaciaBlock';
    font-size: 10px;
}




@media (max-width: 1024px) {

}

@media (max-width: 800px) {
    .champ {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        margin: 0px 0;
    }
    .champ select {
        width: 100%;
    }
    .inputZone, .inputZone_imagerecu {
        width: 94%;
    }

    .leftSide {
        width: 43%;
    }
    .rightSide {
        width: 55%;
    }


    .details p, .details p span {
        font-size: 13px;
    }

    .typeVirement .type {
        font-size: 10px;
    }
    .popUp_commandeValid .Main_sous-title {
        font-size: 12px;
    }
    .miniDetailsCard p, .miniDetailsCard p span {
        font-size: 12px;
    }
    .typeVirement {
        margin: 20px 0;
    }
    form input {
        font-size: 12px;
        padding: 9px 0;
    }

    .inputZoneEX {
        width: 100%;
        padding: 3px 0px;
        margin: 0;
        border: 1px solid var(--gray2);
        font-family: 'DaciaBlock';
    }

    .etapBTN {
        font-size: 11px;
    }

}

@media (max-width: 650px) {
    .content {
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
    }
    .leftSide {
        width: 100%;
    }
    .rightSide {
        width: 100%;
    }
    .popUp_commandeValid {
        width: 94%;
    }
    .suivantBTN{
        margin-bottom: 20px;
    }
    .time.mobile{
        display: flex !important;
    }
    .time{
        display: none;
    }
    .SousReserve {
        display: none;
    }
    .SousReserve.mobile{
        display: block !important;
    }
    .rightSideContent {
        margin: 10px 0;
    }


    /*--etaps--*/
    .lineButtonsMobile{
        display: block;
    }
    .lineButtons{
        display: none;
    }
}
@media (max-width: 450px) {
    .etapBTN {
        margin-right: -5px;
        margin-left: -5px;
        font-size: 8px;
        height: 35px;
    }
    .champ label {
        font-size: 12px;
    }
    .details p {
        font-size: 13px;
    }
    .miniCarCard .sous-title-card {
        font-size: 12px;
    }


    .popUp_commandeValid .Main_sous-title {
        font-size: 10px;
    }
    .miniDetailsCard {
        border: 0px;
        padding: 5px;
    }
    .miniDetailsCard p, .miniDetailsCard p span {
        font-size: 12px;
    }
    form input {
        font-size: 10px;
        padding: 7px 0;
    }


    #days, #hours, #minutes, #seconds {
        font-size: 17px;
    }
    .time .timeItem .text {
        font-size: 10px;
    }

    .rightSideContent .paiement .text {
        font-size: 14px;
    }
    .CMDvalidation .title{
        margin-bottom: 10px !important;
    }
    .paiement hr {
        margin: 0;
    }

    .rightSideContent.aftervalidation .part1 .text {
        font-size: 14px;
    }
}


@media (max-width: 375px){
    .typeVirement .type {
        font-size: 7px;
    }

    /*--part2--*/
    .rightSideContent.afterForm .part2 p, .rightSideContent.afterForm .part2 p span,
    .rightSideContent.aftervalidation .part2 p, .rightSideContent.aftervalidation .part2 p span{
        font-size: 12px;
    }
    .rightSideContent.afterForm .part1 .text, .rightSideContent .paiement .text{
        font-size: 12px;
    }
    .popUp_commandeValid .title {
        font-size: 15px;
    }

    .rightSideContent.aftervalidation .telecharger, .rightSideContent.aftervalidation .signer {
        font-family: 'DaciaBlock';
        margin: 25px 0;
        font-size: 13px;
    }

    .miniDetailsCard p, .miniDetailsCard p span {
        font-size: 11px;
    }

    .rightSideContent.aftervalidation .part1 .text {
        font-size: 12px;
    }
}

@media (max-width: 320px){
    .typeVirement .type {
        font-size: 7px;
    }

    /*--part2--*/
    .rightSideContent.afterForm .part2 p, .rightSideContent.afterForm .part2 p span,
    .rightSideContent.aftervalidation .part2 p, .rightSideContent.aftervalidation .part2 p span{
        font-size: 10px;
    }
    .rightSideContent.afterForm .part1 .text, .rightSideContent .paiement .text {
        font-size: 12px;
    }
    .popUp_commandeValid .title {
        font-size: 15px;
    }

    .miniDetailsCard p, .miniDetailsCard p span {
        font-size: 10px;
    }
}
