#estimation_reprise .bloc-resume-vehicule-estimation{
    padding: 10px 40px;
    border: var(--couleur-principale) 2px solid;
    border-radius: 6px;
    margin-top: 20px;
}

#estimation_reprise .bloc-resume-vehicule-estimation .bloc-resume-vehicule-estimation-titre{
    text-transform: uppercase;
    color: var(--couleur-principale);
    font-weight: 600;
    text-align: center;
    font-size: 20px;
    margin: 0;
}

#estimation_reprise .bloc-resume-vehicule-estimation .bloc-resume-vehicule-estimation-version{
    text-align: center;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}

#estimation_reprise .bloc-resume-vehicule-estimation .bloc-resume-vehicule-estimation-immatriculation{
    text-align: center;
    text-transform: uppercase;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

#estimation_reprise .marque-modele-selection-version{
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--couleur-principale);
}

#estimation_reprise #formulaire_estimation_reprise input{
    font-weight: 500;
}

#estimation_reprise #formulaire_estimation_reprise h3{
    font-size: 20px;
    color: var(--couleur-principale);
    font-weight: 300;
}

#estimation_reprise #formulaire_estimation_reprise #reprise_images_preview{
    display: flex;
    margin-top: 10px;
    overflow-x: auto;
}

#estimation_reprise #formulaire_estimation_reprise #reprise_images_preview .image-vehicule-preview{
    height: 100px;
    margin: 5px;
    border-radius: 6px;
}

#estimation_reprise .confirmation-reprise-envoi p{
    font-size: 26px;
    font-weight: 700;
    margin-top: 16px;
}

#estimation_reprise .confirmation-reprise-envoi i{
    font-size: 50px;
    color: var(--bs-primary);
}

.bloc-estimation-header {
    margin: 50px 0px;
}

.bloc-estimation-infos {
    background-color: var(--couleur-principale);
    color: white;
    padding: 30px 0px;
}

.estimation-infos-icone i {
    color: var(--couleur-secondaire);
    font-size: 50px;
    margin-bottom: 15px;
}

.estimation-infos-texte h2 {
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 600;
}

.bloc-estimation-etapes {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 33%;
    height: 100%;
    background-color: var(--couleur-principale);
    color: white;
}

.bloc-estimation-etape {
    display: flex;
    padding: 50px 0px;
    width: 360px;
    height: 150px;
    align-items: inherit;
}

.bloc-estimation-etape-titre {
    width: 100%;
}

.bloc-estimation-etape-titre h2 {
    font-size: 20px;
    text-transform: uppercase;
    margin: 0;
}

.bloc-estimation-etape-titre h3 {
    font-size: 14px;
    font-weight: 300;
    color: #c7c7c7;
}

.bloc-estimation-etape-icon {
    margin-left: 30px;
    position: relative;
}

.bloc-estimation-etape-icon i {
    width: 50px;
    height: 50px;
    font-size: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--couleur-principale-fonce);
    position: relative;
    z-index: 5;
}

#vehicule_km {
    border: none;
    border-bottom: 2px solid var(--couleur-secondaire);
    max-width: 65px;
    width: 100%;
    text-align: right;
    margin: 0px 10px;
    font-weight: 600;
}

.vehicule-formulaire {
    margin-top: 20px;
}

#champs-kilometrage {
    position: relative;
    max-width: 600px;
    margin: 50px 0px 60px 0px;
}

.kilometrage-min {
    position: absolute;
}

.kilometrage-max {
    position: absolute;
    right: 0;
}

.etape-progression {
    height: 100px;
    width: 3px;
    background-color: var(--couleur-principale-fonce);
    position: absolute;
    left: 25px;
    top: 50px;
    align-content: center;
}

.etape-initiale {
    background-color: var(--couleur-secondaire) !important;
    animation: pulse 1.5s ease-in-out infinite;
}

.etape-animate {
    animation: pulse 2s ease-in-out infinite;
}

.etape-active .etape-sous-progression {
    width: 3px;
    background-color: var(--couleur-principale-clair);
    position: absolute;
    left: 25px;
    top: 50px;
    align-content: center;
}

.etape-active .etape-sous-progression-3 {
    height: 20px;
}

.etape-active .etape-sous-progression-4 {
    height: 35px;
}

.etape-active .etape-sous-progression-5 {
    height: 45px;
}

.etape-active .etape-sous-progression-6 {
    height: 55px;
}

.etape-active .etape-sous-progression-7 {
    height: 66px;
}

