:root {
    --font-bold: "VolvoNovum-Medium", sans-serif;
    --font-ligh: 'VolvoNovum-Light', Helvetica Neue, -apple-system, "system-ui", BlinkMacSystemFont, sans-serif;
    --font-black: "bmwtypenext_light", Helvetica Neue, -apple-system, "system-ui", BlinkMacSystemFont, serif;
    --font-regular: 'VolvoNovum-Regular', Helvetica Neue, -apple-system, "system-ui", BlinkMacSystemFont, sans-serif;
    --font-semibold: "bmwtypenext_light", Helvetica Neue, -apple-system, "system-ui", BlinkMacSystemFont, serif;
    --color-primary:#2A609D;
    --color-secondary:#CED9E5;
}
#calculadora_costos .cont-btn{
    display: flex;
    justify-content: center;
    align-items: center;
}
#calculadora_costos .cont-btn a{
    background: var(--color-primary);
    text-transform: none;
}
#calculadora_costos {
    width: 1448px;
    max-width: 90%;
    margin: 55px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    overflow: hidden;
}

#calculadora_costos .text-info {
    text-align: center;
    font-weight: 400;
    font-family: var(--font-regular);
    font-size: 12px;
    line-height: 16px;
    color: #414141;
}

#calculadora_costos .contenido {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /*gap: 40px;*/
}

#calculadora_costos .section-header {
    margin-bottom: 30px;
}

#calculadora_costos .section-header h1 {
    font-size:32px;
    line-height: 42px;
    color: #000000;
    font-family: var(--font-bold);
    margin-bottom: 24px;
}

#calculadora_costos .section-header p {
    color: #414141;
    font-weight: 400;
    font-family: Lato;
    font-size: 1rem;
    line-height: 22px;
    font-family: var(--font-regular);
}

#calculadora_costos .section-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Paso 1 */

#calculadora_costos .step {
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
}

#calculadora_costos .section-step .step .step-number {
    width: 48px;
    height: 48px;
    background: #2A609D;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    flex-shrink: 0;
     font-family: var(--font-regular);
}

#calculadora_costos .section-step .step .step-content {
    flex: 1;
}

#calculadora_costos .section-step .step .step-content .step-title {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 32px;
    margin-top: 0;
    text-align: center;
    color: #000000;
     font-family: var(--font-bold);
    text-align: start;
}

#calculadora_costos .section-step .step .step-content .model-selector {
    position: relative;
    margin-bottom: 20px;
    margin-top: 68px;
}

#calculadora_costos .section-step .step .step-content .model-selector .model-dropdown {
    width: 100%;
    padding: 12px;
    border: 1px solid #b8b8b8;
    /*border-radius: 3px;*/
    /*background: #F1F1F1;*/
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    font-family: var(--font-regular);
    color: #414141;
    appearance: none;
    background-image:none;
}

#calculadora_costos .section-step .step .step-content .model-selector .ic-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3%;
    pointer-events: none;
    margin: 0;
}

#calculadora_costos .section-step .step .step-content .model-car {
    position: relative;
    max-width:350px;
}

#calculadora_costos .section-step .step .step-content .model-car .car-image {
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#calculadora_costos .section-step .step .step-content .model-car .info-icon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 28px !important;
    height: 28px !important;
    font-size: 17px !important;
}

/* Paso 2 */

#calculadora_costos .section-step .step .step-content .input-group {
    margin-bottom: 40px;
}

#calculadora_costos .section-step .step .step-content .input-group .input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: var(--font-bold);
}

#calculadora_costos .section-step .step .step-content .input-group p {
    font-family: var(--font-semibold);
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    color: #414141;
    text-align: end;
    margin-top: 8px;
}

#calculadora_costos .section-step .step .step-content .model-car .info-icon,
#calculadora_costos .section-step .step .step-content .input-group .input-label .info-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #2A609D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #2A609D;
    cursor: pointer;
    font-family: monospace;
    font-weight: 700;
}

#calculadora_costos .section-step .step .step-content .input-group .input-label .info-icon,
#calculadora_costos .right-section .cost-comparison .tab .cost-type .info-icon {
    position: relative;
}

