 /* ============================================
   RESET E BASE
   ============================================ */

#simulador input[type=number]::-webkit-inner-spin-button, #simulador input[type=number]::-webkit-outer-spin-button{
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

#simulador h4{
    margin-top: 0px;
}

#simulador /* Firefox */
input[type=number]{
    -moz-appearance: textfield;
    appearance: textfield;
}

 /* ============================================
   INPUT WRAPPER (COMUM)
   ============================================ */
   #simulador .input-wrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    border-radius: 25px;
    border: 1px solid lightgrey;
    overflow: hidden;
}

#simulador .input-wrapper input{
    height: 50px;
    border-radius: 25px 0px 0px 25px;
    padding: 0px 25px;
    text-align: right;
    border: 0px;
    flex: 1 1 auto;
    width: 1%;
}

#simulador .input-simbolo{
    background-color: white !important;
    color: #f4863b !important;
    text-align: center;
    line-height: 50px;
    border-radius: 0px 25px 25px 0px;
    font-size: 16px;
    padding: 0px 25px 0px 0px;
    font-weight: 600;
    cursor: text;
}

#simulador .input-wrapper input, #simulador .input-wrapper select{
    flex: 1 1 auto;
    border: 0px;
    padding: 0px 12.5px;
    height: 50px;
    outline: none;
    box-shadow: none;
    border-color: transparent;
    line-height: 50px;
}

#simulador .input-wrapper input::placeholder{
    color: black;
    opacity: 0.4;
}

#simulador .input-wrapper select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border-radius: 0px;
    font-size: 14px;
    background-repeat: no-repeat;
    background-position: left 25px center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path d='M2 4 L6 8 L10 4' stroke='%23f4863b' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
    padding: 0px 25px;
    direction: rtl;
    cursor: pointer;
}

#simulador .input-wrapper.open{
    border-radius: 25px 25px 0px 0px;
}

#simulador .input-wrapper select option{
    height: 25px;
    padding: 0px 25px;
}

 /* ============================================
   INPUT BLOCK (COMUM)
   ============================================ */
   #simulador .input-block{
    width: calc(33.33% - 12.5px);
    margin: 6.25px 6.25px 12.5px 6.25px;
}

#simulador .inputs-wrapper{
    display: flex;
    flex-wrap: wrap;
}

#simulador label{
    display: block;
    margin: 0px 0px 6.25px 12.5px;
}

@media (max-width: 980px){
    #simulador .input-block{
        width: calc(100% - 12.5px);
    }
}

 /* ============================================
   UTILITÁRIOS DE TEXTO
   ============================================ */
   #simulador .text-right{
    text-align: right;
}

#simulador .text-center{
    text-align: center;
}

#simulador .text-left{
    text-align: left;
}

 /* ============================================
   UTILITÁRIOS DE COR
   ============================================ */
   #simulador .color-red{
    color: #dc2626;
}

#simulador .color-green{
    color: #16a34a;
}

#simulador .color-blue{
    color: #1d4ed8;
}
    
/* ============================================
   TABELAS E STICKY COLUMNS
   ============================================ */
   #simulador .fixed-col{
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: white;
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    padding: 0px 15px !important;
}

#simulador .fixed-col-mes{
    position: sticky;
    left: 65px;
    z-index: 10;
    background-color: white;
    border-right: 1px solid lightgrey;
    text-align: left;
}

#simulador .wrapper-table{
    overflow-x: auto;
    border-radius: 25px;
    border: 1px solid lightgrey;
}

#simulador table{
    width: max-content;
    background-color: white;
    border-radius: 25px;
    min-width: 100%;
    border: 0px;
    border-collapse: collapse;
}

#simulador table tr:hover td{
    background-color: #f2f2f2;
}

#simulador table th, #simulador table td{
    height: 50px;
    line-height: 50px;
    padding: 0px 12.5px;
    border-bottom: 1px solid lightgrey;
    white-space: nowrap;
}

#simulador table tr:last-child td{
    border-bottom: 0px;
}

#simulador table tfoot tr td{
    border-top: 1px solid lightgrey;
}

 /* ============================================
   BOTÕES
   ============================================ */
   #simulador .button-default{
    background-color: #f4863b;
    color: white;
    height: 50px;
    border-radius: 999px;
    padding: 0px 25px;
    line-height: 50px;
    border: 0px;
    cursor: pointer;
}

#simulador .removeCenarioButton{
    background-color: #ef4444;
    color: white;
    height: 20px;
    border-radius: 5px;
    padding: 0px 10px;
    line-height: 20px;
    border: 0px;
    cursor: pointer;
    margin-left: 15px;
}




#simulador .calculadora-form-subtitulo{
    color: #004b75;
    font-weight: 600;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 12.5px;
    font-size: 28px;
    font-family: "Hurme Geometric Sans 4", Arial, Helvetica, sans-serif;
}
















#simulador{
    width: 100%;
    margin: auto;
    padding: 0px !important;
}




#simulador .calculadora-form-titulo{
    color: #f4863b;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

#simulador button.button{
    display: block !important;
    margin: auto !important;
}

#simulador #simuladorForm{
    width: 100%;
    margin: 0px;
}

#simulador label{
    display: block;
    margin: 0px 0px 6.25px 12.5px;
}

#simulador .input-block{
    width: calc(33.33% - 12.5px);
    margin: 6.25px 6.25px 12.5px 6.25px;
}


@media (max-width: 980px){
    #simulador{
        width: 100%;
    }

    #simulador .input-block{
        width: calc(100% - 12.5px);
    }
}

#simulador #resultados{
    clear: both;
    padding-top: 25px;
}

#simulador table{
    width: max-content;
    background-color: white;
    border-radius: 25px;
    min-width: 100%;
    border: 0px;
    border-collapse: collapse;
}

