body {

    /* CAR SELECT (FILTRO) */
    .car-selection {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 1%;
        margin-top: 2rem;
        margin-bottom: 2rem;

        select {
            width: 25%;
            display: inline-block;
            height: 2rem;
            border-radius: .2rem;
            padding-left: .5rem;
        }

        button {
            /* display: inline-block;
            align-items: center;
            justify-content: center; */
            border-radius: .2rem;
            gap: .5rem;
            width: 7rem;
            height: 2rem;
            border: none;
            overflow: hidden;
            background-color: firebrick;
            color: #fff;
            transition: .2s ease;

            &:hover {
                cursor: pointer;
                background-color: rgb(214, 55, 55);
                transition: .2s ease;
            }

            img {
                width: 15px;
            }
        }
    }

    .btn-precio {
        display: flex;
        align-items: center;
        justify-content: center;

        button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            width: 55%;
            height: 3rem;
            border: none;
            border-radius: 2rem;
            margin-top: 1rem;
            background-color: #25D366;
            transition: .2s ease;

            &:hover {
                cursor: pointer;
                background-color: #4ee284;
                transition: .2s ease;
            }

            img {
                width: 30px;
            }

            p {
                margin: 0;
                color: #fff;
                font-weight: bold;
                font-size: small;
            }
        }
    }

    .comentarios{
        color:white !important;
        
    }






    /* CAR INFO (RESULTADO) */

    section.car-info {
        /* display: flex;
        justify-content: center;
        gap: 2rem; */
        /* margin-left: 5%; */

        /* MEJORAS */
        .enhancements {
            display: inline-block;
            vertical-align: top;
            width: 50%;
            padding: 0rem;
            background-color: #303030;


            .contenedor-tabla{
                padding: 0.3rem;
                
                
                
                .tabla-enhancements {
                margin-top: .5rem;
                width: 100%;
                border-spacing: 7px;
                border-radius: 1px;
                background-color: #cccccc94;
                

                .tagflechaguille{
                    background-image: url(https://dataracing.com.ar/wp-content/uploads/2024/04/flecha.png);
                    background-size: cover; /* Cover the entire cell */
                    background-position: right; /* Center the background image */
                    color: rgb(0, 0, 0); /* Text color, change as needed */
                    text-align: center; /* Center the text horizontally */
                    vertical-align: middle; /* Center the text vertically */
                    font-size: small;
                    font-weight:bold;
                    height: 50px;
                    /*width: 150px;*/
                    padding: 1px;
                }

                .tag {
                    font-size: small;
                    background-color: #ccc;
                    position: relative;
                    margin-right: 30px;
                    height: 50px;
                    color: black;
                    font-weight: bold;
                    border-radius: 5px 0px 0px 5px;
                }

                .tag::after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    right: -15px;
                    /* Ajuste para que el triángulo esté alineado con el borde */
                    transform: translateY(-50%);
                    border-left: 15px solid #ccc;
                    /* Ancho y color del triángulo */
                    border-top: 25px solid transparent;
                    /* Altura del triángulo */
                    border-bottom: 25px solid transparent;
                    /* Altura del triángulo */
                }
            }

            .tabla-enhancements th,
            .tabla-enhancements td {
                font-size: medium;
                color: white;
                text-align: center;
                border: none;
            }

            .tabla-enhancements #max-gain {
                padding-left: 20px;
                text-align: center;
            }

            .tabla-enhancements tr {
                padding-bottom: 5px;

            }

            .diferenciaguille{
                font-weight:bold;
                color:rgb(201, 18, 18) !important;
            }

            .tabla-enhancements th {
                color: white;
                font-weight: bold;
            }

            .chart-container {
                margin-top: 2rem;
            }
            }


        }

        /* IMAGENES */
        .img-charts {
            width: 50%;
            display: inline-block;
            

            .car-image-container {
                h2 {
                    text-align: center;
                    color: white;
                    margin-bottom: .5rem;
                }

                a {
                    text-decoration: none;
                }

                /* .main-image {
                    width: 27rem;
                    display: block;
                    margin: 0 auto;
                } */

                .mini-images {
                    display: flex;

                    a {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin-top: .5rem;

                        .secondary-image {
                            height: 15vh;
                            width: 30vw;
                        }
                    }
                }
            }

            #car-coments {
                font-size: medium;
                font-style: italic;
                text-align: center;
                color: whitesmoke;
            }

            
        }
    }

    /* CALCULADORA DE COSTOS */

    section.calculadora-de-costos {
        margin-top: 5%;

        h3 {
            text-align: center;
            color: white;
        }

        table {
            width: 95%;

            select {
                width: 100%;
            }

            th {
                color: white;
            }

            td {
                color: white;
            }

            tr:nth-child(odd) {
                /* Estilo para las filas impares */
                background-color: #303030;
                /* Color de fondo para las filas impares */
            }

            tr:nth-child(even) {
                /* Estilo para las filas pares */
                background-color: #252525;
                /* Color de fondo para las filas pares */
            }

            .switch {
                position: relative;
                display: inline-block;
                width: 50px;
                height: 24px;
            }

            /* Hide default HTML checkbox */
            .switch input {
                opacity: 0;
                width: 0;
                height: 0;
            }

            /* The slider */
            .slider {
                position: absolute;
                cursor: pointer;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: #979797;
                -webkit-transition: .4s;
                transition: .4s;
            }

            .slider:before {
                position: absolute;
                content: "";
                height: 16px;
                width: 16px;
                left: 4px;
                bottom: 4px;
                background-color: white;
                -webkit-transition: .4s;
                transition: .4s;
            }

            input:checked+.slider {
                background-color: #2196F3;
            }

            input:focus+.slider {
                box-shadow: 0 0 1px #2196F3;
            }

            input:checked+.slider:before {
                -webkit-transform: translateX(26px);
                -ms-transform: translateX(26px);
                transform: translateX(26px);
            }

            /* Rounded sliders */
            .slider.round {
                border-radius: 34px;
            }

            .slider.round:before {
                border-radius: 50%;
            }
        }
    }

    /* CARACTERISTICAS */

    section.caracteristicas {
        .caracteristicas-container {
            width: 95%;
            margin-top: 2rem;
            background-color: #303030;
            padding: 1rem;
            color: white;

            h3 {
                border-bottom: 1px solid #979797;
                margin-bottom: .5rem;
            }

            .features-list {
                width: 100%;
                list-style: none;
                padding: 0;
                flex-direction: column;
            }

            .features-list li {
                border-bottom: 1px solid #979797;
                flex-direction: column;
                align-items: center;
                cursor: pointer;
                /* margin-block: .5rem; */
                margin-top: .5rem;
                margin-bottom: 0;

                div {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                }

                .feature-description {
                    font-weight: lighter;
                    font-style: italic;
                    transition: all 0.35s;
                    margin-top: 0;
                }
            }

            .features-list li p {
                text-align: left;
                font-size: 14px;
                font-weight: bold;
                color: white;
            }

        }
    }

}

