/* ===================================================== */
/* Section : Container principal du simulateur Aside    */
/* ===================================================== */
#simulateur-solaire-aside {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    background: linear-gradient(90deg, #EE7024, #FCC443);
    overflow: visible;
    position: relative; 
    z-index: 0;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(55, 45, 22, 0.1) 0px 2px 2px 2px;
    font-family: 'Ubuntu', Arial, sans-serif; 
    padding-inline: 0px;
    padding-bottom: 0px;
    overflow: hidden;
}

#simulateur-solaire-aside-titre {
    padding-inline: 20px;
    font-size: 24px;
    color: white;
    line-height: 1.1;
    margin-top: 12px;
}

#simulateur-solaire-aside h2 {
    color: white;
    margin-top: 8px;
    margin-bottom: 12px;
    padding-inline: 20px;
    font-size: 20px;
}

/* ===================================================== */
/* Section : Boutons de durée                           */
/* ===================================================== */
#duree-buttons-aside {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.duree-btn-aside {
    flex: 1;
    padding: 10px;
    margin: 0 5px;
    background-color: #fff !important;
    border: 1px solid #EE7024 !important;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #EE7024 !important;
}

.duree-btn-aside.active-aside {
    background-color: #EE7024 !important;
    color: white !important;
}

.duree-btn-aside:hover {
    background-color: #e0e0e0;
}

/* ===================================================== */
/* Section : Étapes du formulaire                       */
/* ===================================================== */
.form-step-aside {
    display: none;
    border-radius: 8px;
    background-color: white;
    padding: 15px;
}

.form-step-aside.active-aside {
    display: block;
    border-radius: 0;
}

.form-step-aside label {
    font-size: 18px;
    font-family: "Ubuntu Woff"; 
    margin-bottom: 16px;
}

.form-step-aside input,
#devis-form-aside input {
    border-radius: 100px;
}

/* ===================================================== */
/* Section : Carte Google Maps                          */
/* ===================================================== */
#map-aside {
    width: 100%;
    height: 200px !important;
    margin-top: 8px; 
    border-radius: 10px 10px 0px 0px;
}

.placer-repere-aside {
    width: 100%;
    border-radius: 0px 0px 10px 10px;
    background-color: #F7931E;
    color: white;
    font-family: 'Ubuntu Woff';
    text-align: center;
    padding: 4px;
    margin-bottom: 0px;
    line-height: 1;
}

/* ===================================================== */
/* Section : Boutons de navigation                      */
/* ===================================================== */
#simulateur-solaire-aside button, 
#simulateur-solaire-aside a {
    display: inline-block;
    width: 20%;
    margin-top: 16px;
    font-size: 18px;
    font-family: 'Ubuntu Woff';
    color: #fff;
    background-color: #005BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #005BFF;
    text-shadow: none;
    align-self: center;
    min-width: 130px;
    margin-inline: 10px;
}

#simulateur-solaire-aside a {
    text-align: center;
    padding: 8px;
    font-size: 18px !important;
}

#simulateur-solaire-aside button:hover,
#simulateur-solaire-aside a:hover {
    background-color: white;
    color: #005BFF;
    border: 2px solid #005BFF;
}

#simulateur-solaire-aside button:active,
#simulateur-solaire-aside a:active {
    background-color: white;
    color: #EE7024;
    border: 2px solid #EE7024;
}

#simulateur-solaire-aside .steps-buttons-aside {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    gap: 0px;
}

#simulateur-solaire-aside .prev-step-aside {
    padding-inline: 16px;
}

/* ===================================================== */
/* Section : Conteneur pour les cartes de choix          */
/* ===================================================== */
.card-container-aside {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; /* Permet d'aller à la ligne */
    justify-content: space-around;
}

.equipements-container-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.card-equip-aside {
    font-weight: 500 !important;
}

.card-equip-aside:hover {
    font-weight: 500 !important;
}