#simulador table tr:hover td{
    background-color: #f2f2f2;
}

#simulador table th, #simulador table td{
    height: 50px;
    line-height: 50px;
    padding: 0px 12.5px;
    border-bottom: 1px solid lightgrey;
    white-space: nowrap;
}


#simulador table tr:last-child td{
    border-bottom: 0px;
}

#simulador .color-orange{
    color: #f4863b;
    font-weight: 600;
}

#simulador .background-orange{
    background-color: #f4853bc2;
}

#simulador .input-wrapper input, #simulador .input-wrapper select{
    flex: 1 1 auto;
    border: 0px;
    padding: 0px 12.5px;
    height: 50px;
    outline: none;
    box-shadow: none;
    border-color: transparent;
    line-height: 50px;
}


#simulador .input-wrapper select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border-radius: 0px;
    font-size: 14px;
    background-repeat: no-repeat;
    background-position: left 25px center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path d='M2 4 L6 8 L10 4' stroke='%23f4863b' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
    padding: 0px 25px;
    direction: rtl;
    /* faz o texto alinhar à direita */
    cursor: pointer;

}

#simulador .input-wrapper.open{
    border-radius: 25px 25px 0px 0px;
}

#simulador .input-wrapper select option{
    height: 25px;
    padding: 0px 25px;
}

#simulador .inputWrapperRadio{
    background-color: transparent;
    border: 0px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12.5px;
}

#simulador .inputWrapperRadio .radioOption{
    border-radius: 25px;
    border: 1px solid lightgrey;
    background-color: white;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0px 25px;
    margin: 0px;
    cursor: pointer;
}

#simulador .inputWrapperRadio .radioOption input{
    height: 20px;
    width: 20px;
    flex: none;
    margin-left: 12.5px;
    accent-color: black;
    cursor: pointer;
}





#simulador h2{
    margin-top: 0px;
}

#simulador .section{
    display: none;
}

#simulador .section, #simulador .sectionForm{
    background: #fdeae2;
    padding: 25px;
    border-radius: 25px;
    margin-bottom: 25px;
}

#simulador label{
    display: block;
    margin: 0px 0px 6.25px 12.5px;
}

#simulador .input-block{
    width: calc(33.33% - 12.5px);
    margin: 6.25px 6.25px 12.5px 6.25px;
}

@media (max-width: 980px){
    #simulador{
        width: 100%;
    }

    #simulador .input-block{
        width: calc(100% - 12.5px);
    }
}

#simulador table{
    width: max-content;
    background-color: white;
    border-radius: 25px;
    min-width: 100%;
    border: 0px;
    border-collapse: collapse;
}

#simulador table tr:hover td{
    background-color: #f2f2f2;
}

#simulador table th, #simulador table td{
    height: 50px;
    line-height: 50px;
    padding: 0px 12.5px;
    border-bottom: 1px solid lightgrey;
    white-space: nowrap;
}

#simulador table tr:last-child td{
    border-bottom: 0px;
}

#simulador table tfoot tr td{
    border-top: 1px solid lightgrey;
}

#simulador .input-wrapper input, #simulador .input-wrapper select{
    flex: 1 1 auto;
    border: 0px;
    padding: 0px 12.5px;
    height: 50px;
    outline: none;
    box-shadow: none;
    border-color: transparent;
    line-height: 50px;
}

#simulador .input-wrapper input::placeholder{
    color: black;
    opacity: 0.4;
}

#simulador .input-wrapper select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border-radius: 0px;
    font-size: 14px;
    background-repeat: no-repeat;
    background-position: left 25px center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path d='M2 4 L6 8 L10 4' stroke='%23f4863b' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
    padding: 0px 25px;
    direction: rtl;
    cursor: pointer;
}

#simulador .input-wrapper.open{
    border-radius: 25px 25px 0px 0px;
}

#simulador .input-wrapper select option{
    height: 25px;
    padding: 0px 25px;
}

#simulador .calculadora-form-subtitulo{
    color: #004b75;
    font-weight: 600;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 12.5px;
    font-size: 28px;
    font-family: "Hurme Geometric Sans 4", Arial, Helvetica, sans-serif;
}

#simulador .inputWrapperRadio{
    background-color: transparent;
    border: 0px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12.5px;
}

#simulador .inputWrapperRadio .radioOption{
    border-radius: 25px;
    border: 1px solid lightgrey;
    background-color: white;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0px 25px;
    margin: 0px;
    cursor: pointer;
}

#simulador .inputWrapperRadio .radioOption input{
    flex: none;
    margin-left: 12.5px;
}

#simulador /* wrapper para scroll */
.tbody-wrapper{
    max-height: 250px;
    overflow-y: hidden;
    transition: max-height 1s ease;
    position: relative;
}

#simulador /* expandido */
.tbody-wrapper.expanded{
    max-height: 99999px;
}

#simulador /* tbody normal */
.tbody-wrapper table tbody{
    display: table-row-group;
}

#simulador .tbody-wrapper table tfoot{
    position: sticky;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: white;
    z-index: 25;
}

#simulador .tbody-wrapper table tfoot tr{
    -webkit-box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%);
    box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%);
    background-color: white;
}

#simulador .botaoExpandirTabela, #simulador .botaoExpandirTabela:hover{
    background-color: #f4863b !important;
    color: white !important;
    cursor: pointer;
}

#simulador .rowButton{
    margin-top: 25px;
    padding: 25px 0px 0px 0px;
    border-top: 1px solid lightgray;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#simulador .rowComprador{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid lightgray;
}

#simulador .rowButton .input-block{
    margin: 0px 6.25px !important;
}

#simulador .rowButton #botaoSimulador{
    width: 100%;
}

#simulador .taxaRefGroup{
    display: none !important;
}