.etape-active .etape-sous-progression-8 {
    height: 75px;
}

.etape-active .etape-sous-progression-9 {
    height: 90px;
}

.etape-active .etape-sous-progression::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--couleur-principale-clair);
    display: block;
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    left: -3px;
}

.etape-active {
    color: white;
}

.etape-active .etape-progression {
    background-color: var(--couleur-secondaire);
}

.etape-active .bloc-estimation-etape-icon i {
    background-color: var(--couleur-secondaire);
}

.bloc-estimation-formulaire {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 67%;
    padding: 0px 40px;
    position: relative;
}

.bloc-estimation-formulaire-titre h2, .bloc-estimation-formulaire-titre h3 {
    margin-bottom: 0px;
}

.bloc-estimation-formulaire-titre h2 {
    text-transform: uppercase;
    font-weight: 600;
}

.bloc-estimation-formulaire-titre h3 {
    font-weight: 300;
}

.formulaire {
    margin-top: 50px;
}

.formulaire .form-label {
    margin-bottom: 0px;
    font-size: 18px;
}

/* Première main */

.bloc-vehicule-importe {
    margin: 50px 0px;
}

.form_vehicule_importe {
    display: flex;
    justify-content: space-between;
}

.bloc-checkbox-select {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-select {
    display: none;
}

/*.checkbox-option {
    margin-right: 30px;
}*/

.label-checkbox-select {
    padding: 5px 10px;
    border: 1px solid #c5c5c5;
    border-radius: 50px;
    margin: 5px;
    user-select: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--couleur-secondaire);
    width: 300px;
}

.checkbox-option-active {
    background: var(--couleur-principale) !important;
    color: white !important;
}

/* Immatriculation Container */

.immatriculation-formulaire {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 50px;
}

.immatriculation-separateur {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 500;
    color: #e3e3e3;
}

.immatriculation-bouton .btn-outline-secondary {
    padding: 15px;
    border-radius: 50px;
}

/* Immatriculation Input */

.immatriculation-input-container input {
    padding: 20px;
}

.immatriculation-input-prefixe {
    background-color: #345d9d;
    color: white;
    padding: 20px 15px;
    border-radius: 5px 0px 0px 5px;
}

/* Immatriculation Bouton */

.bloc-estimation-boutons {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.bloc-estimation-boutons .btn-primary {
    padding: 15px 50px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 500;
}

#bouton_estimation_previous {
    margin-right: 100px;

}

/* Couleur */

.couleurs {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
}

.couleur {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin: 17px;
    user-select: none;
}

.couleur:hover {
    cursor: pointer;
}

