.seccao-simulador-autonomia-eletricos {
    &.seccao-simulador-autonomia-eletricos-v1 {
        .simulador-container {
            background-color: var(--secondary);
            padding: 30px;

            .title-container {
                border-bottom: 1px solid var(--primary);
                padding-bottom: 30px;
                margin-bottom: 30px;

                .title {
                    text-align: center;
                    color: var(--white);
                    font-size: 2.5rem;
                    line-height: 130%;
                }

                .subtitle {
                    text-align: center;
                    color: var(--primary);
                    font-size: 1rem;
                    line-height: 130%;
                }

                .vehicle-data {
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    .vehicle-data-item {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        padding: 10px;
                        margin: 0 10px;
                        text-align: center;

                        span {
                            color: var(--primary);

                            &:last-of-type {
                                color: var(--white);
                            }
                        }
                    }
                }
            }

            .configurator-container {
                margin-bottom: 30px;

                .battery-percentage {
                    display: flex;
                    flex-wrap: wrap;
                    margin-bottom: 30px;

                    .noUi-title {
                        width: 100%;
                        color: var(--white);
                        padding-bottom: 12px;
                        font-size: 1rem;
                        line-height: 100%;
                    }

                    .percentage-label {
                        color: var(--white);
                        width: 5%;
                        padding: 0 5px;

                        &:first-of-type {
                            text-align: left;
                        }

                        &:last-child {
                            text-align: right;
                        }
                    }

                    .widget-content {
                        width: 90%;
                        align-items: center;
                        display: flex;

                        .noUi-horizontal {
                            height: 4px;
                            width: 100%;
                        }

                        .noUi-target {
                            box-shadow: none;
                            border: 1px solid var(--white);
                            background: var(--white);
                        }

                        .noUi-connect {
                            background: var(--white);
                        }

                        .noUi-handle {
                            border-radius: 50%;
                            width: 30px;
                            height: 30px;
                            top: -14px;
                            border-color: var(--tertriary);
                            background-color: var(--tertriary);
                            box-shadow: none;

                            &:before, &:after {
                                display: none;
                            }
                        }

                        .noUi-tooltip {
                            background: transparent;
                            border: none;
                            box-shadow: none;
                            color: var(--white);
                            font-size: 1rem;
                            line-height: 100%;
                            font-weight: 500;
                            bottom: 0;
                        }
                    }
                }

                .two-columns {
                    display: flex;
                    margin-bottom: 30px;

                    > div {
                        width: 50%;
                    }  
                }

                .title {
                    color: var(--white);
                    padding-bottom: 12px;
                    font-size: 1rem;
                    line-height: 100%;
                }

                .route-container {
                    padding-right: 16px;
                }

                .weather-container {
                    padding-left: 16px;
                }

                .card-container {
                    display: flex;
                    width: 100%;

                    .card-item {
                        flex: 1;
                        padding: 0 5px;

                        &:first-of-type {
                            padding-left: 0;
                        }

                        &:last-of-type {
                            padding-right: 0;
                        }

                        .content {
                            padding: 12px;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            color: var(--white);
                            background-color: var(--bar);
                            border: 1px solid var(--bar);
                            transition: all 0.3s ease;

                            i {
                                font-size: 1.5rem;
                                margin-bottom: 5px;
                                transition: all 0.3s ease;
                            }

                            span {
                                font-size: 1rem;
                                line-height: 150%;
                                transition: all 0.3s ease;

                                &:first-of-type {
                                    font-weight: 500;
                                }

                                &:last-of-type {
                                    color: var(--primary);
                                }
                            }
                        }

                        &.active {
                            .content {
                                border-color: var(--white);

                                i {
                                    color: var(--tertriary);
                                }
                            }
                        }

                        &:hover {
                            cursor: pointer;

                            .content {
                                border-color: var(--white);
                            }
                        }
                    }
                }

                .ac-container {
                    .switch {
                        position: relative;
                        display: inline-block;
                        width: 50px;
                        height: 26px;
                    }

                    .switch input {
                        display: none;
                    }

                    .slider {
                        position: absolute;
                        cursor: pointer;
                        background: var(--primary);
                        border-radius: 26px;
                        top: 0; left: 0; right: 0; bottom: 0;
                    }

                    .slider:before {
                        content: "";
                        position: absolute;
                        height: 20px;
                        width: 20px;
                        left: 3px;
                        bottom: 3px;
                        background: var(--white);
                        border-radius: 50%;
                        transition: 0.3s;
                    }

                    input:checked + .slider {
                        background: var(--tertriary);
                    }

                    input:checked + .slider:before {
                        transform: translateX(24px);
                    }
                }
            }

            .result-container {
                margin-top: 30px;
                background-color: var(--bar);
                padding: 30px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;

                .value {
                    color: var(--white);
                    font-size: 3rem;
                    line-height: 100%;
                    margin-bottom: 10px;
                }

                .description {
                    color: var(--primary);
                    font-size: 1rem;
                    line-height: 100%;
                }
            }

            .disclaimer {
                margin-top: 30px;
                text-align: center;

                p {
                    color: var(--primary);
                    font-size: 0.9rem;
                    line-height: 130%;
                    text-align: center;
                    margin: 0;
                }
            }
        }
    }
}

@media (max-width: 767.99px) {
    .seccao-simulador-autonomia-eletricos {
        &.seccao-simulador-autonomia-eletricos-v1 {
            > .container {
                padding: 0;
                max-width: 100%;
            }

            .simulador-container {
                padding: 20px;

                .title-container {
                    .title {
                        font-size: 1.5rem;

                        i {
                            width: 100%;
                        }
                    }

                    .subtitle {
                        font-size: 0.9rem;
                    }

                    .vehicle-data {
                        flex-direction: column;

                        .vehicle-data-item {
                            margin: 10px 0;
                        }
                    }
                }

                .configurator-container {
                    .battery-percentage {
                        .percentage-label {
                            width: 15%;
                        }

                        .widget-content {
                            width: 70%;
                        }
                    }

                    .two-columns {
                        flex-direction: column;

                        > div {
                            width: 100%;
                            padding: 0;
                            margin-bottom: 20px;
                        }
                    }
                }
            }
        }
    }
}