
.configurador {
    display: grid;
    place-items: center; /* Shorthand for aligning both horizontally and vertically */
    height: 100%;   
    padding: 0px;
}

.tabla-potencia {
    border-collapse: collapse;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 600;
    border: 1px solid #ccc; /* Solid, visible border */
    border-radius: 4px; /* Optional: rounds the corners */
    padding: 1px;
}


.footer-expand{
    height: 20px;
}

.tituloelemento {
    display: flex;
    align-items: center;
  }
  

  .btn-precio{

    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition-duration: 0.4s;
  

  }



  .masinfo {
    margin-left: 10px;
    font-size: small;
    padding-top: 6px;
  }


#triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent; /* Smaller width for a smaller triangle */
    border-right: 25px solid transparent; /* Smaller width for a smaller triangle */
    border-bottom: 12px solid rgb(255, 255, 255); /* Smaller height and pointing up */
    margin: auto; /* Center the triangle horizontally */
    position: relative; /* Use relative positioning */
    top: 50%; /* Move it to the middle of the div vertically */
    transform: translateY(-50%); /* Adjust the position to truly center it vertically */
}



#triangledown{
    width: 0;
    height: 0;
    border-left: 25px solid transparent; /* Smaller width for a smaller triangle */
    border-right: 25px solid transparent; /* Smaller width for a smaller triangle */
    border-top: 12px solid rgb(255, 255, 255); /* Smaller height and pointing up */
    margin: auto; /* Center the triangle horizontally */
    position: relative; /* Use relative positioning */
    top: 50%; /* Move it to the middle of the div vertically */
    transform: translateY(-50%); /* Adjust the position to truly center it vertically */

}









#potencia-footer{
    background-color: #333;
}

.mensajeError {
    color: red !important;
    font-weight: 600;
}

.tabla-potencia th,
.tabla-potencia td {
    padding: 8px;
    text-align: left;
    /*border-bottom: 1px solid #ddd;*/
}

.tabla-potencia th {
    background-color: #f5f5f5;
    color: #333;
}

/*
.tabla-potencia tr:hover {
    background-color: #f9f9f9;
}*/
.tabla-potencia td:first-child {
    width: 500px;
}
.tabla-potencia td:last-child {

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.gananciaverde {
    color: rgb(6, 95, 6);

}


.features {

    align-items: center;
}


#featuresContainer {
    width: 100%;
    display: grid;
    place-items: center;

}



.elemento {
    background-color: #eeeeee;
    margin: 3px;
    margin-bottom: 15px;
    padding: 3px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    min-width: 300px;
    min-height: 200px;
    
}



.elemento-wp {
    background-color: #eeeeee;
    margin: 3px;
    margin-bottom: 15px;
    padding: 3px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    min-width: 300px;
    min-height: 100px;
    
}

.module h2 {
    color: #333;
}

select{
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    height: 40px; /* Adjust height as needed */
    font-size: 16px; /* Makes text larger and easier to read */
    padding: 8px 12px; /* Adds space inside, around the text */
    border: 1px solid #ccc; /* Solid, visible border */
    border-radius: 4px; /* Optional: rounds the corners */
    background-color: #f8f8f8; /* Optional: sets a background color */
}

.fotoelemento {
    max-height: 300px;
    width: auto;
}


#contenedorChart {
    max-height: 65px; /* Set your desired maximum height */
    overflow: hidden; /* Prevents the content from exceeding the div's box */
}
#contenedorChart canvas {
    display: block; /* Prevents inline-block spacing issues */
    max-height: 100%; /* Ensures the canvas respects the max-height of its container */
}








/* footer elements */
#potencia-footer {
    display: flex;
    justify-content: space-between; /* Adjusts the positioning of the flex items */
    margin-bottom: 15px; /* Adds some space between the footer and the content above it */
}

#contenedorChart {
    flex: 0 0 80%; /* Makes this div take up 80% of the width, flex-grow: 0, flex-shrink: 0, flex-basis: 80% */
    max-width: 80%; /* Ensures it doesn't grow beyond 80% width */
    
}

#contenedorPotencia {
    flex: 1; /* Allows this div to take up the rest of the space */
    text-align: left; /* Aligns the text to the left */
    padding-left: 3%; /* Adds some padding inside the div */
    padding-top: 10px; /* Adds some padding inside the div */
    font-size: 16px;
    color: white;
    p2 {
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0;
    }
}



    .tabladetalle {
        width: 400px;
        margin-top: 20px;
        border-collapse: collapse;
        margin-left: auto;
        margin-right: auto;
    }

    .tabladetalle th,
    .tabladetalle td {
        padding: 9px;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        
    }
    .tabladetalle td:last-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tabladetalle th:last-child {
        text-align: right;

    }




    .tabladetalle th {
        background-color: #474747;
        color: #ffffff;
        font-size: 14px;
    }

    .tabladetalle tr:hover {
        background-color: #474747;
    }

    .tabladetalle td:first-child {
        width: 500px;
    }


    .tabladetalle .highlight {
        background-color: #474747;
    }

    .tabladetalle .highlight:hover {
        background-color: #474747;
    }


    .tabladetalle tr:last-child th{
        background-color: #616161;
    }




img{
    width: 100%;
    margin-top: 20px;
}

p {
    width: 100%;
    margin-top: 10px;
}

img {
    height: auto;
    cursor: pointer;
}

body {
    padding-bottom: 300px; /* Adjust this value based on the height of your fixed footer */
    margin-bottom: 200px;
}


#elementoCostoFinal {
    background-color: #ffffff;
    margin: 3px;
    margin-bottom: 15px;
    padding: 3px;
    border-radius: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 600px;
    min-width: 300px;
    min-height: 90px;
}

#footerok{
    margin-top: auto;
    margin-bottom: 0px;
}

.fixed-footer {
    position: fixed;    /* Fixed positioning relative to the viewport */
    bottom: 0;          /* Aligns the div to the bottom of the viewport */
    left: 0;            /* Aligns the div to the left of the viewport */
    width: 100%;        /* Makes it span the full width of the viewport */
    background-color: #000000; /* Gives a background color to make it stand out */

    padding: 1px; /* Adds some padding inside the footer for better spacing */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow for better visual separation */
    z-index: 1000;      /* Ensures it stays on top of other content */
    text-align: center; /* Optional: centers the text inside the footer */
    color: #fff;
    height: 110px;

    display: flex;
    flex-direction: column;


}