.couleur-active {
    position: absolute;
    width: calc(100% + 7px);
    height: calc(100% + 7px);
    border-radius: 100%;
    border: 1px solid var(--couleur-principale);
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.couleur-noir{background-color: #000;}
.couleur-gris{background-color: #b2b2b2;}
.couleur-gris-fonce{background-color: #595959;}
.couleur-bleu{background-color: #0909D8;}
.couleur-vert{background-color: #34c768;}
.couleur-rouge{background-color: #d53737;}
.couleur-orange{background-color: #e1aa31;}
.couleur-jaune{background-color: #ebd60c;}
.couleur-marron{background-color: #88584d;}
.couleur-bordeaux{background-color: #740b3c;}
.couleur-violet{background-color: #673b81;}
.couleur-rose{background-color: #F9BBE7;}
.couleur-beige{background-color: #e3d0a2;}
.couleur-blanc{background-color: #ffffff; border: 1px solid #ccc}
.couleur-multicolore { background: linear-gradient(45deg, rgba(238,120,136,1) 0%, rgba(247,168,77,1) 15%, rgba(232,193,63,1) 36%, rgba(166,203,122,1) 60%, rgba(96,176,214,1) 76%, rgba(101,122,186,1) 100%); }
.couleur-autre { font-size: 39px; text-align: center; line-height: 40px; border-color: lightgray;}

/* Frais à réaliser */
.frais-a-realiser {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.bloc1{
    position: relative;
}

.bloc2{
    position: relative;
}

.bloc3{
    position: relative;
}

.bloc4{
    position: relative;
}

.bloc5{
    position: relative;
}


.bloc h1 {
    position: relative;
    font-family: 'Montserrat';
    z-index: 1;
    text-align: center;
    font-size: 20px;
}

.car {
    width: 200px;
    height: 85px;
    position: absolute;
}

.path-svg {
    width: 200px;
    height: 85px;
    position: relative;
}

.elementsDisplay {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 200px;
}

.frais-option {
    padding: 20px;
    display: none;
    width: 200px;
    background-color: whitesmoke;
    border-radius: 10px 0px;
}

.frais-vector-active {
    fill: var(--couleur-principale);
    stroke: black;
    stroke-width: 2;
}

.frais-vector:hover{
    fill: var(--couleur-principale);
    opacity: 0.8;
    stroke: black;
    stroke-width: 2;
}

.frais-vector:active{
    fill: var(--couleur-principale);
    opacity: 1;
    stroke: black;
    stroke-width: 2;
}

.md-rep-h1{
    font-size: 30px !important;
    text-transform: uppercase;
    text-align: center;
    color: var(--couleur-principale);
    margin-top: 40px;
}

.md-rep-h2{
    font-size: 20px;
    font-weight: 600;
    margin: 0 !important;
    padding-bottom: 20px;
    text-align: center;
    padding-top: 30px;
}

.md-rep-h3{
    text-align: center;
    font-size: 16px;
    font-weight: 300 !important;
}

.frais-titre {
    margin: 0 !important;
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--couleur-principale);
}

.checkbox-container{
    display: flex;
}

.checkbox-container label{
    cursor: pointer;
}

.checkbox-fre {
    display: none;
}

.frais-vehicule {
    padding: 5px 10px;
    border: 1px solid #c5c5c5;
    border-radius: 50px;
    margin: 5px;
    user-select: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--couleur-principale);
    width: 300px;
}

.frais-selectionne {
    fill: rgb(255, 0, 0, 0.5);
}

/* Photo de véhicule */
.dropzone {
    max-width: 900px !important;
    border: 1px dashed #d1d1d1 !important;
    margin: auto;
    background-color: whitesmoke !important;
    cursor: pointer;
    color: #bdbdbd;
}

.dropzone .dz-preview.dz-image-preview {
    background: none !important;
}

.dropzone .dz-image img[data-dz-thumbnail] {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Nouveau projet */
.nouveau-projet-formulaire {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.bloc-formulaire-nouveau-projet {
    width: 100%;
}

.section_form_title {
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 400;
    color: var(--couleur-secondaire);
    border-bottom: 2px solid var(--couleur-secondaire);
}

.w-40px {
    width: 40px;
}

h-60px {
    height: 60px;
}

.underline-link {
    background-color: transparent;
    border: none;
    color: var(--couleur-principale);
    font-weight: bold;
    border-bottom: 2px solid var(--couleur-principale);
    border-radius: 0px;
    padding: 0px;
}

#bouton_estimation_submit {
    position: relative;
}

.btn-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.btn-loader {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

span.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Frais à réaliser */
.divContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.bloc1{
    position: relative;
}

.bloc2{
    position: relative;
}

.bloc3{
    position: relative;
}

.bloc4{
    position: relative;
}

.bloc5{
    position: relative;
}

.bloc h1 {
    position: relative;
    font-family: 'Montserrat';
    z-index: 1;
    text-align: center;
    font-size: 20px;
}

.car {
    width: 200px;
    height: 85px;
    position: absolute;
}

.path-svg {
    width: 200px;
    height: 85px;
    position: relative;
}

.frais-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 200px;
    margin-bottom: 20px;
}

.frais-element {
    padding: 20px;
    display: none;
    width: 250px;
    background-color: #f9f9f9;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}

.frais-vectorActive{
    fill: rgba(114, 255, 119,0.5);
    stroke: black;
    stroke-width: 2;
}

.frais-vector:hover{
    fill: var(--couleur-principale);
    opacity: 0.8;
    stroke: black;
    stroke-width: 2;
}

.frais-vector:active{
    fill: var(--couleur-principale);
    opacity: 1;
    stroke: black;
    stroke-width: 2;
}

.checkbox-container{
    display: flex;
}

.checkbox-container label{
    cursor: pointer;
}

.checkbox-fre {
    display: none;
}

.liste-frais {
    display: flex;
    flex-wrap: wrap;
}

.frais {
    width: 300px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.btn.loading .btn-text {
    visibility: hidden;
}

.btn.loading .btn-loader {
    display: block;
}

.bloc-estimation-etape-bas img {
    width: 150px;
}

.bloc-estimation-etape-bas-lien {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
}

.bloc-estimation-etape-bas-lien span {
    padding-top: 5px;
}

.bloc-estimation-etape-bas-lien:hover {
    color: var(--couleur-secondaire);
}

.bloc-estimation-bas {
    display: none;
}

.bloc-estimation-etape-haut {
    position: absolute;
    top: 50px;
}

.bloc-estimation-etape-haut-lien {
    color: white;
    font-size: 14px;

    &:hover {
        color: var(--couleur-secondaire);
    }
}



/* Versions */
.versions-formulaire {
    height: 400px;
    margin-top: 50px;
    overflow-y: auto;
}

.options-formulaire {
    height: 300px;
    overflow-y: auto;
}

.versions-formulaire .bloc-checkbox-versions,
.options-formulaire .bloc-checkbox-options {
    flex-direction: column;
    max-width: 900px;
    margin: auto;
}

.versions-formulaire .checkbox-option,
.versions-formulaire .label-checkbox-select,
.options-formulaire .checkbox-option,
.options-formulaire .label-checkbox-select {
    width: 90%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

input::placeholder,
.select-placeholder {
    color: #d7d7d7 !important;
}


@media screen and (max-width: 1200px) {
    .container-estimation-reprise {
        flex-direction: column;
    }

    .bloc-estimation-etapes {
        position: unset;
        flex-direction: row;
        width: 100%;
        height: auto;
        align-items: baseline;
    }

    .bloc-estimation-boutons {
        position: unset;
    }

    .bloc-estimation-bas {
        position: unset;
        bottom: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        margin-top: 25px;
    }

    .bloc-estimation-etape-bas,
    .bloc-estimation-etape-haut {
        display: none;
    }

    .bloc-estimation-bas-lien {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: var(--couleur-principale);
    }

    .bloc-estimation-bas img {
        width: 150px;
    }

    .bloc-estimation-etape {
        flex-direction: column-reverse;
        align-items: center;
        height: auto;
        padding: 20px 0px;
    }

    .etape-sous-progression {
        display: none;
    }

    .bloc-estimation-etape-icon {
        margin-left: 0px;
        margin-bottom: 20px;
    }

    .etape-progression {
        display: none;
    }

    .bloc-estimation-formulaire {
        width: 100%;
        height: 100%;
        margin-top: 10vh;
        justify-content: flex-start;
    }

    .bloc-estimation-etape-titre {
        text-align: center;
    }

    .versions-formulaire {
        height: 350px;

    }
}

/* Par défaut, tous les blocs sont visibles */
@media screen and (min-width: 769px) {
    .bloc-estimation-etape {
        display: flex;
    }
}

@media screen and (max-width: 800px) {
    .immatriculation-formulaire {
        flex-direction: column;
    }

    .immatriculation-separateur {
        margin: 20px 0px;
    }
}

/* Sur les petits écrans, tous les blocs sont cachés par défaut */
@media screen and (max-width: 768px) {
    
    .bloc-estimation-etape {
        display: none;
    }

    .etape-sous-progression {
        display: none;
    }

    /* Le bloc actif sera affiché via JavaScript */
    .bloc-estimation-etape.etape-affiche {
        display: flex;
    }

    .bloc-estimation-boutons .btn-primary {
        font-size: 15px;
        padding: 10px 30px;
    }

    .bloc-estimation-formulaire {
        margin-top: 5vh;
    }

    .bloc-estimation-boutons  {
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #bouton_estimation_previous {
        margin-right: 0px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .bloc-estimation-boutons, .bloc-estimation-bas {
        position: unset;
    }

    .versions-formulaire .checkbox-option,
    .versions-formulaire .label-checkbox-select,
    .options-formulaire .checkbox-option,
    .options-formulaire .label-checkbox-select {
        width: 100%;
    }

    .bloc-checkbox-versions .label-checkbox-select, .bloc-checkbox-options .label-checkbox-select {
        margin: 5px 0px;
    }

    .form_vehicule_importe {
        flex-direction: column;
    }

    .bloc-import-pays {
        margin-top: 20px;
    }
}

@media screen and (max-width: 1032px) {
    .bloc-estimation-infos {
        flex-direction: column;
    }

    .bloc-estimation-item {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
    #synthese_estimation_reprise .icone {
        display: none;
    }

    #synthese_estimation_reprise .details {
        margin-left: 0px !important;
    }

    #synthese_estimation_reprise .container_synthese {
        flex-direction: column;
        align-items: start !important;
    }

    #synthese_estimation_reprise .synthese_lien_modifier {
        margin-top: 10px;
    }
}