#calculadora_costos .section-step .step .step-content .model-car .info-icon .tooltip,
#calculadora_costos .section-step .step .step-content .input-group .input-label .info-icon .tooltip,
#calculadora_costos .right-section .cost-comparison .tab .cost-type .info-icon .tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #414141;
    padding: 6px 10px;
    border-radius: 6px; 
    font-family: var(--font-semibold);
    font-size: 12px;
    /* white-space: nowrap; */
    width: 236px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    line-height: 20px;
    font-weight: 600;
}

#calculadora_costos .right-section .cost-comparison .tab .cost-type .info-icon .tooltip.extra {
    left: -490%;
}

#calculadora_costos .section-step .step .step-content .model-car .info-icon:hover .tooltip,
#calculadora_costos .section-step .step .step-content .input-group .input-label .info-icon:hover .tooltip,
#calculadora_costos .right-section .cost-comparison .tab .cost-type .info-icon:hover .tooltip {
  opacity: 1;
}

#calculadora_costos .section-step .step .step-content .input-group .input-with-unit {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    border: 1px solid #b8b8b8;
    /*background: #F1F1F1;*/
    padding: 12px 16px;
    /*border-radius: 3px;*/
}

#calculadora_costos .section-step .step .step-content .input-group .input-with-unit .input-field {
    width: 100%;
    padding: 0;
    border: none;
    font-size: 18px;
    /*background: #F1F1F1;*/
    text-align: end;
    color: #414141;
    font-weight: 700;
    min-height:0!important;
}
#calculadora_costos .section-step .step .step-content .input-group .input-with-unit .input-field:focus{
 border:none!important;   
}

#calculadora_costos .section-step .step .step-content .input-group .input-with-unit .unit {
    font-size: 16px;
    /*position: absolute;*/
    color: #565656;
    font-weight: 400;
    right: 12px;
    line-height: 22px;
    font-family: var(--font-regular);
}

/* right-section */

#calculadora_costos .right-section {
    background: #F5F5F5;
    padding: 0 24px;
    margin-left: 74px;
    /*border: solid 1px #b1b1b1;*/
    /*border-radius: 3px;*/
}

#calculadora_costos .right-section .savings-header {
    text-align: center;
    margin: 74px 0 32px;
    padding: 8px
}

#calculadora_costos .right-section .savings-header .savings-title {
    font-size: 20px;
    font-family: var(--font-regular);
    line-height: 30px;
    margin-bottom: 8px;
}

#calculadora_costos .right-section .savings-header .savings-amount {
    font-family: var(--font-bold);
    font-size: 48px;
    line-height: 58px;
    color: var(--color-primary);
}

#calculadora_costos .right-section .cost-comparison {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-direction: column;
}

#calculadora_costos .right-section .cost-comparison .tabs {
    display: flex;
    margin-bottom: 12px;
    padding: 10px 0;
    position: relative;
}

#calculadora_costos .right-section .cost-comparison .tab {
   text-align: center;
    width: 100%;
    border-bottom: 2px solid #444;
    padding: 8px;
    
}

#calculadora_costos .right-section .cost-comparison .tab.active {
    border-bottom: 6px solid var(--color-primary);
}

#calculadora_costos .right-section .cost-comparison .tab .cost-type {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#calculadora_costos .right-section .cost-comparison .tab .cost-type p {
    font-family: var(--font-bold);
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

#calculadora_costos .right-section .cost-comparison .tab.active .cost-type p {
    color:  var(--color-primary);
}

#calculadora_costos .right-section .cost-comparison .tab .cost-type .info-icon {
    width: 20px;
    height: 20px;
    border: 1px solid #414141;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #414141;
}

#calculadora_costos .right-section .cost-comparison .tab.active .cost-type .info-icon {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

#calculadora_costos .right-section .cost-comparison .tab .bar {
    border-bottom: 2px solid #414141;
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 12px;
}

#calculadora_costos .right-section .cost-comparison .tab.active .bar {
    border-bottom: 2px solid var(--color-primary);
}

#calculadora_costos .right-section .cost-comparison .tab .cost-label {
    font-size: 10px;
    color: #999;
    margin-bottom: 4px;
}

#calculadora_costos .right-section .cost-comparison .tab .cost-value {
    font-size: 14px;
    font-weight: bold;
}

