/* Styles pour la barre de recherche et les résultats */
#search-input {
    background-position: 10px 12px;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 14px;
    padding: 16px 20px 16px 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#wrapper-search {
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 10;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
}
#report-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
#report-list li {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}
#report-list li:last-child {
    border-bottom: none;
}
#report-list li:hover {
    background-color: #f5f5f5;
}
#report-list a {
    text-decoration: none;
    color: #0073AA;
    display: block;
}

/* Styles pour la navigation (Fil d'Ariane/Étapes) */
#step-nav {
    margin-bottom: 30px;
}

.progress-step-simulator {
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 0 10%;
    padding-bottom: 60px;
}
.progress-step-simulator:after {
    content: "";
    width: 100%;
    position: absolute;
    height: 4px;
    background: black;
}

body .passed-step a, body .current-step a, body .future-step a {
    text-decoration: none;
    color: inherit;
}

.step-number {
    border: 2px solid black;
    min-width: 75px;
    min-height: 75px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    overflow: hidden;
    font-size: 35px;
    font-weight: bold;
    font-family: 'Encode Sans Expanded', Helvetica, Arial, Lucida, sans-serif;
}

.passed-step { /* Bleu */
    color: #fff;
    cursor: pointer;
}
.passed-step a .step-number {
    color: #fff;
    background-color: #000;
}
.current-step {
    background-color: #000; /* Bleu */
    color: #fff;
    font-weight: bold;
}
.future-step {
    background-color: #ffffff;
    color: #000000;
}
.current-step, .passed-step, .future-step {
    border-radius: 50%;
    overflow: hidden;
    z-index: 6;
}

/* Styles pour l'affichage des résultats (Marques, Modèles, Versions, Moteurs) */
.resultat-wrapper,
.hc-models-list,
.hc-powertype-selector,
.hc-engine-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.hc-model-item,
.hc-years-selector,
.hc-powertype-selector,
.hc-engine-selector {
    display: block;
    font-size: 10px;
    font-family: 'Encode Sans Expanded', sans-serif;
    font-weight: bold;
    color: black;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    transition-timing-function: ease;
    transition-duration: .2s;
}
body .hc-models-list .hc-model-item a,
body .hc-years-selector a,
body .hc-powertype-selector a,
body .hc-engine-selector a {
    display: block;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease all;
    padding: 15px 35px;
    text-align: center;
}
.hc-models-list .hc-model-item a:hover,
.hc-powertype-selector a:hover,
.hc-years-selector a:hover,
.hc-engine-selector a:hover  {
    color: #EA1D40;
    transition: 0.3s ease all;
}

.hc-years-selector .from-text {
    font-size: 10px;
    font-weight: 300;
}

h2.hc-simulator-title {
    text-align: center;
    text-transform: uppercase;
}

.manufacturer, .resultat-box {
    font-size: 10px;
    text-transform: none;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
}

.manufacturer {
    font-weight: 600;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    padding: 20px;
    align-self: anchor-center;
}

body .manufacturer a, body .resultat-box a {
    text-decoration: none;
    color: #333;
    display: block;
    height: 100%;
    transition: 0.3s ease all;
}
.manufacturer-logo {
    max-width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.manufacturer a:hover {
    color: #ea1d40;
    transition: 0.3s ease all;
}

.resultat-box span {
    font-weight: 500;
    font-size: 1.1em;
    display: block;
    margin-top: 10px;
}

/* Styles pour la page Résultat (Summary) */
.resultat-recap-wrapper {
    background-color: #ffffff;
    box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.35);
}

/* Onglets */
.onglets {
    display: flex;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Pour les petits écrans */
    font-size: 18px;
}
.onglet {
    padding: 25px 5px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: color 0.3s;
    margin-bottom: -2px;
    width: 25%;
    border: 3px solid rgba(236,241,243,1);
    text-align: center;
}
.onglet.active {
    color: white;
    background: black;
}

/* Contenu des Stages */
.resultat-recap-wrapper .hc-vehicle-title {
    font-size: 25px;
    font-weight: bold;
    color: #ea1d40;
    font-family: 'Encode Sans Expanded', sans-serif;
    text-align: center;
}

.stage {
    padding: 20px 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.hc-price-block {
    width: 50%;
    text-align: center;
}

.stage.hidden {
    display: none;
}
.hc-vehicle-title {
    font-size: 25px;
    font-weight: bold;
    color: #ea1d40;
    font-family: 'Encode Sans Expanded', sans-serif;
    text-align: center;
    margin-bottom: 45px;
}
.price {
    font-size: 50px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

p.price.hc-contact-us {
    font-family: 'Encode Sans Expanded', sans-serif;
    margin-bottom: 45px;
    font-size: 25px;
    color: #000;
}

p.hc-payment-text {
    line-height: 1.2em;
}

span.estimated-cost {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 600;
}

span.small-price-text {
    font-size: 13px;
    font-weight: 500;
}

span.hc-payment-facilities {
    font-size: 13px;
    margin-bottom: 20px;
    display: block;
}

.resultat-recap-wrapper .stage .price-button {
    font-family: 'Encode Sans Expanded', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    background: #ea1d40;
    color: white;
    padding: 18px 30px;
    border-radius: 5px;
    box-shadow: 0px 0px 25px 0px rgba(10, 0, 0, 0.59);
    text-decoration: none;
}
.price-button:hover {
    background-color: #005A8C;
    color: #fff;
}

/* Tableau des résultats */
.resultat-table {
    width: 50%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 1em;
}

.resultat-table thead td {
    font-weight: 600;
}

.resultat-recap-wrapper .stage .resultat-table tr td {
    border: none;
    border-top: 1px solid #eee;
    padding: 40px 10px;
    font-family: 'Encode Sans Expanded', sans-serif;
    font-size: 18px;
    text-align: center;
    background: #ffffff;
}

.resultat-recap-wrapper .stage .resultat-table thead td {
    border-top: none;
}

.table-horsepower-gain, .table-torque-gain {
    color: #4CAF50;
    font-weight: bold;
}
.table-label-total, .table-horsepower-total, .table-torque-total {
    font-weight: bold;
    text-transform: uppercase;
}

@media screen and (max-width: 425px) {
    .step-number {
        min-width: 40px;
        min-height: 40px;
        font-size: 25px;
    }
    .resultat-wrapper, .hc-models-list, .hc-powertype-selector, .hc-engine-selector {
        gap: 10px;
    }
    .manufacturer {
        padding: 15px;
    }
    .stage {
        flex-direction: column;
    }
    .hc-price-block, .resultat-table { width: 100%; }
    .resultat-recap-wrapper .stage .resultat-table tr td { font-size: 16px; }
}