/* ===================================================== */
/* Style des cartes                                     */
/* ===================================================== */
.card-aside {
    flex: 1 1 30%;
    min-width: 100px;
    margin: 5px;
    text-align: center;
    font-family: 'Ubuntu Woff', sans-serif;
    background-color: #fff;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-weight: bold;
    display: flex;
    border-radius: 10px;
    max-width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

@media (max-width: 600px) {
    .card-aside {
        flex: 1 1 30%;
    }
}

.card-aside.selected-aside {
    background-color: #FDF0E9;
}

.card-aside:hover {
    transform: scale(1.05);
}

.card-icon-aside {
    font-size: 40px;
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.card-icon-aside img {
    max-height: 240px;
}

.card-text-aside {
    font-size: 14px;
    color: black;
    width: 70%;
    text-align: start;
    line-height: 1.1;
}

/* ===================================================== */
/* Section : Résultats détaillés                        */
/* ===================================================== */
#resultats-detailles-aside {
    background: #fff;
    border-radius: 0px;
    margin-top: 10px;
}

#resultats-step-aside {
    padding: 0px !important;
}

#resultats-detailles-aside h5 {
    font-family: 'Ubuntu Woff';
    font-weight: 500;
    font-size: 20px;
}

.container-annees-aside {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding-inline: 20px;
}

.container-resultats-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.container-resultats-aside h2 {
    color: #FF8B4C;
    font-weight: bold;
}

.factures-container-aside h2 {
    color: #000 !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    margin-top: 16px;
}

.avant-apres-container-aside {
    justify-content: space-around;
    display: flex;
    width: 100%;
}

.avant-apres-aside {
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: space-between;
    align-items: center;
}

.avant-apres-aside h3 {
    text-align: center;
    padding-bottom: 10px;
    font-size: 18px !important;
}

#avant-aside {
    color: white;
    background-color: #E3051C;
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 16px;
}

#apres-aside {
    color: white;
    background-color: #47B845;
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 16px;
}

#cout-avant-aside,
#cout-apres-aside,
#economies-realisees-aside {
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Ubuntu Woff';
}

#cout-avant-aside {
    color: #E3051C;
}

#cout-apres-aside {
    color: #47B845;
}

#economies-aside {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100% !important;
    background: linear-gradient(90deg, #EE7024, #FCC443);
    padding-block: 8px;
}

#economies-aside h3 {
    color: white !important;
    padding: 0 !important;
}

/* ===================================================== */
/* Section : Précisions et erreurs                      */
/* ===================================================== */
.container-precisions-aside {
    padding-top: 8px;
    display: flex;
    justify-content: center;
    font-weight: 300;
    font-family: 'Ubuntu Woff';
    font-size: 1.1rem;
}

.precisions-elec-aside {
    margin-bottom: 16px !important;
    padding-inline: 20px;
    text-align: center;
    line-height: 1;
    font-size: 13px;
    font-weight: bold;
}

.error-aside {
    border: 1px solid red !important;
}

input:required:invalid {
    border: 1px solid black;
}

input:required:valid {
    border: 1px solid #F7931E;
}

/* ===================================================== */
/* Section : Bouton Valider l'emplacement               */
/* ===================================================== */
#validate-location-aside {
    background: #47B845 !important;
    border: 2px solid #47B845 !important;
    width: 25% !important;
    min-width: 260px !important;
}

#validate-location-aside:hover {
    background: white !important;
    color: #47B845 !important;
    border: 2px solid #47B845 !important;
}

/* ===================================================== */
/* Section : Loader                                     */
/* ===================================================== */
#loader-aside {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

#loader-aside .spinner-aside {
    margin: 0 auto;
    width: 50px;
    height: 50px;
    border: 6px solid #FDF0E9;
    border-top-color: #F7931E;
    border-radius: 50%;
    animation: spin-aside 1s linear infinite;
}

#loader-aside p {
    margin-top: 10px;
    font-size: 18px;
    color: black;
    font-family: 'Ubuntu Woff';
}

@keyframes spin-aside {
    to { transform: rotate(360deg); }
}

/* ===================================================== */
/* Section : Informations complémentaires               */
/* ===================================================== */
#additional-info-aside {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#additional-info-aside h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

#additional-info-aside p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Bouton pour prendre rendez-vous */
#appointment-button-aside {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#appointment-button-aside:hover {
    background-color: #005f8d;
}