#calculadora_costos .right-section .estadistica {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 16px;
    justify-items: center;
    transition: all 0.3s ease;
}

#calculadora_costos .right-section .estadistica .promedio,
#calculadora_costos .right-section .estadistica .costo{
    max-width: 178px;
    width: 100%;
    max-height: 220px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items:center;
}

#calculadora_costos .right-section .estadistica .promedio p,
#calculadora_costos .right-section .estadistica .costo p{
    font-weight: 400;
    font-size: 14px;
    font-family: var(--font-regular);
    line-height: 18px;
    color: #414141;
    margin: 0;
    margin-bottom: 4px;
    max-width:115px;
}

#calculadora_costos .right-section .estadistica .cost-value {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    font-family: var(--font-regular);
    color: #000000;
    margin-bottom: 21px;
}

#calculadora_costos .right-section .estadistica span {
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-bold);
    line-height: 26px;
    color: #000000;
}

#calculadora_costos .right-section .estadistica .rect {
  width: 100%;
  /*border-radius: 10px 10px 0 0;*/
  margin-top: auto;
  transition: height 0.5s ease;
}

#barraElectrica {
  background-color: var(--color-primary);
  height: 0;
}

#barraCombustible {
  background-color: var(--color-secondary);
  height: 0;
}

#calculadora_costos .right-section .electric-cost {
    background: linear-gradient(135deg, #e8b7f5, #c084d1);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

#calculadora_costos .right-section .cost-breakdown {
    /*background: white;*/
    /*padding: 15px;*/
    /*border-radius: 8px;*/
}

#calculadora_costos .right-section .cost-breakdown .cost-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    /*border-bottom: 1px solid #eee;*/
}

#calculadora_costos .right-section .cost-breakdown .cost-row .cost-name {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    font-family: var(--font-regular);
    color: #414141;
}

#calculadora_costos .right-section .cost-breakdown .cost-row .cost-amount {
    font-size: 16px;
    font-family: var(--font-bold);
    line-height: 22px;
    color: #414141;
}

#calculadora_costos .right-section .line {
    margin-top: 32px;
    /*border: 1px solid #CCCCCC;*/
}

/* Media */

@media (max-width: 1200px) {
    #calculadora_costos .contenido {
        grid-template-columns: 1fr;
    }
    #calculadora_costos .section-header {
        margin-bottom: 30px;
        text-align: center;
    }
    #calculadora_costos .right-section {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    #calculadora_costos {
        gap: 20px;
    }
    #calculadora_costos .section-step {
        grid-template-columns: 1fr;
    }
    #calculadora_costos .step {
        flex-direction: column;
        text-align: center;
        align-items:center;
    }
    #calculadora_costos .step-content {
        width: 100%;
    }
    
    #calculadora_costos .right-section .savings-header .savings-amount {
        font-size: 40px;
    }
    
    #calculadora_costos .section-step .step .step-content .input-group p {
        text-align: end;
    }
    #calculadora_costos .section-step .step .step-content .step-title {
    text-align:center;
        
    }
}

@media (max-width: 500px) {
    #calculadora_costos {
        margin: 0 auto;
    }
    
    #calculadora_costos .section-header h1 {
        text-align: center;
        font-size: 22px;
    }
    
    #calculadora_costos .section-header p {
        text-align: center;
        font-size: 14px;
        line-height: 20px;
    }
    
    #calculadora_costos .contenido .left-section .section-step {
        padding-top: 18px;
        grid-template-columns: 1fr;
    }
    
    #calculadora_costos .section-step .step .step-content .step-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 0;
    }
    
    #calculadora_costos .section-step .step .step-content .model-selector {
        margin-top: 24px;
    }
    
    #calculadora_costos .section-step .step .step-content .step-title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 32px;
    }
    
    #calculadora_costos .section-step .step .step-content .input-group .input-label {
        font-size: 16px;
        line-height: 2px;
    }
    
    #calculadora_costos .right-section {
        padding: 0 12px;
    }
    #calculadora_costos .right-section .line {
        margin-bottom: 32px;
    }
}


/* Ocultar lo botones de incremento y decremento de los inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] { -moz-appearance:textfield; }