.chevron_svg {
    width: 10px;
    transition: transform 0.2s ease;
}

@media only screen and (max-width: 992px) {

    .car-selection {
        width: 100% !important;
    }

    .car-info {
        margin-left: 0 !important;
    }

    .enhancements {
        width: 100% !important;
    }

    .calculadora-de-costos {
        table {
            width: 100% !important;
        }
    }

    .caracteristicas-container {
        width: 100% !important;
    }

    .img-charts {
        width: 100% !important;
        margin-top: 5%;

        .main-image2 {
            height: auto !important;
        }

        .mini-images {
            display: flex !important;

            .secondary-image {
                height: 70% !important;
            }
        }
    }
}

@media only screen and (max-width: 576px) {

    .car-selection {
        flex-direction: column;

        select {
            width: 100% !important;
            margin-top: 1%;
        }

        button {
            width: 100% !important;
            margin-top: 1%;

        }
    }

    .btn-precio {
        button {
            width: 50%;
        }

        p {
            font-size: smaller;
        }
    }

    .enhancements {
        .tabla-enhancements {
            .tag {
                font-size: smaller !important;
            }

            td {
                font-size: smaller !important;
            }

            th {
                font-size: smaller !important;
            }
            .tagflechaguille{
                font-size: smaller !important;
            }
        }
    }

}