.devis-aside {
    width: 400px !important;
    font-size: 1.3rem !important;
    margin-bottom: 16px;
    margin-inline: 8px;
}

/* ===================================================== */
/* Section : Graphique des économies                   */
/* ===================================================== */
#savingsChart-aside {
    width: 100%;
    max-width: 800px; 
    max-height: 400px; 
    margin: 10px auto 20px auto;
    background: white;
    border-radius: 15px;
}

/* ===================================================== */
/* Section : Slider Range                               */
/* ===================================================== */
/* 1) Wrapper : hauteur = thumb-size */
.range-aside {
  position: relative;
  width: 100%;
  height: 10px;                
  background: #e5e5e5;
  border-radius: 100px;
}

/* 2) input plein conteneur */
.range-aside input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;               
  background: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* 3) Track réduit à 2px, centré verticalement */
.range-aside input::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
  border: none;
  margin-top: 9px;            
}
.range-aside input::-moz-range-track {
  height: 2px;
  background: transparent;
  border: none;
  margin-top: 9px;
}
.range-aside input::-ms-track {
  height: 2px;
  background: transparent;
  border-color: transparent;
  color: transparent;
  margin-top: 9px;
}

/* 4) Thumb orange, centré par défaut */
.range-aside input::-webkit-slider-thumb {
  -webkit-appearance: none !important;
          appearance: none !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ff8c00 !important;
  border: none;
  cursor: pointer;
  margin-top: -20px !important;               
  position: relative;
  z-index: 1;
}
.range-aside input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ff8c00 !important;
  border: none;
  cursor: pointer;
  margin-top: 0;
}
.range-aside input::-ms-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ff8c00 !important;
  border: none;
  cursor: pointer;
  margin-top: 0;
}

.cache-aside {
    background-color: white;
    height: 12px;
    width: 100.5%;
    position: absolute;
    top: 10px;
}

#duree-preview-aside {
    margin-bottom: 8px;
    font-family: 'Ubuntu Woff';
    color: #F7931E;
    font-size: 1.2em;
}

#devis-form-aside {
    border-radius: 15px;
    background: linear-gradient(90deg, #EE7024, #FCC443);
    padding-inline: 20px;
    padding-bottom: 1px;
}

#devis-form-aside button {
    width: 100%;
    border: solid #005BFF 2px;
    border-radius: 100px;
    background-color: #005BFF;
}

#wpforms-17632-field_5-container {
    padding-top: 0px !important;
}

#wpforms-17632-field_5-container label {
    color: white !important;
}

#devis-form-aside .wpforms-field {
    padding-top: 8px;
    padding-bottom: 0px;
}

#devis-form-aside .wpforms-field-label, selector .wpforms-field-label-inline{
    color: white;
}

#devis-form-aside .wpforms-field-label .wpforms-required-label {
    color: white;
}

@media (max-width: 767px) { 
    #devis-form-aside .wpforms-field {
        padding-top: 8px;
        padding-bottom: 0px;
    }
    
    #devis-form-aside .wpforms-field-radio {
        padding-top: 0px;
        padding-bottom: 8px;
    }
}

#devis-form-aside input::placeholder, 
#devis-form-aside textarea::placeholder {
    color: black !important;
    opacity: 1 !important;
}

#devis-form-aside .wpforms-field-layout {
    padding: 0;
}

#devis-form-aside button:hover {
    color: #005BFF;
    background: white;
}

#devis-form-aside #wpforms-field-limit-text-17632-18 {
    display: none;
}

#devis-form-aside fieldset {
    display: flex;
}

#devis-form-aside select {
    border-radius: 100px !important;
}

#devis-form-aside textarea {
    border-radius: 10px !important;
}

.res {
    margin-top: 0px !important;
}

.res .container-annees-titre-aside{
    font-size: 16px !important;
    flex-direction: row !important;
    align-items: center;
}

.res .container-annees-titre-aside h5 {
    font-size: 16px !important;
    margin-right: 8px;
    margin-bottom: 8px;
}

.res .container-annees-aside {
    margin-bottom:12px;
}

.container-annees-titre-aside {
    display: flex;
    flex-direction: column;
}

#comparaison-titre {
    margin-block: 12px !important;
}