/* *{
    border: 1px solid red;
} */
html{
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #333333;
    text-align: left;
    box-sizing: border-box;
}

.si-w{
    color: #ffffff !important;
    border-bottom: 1px solid #ffffff !important;
}

.si-w option{
    color: #333333 !important;
}

.flag{
height: 25px;
cursor: pointer;
margin: 0px 3px;
}

.lang-text{
cursor: pointer;
margin: 0px 5px;
font-weight: 900;
color: #ffffff;
}
.lang-text:hover{
color: #a7c0ff
}
.lang-text.selected{
text-decoration: underline;
}

#google_translate_element{
    border: none;
    background: transparent;
    font-size: 15px;
    border-bottom: 1px solid #303950;
    padding: 5px 0;
    color: #303950;
}

::selection {
background: #71c3f0;
}

::-moz-selection {
background: #71c3f0; 
}

::-webkit-scrollbar {
    width: 5px;
    height: 2.5px;
  }
  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 30px;
    border-radius: 30px;
  }
  ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 30px;
    border-radius: 30px;
    background: #333;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
  }
  ::-webkit-scrollbar-thumb:window-inactive {
    background: #333; 
  }

.normal-title{
    font-size: 24px; color: #303950; font-weight: 900; text-align: center;
}
.normal-subtitle{
    font-size: 24px; color: #303950; text-align: center;
}


.flag-title{
    display: flex;
}
.flag-title p{
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    margin: 20px 150px 20px 50px;
}

.point-title{
    display: inline-block;
    margin: 50px 0;
}

.point-title p{
    color: #303950;
    font-weight: 900;
    font-size: 40px;
    margin: 0 200px 0 100px;
}

.point-title > div{
    width: 100%;
    height: 5px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
}


.select-input{
    border: none;
    background: transparent;
    font-size: 15px;
    border-bottom: 1px solid #303950;
    padding: 5px 0;
    color: #303950;
}

.select-input:focus{
    outline: none;
}

label{
    font-size: 16px;
    font-weight: 800;
    color: #303950;
}

.normal-p{
    font-size: 20px;
    color: #303950;
    text-align: center;
    margin: 30px 0;
}

.source-p{
    font-size: 15px;
    font-weight: lighter;
    color: #303950;
}

.source-p b{
    font-weight: 400;
}


.container-80{
    width: 80%; margin: 30px auto;
    max-width: 1400px;
}
.container-90{
    width: 90%; margin: 30px auto;
    max-width: 1400px;
}

.beauty-button{
    background: #26587C;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    cursor: pointer;
}

.bold-title{
    font-size: 40px;
    font-weight: bolder;
    color: #303950;
    border-bottom: 3px solid #DD6B2B;
    display: inline-block;
    margin: 0 50px;
}

.box-container{
    background: #CDE5FB;
    border-radius: 50px;
    color: #303950;
    box-sizing: border-box;
    padding: 50px;
    font-size: 1.5rem;
    box-shadow: 5px 5px 1px #BABABA;
    text-align: center;
}
.header-title{
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.header-title h1{
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin: 20px 0;
}

.chart-table{
    width: 100%;
    border-collapse: collapse;

}
.chart-table tr{
    height: 50px;
}
.chart-table td{
    height: 50px; font-size: 18px; font-weight: 900;
    color: #303950;
}

.chart-table img{
    height: 40px ; width: auto;
}

.chart-bar{
    display: flex; align-items: center; opacity: 0.9; transition: all 0.3s ease-in; cursor: pointer;
}
.chart-bar:hover{
    opacity: 1;
}

.chart-bar-less{
    display: flex; align-items: center;
}
.chart-bar div{
    background: #303950;
    height: 40px;
    width: 100%;
}
.chart-bar-less div{
    background: #DD6B2B;
    height: 40px;
    width: 100%;
}
.chart-bar p{
    width: 65px;
    text-wrap: nowrap;
    margin: 0;
    padding: 0 10px;
    font-weight: 900;
    text-align: center;
    color: #303950;
}
.chart-bar-less p{
    width: 65px;
    text-wrap: nowrap;
    margin: 0;
    padding: 0 10px;
    font-weight: 900;
    text-align: center;
    color: #DD6B2B;
}





.chart-table-little{
    width: 100%;
    border-collapse: collapse;

}
.chart-table-little tr{
    height: 35px;
}
.chart-table-little td{
    height: 35px; font-size: 18px; font-weight: 600;
    color: #303950;
}

.chart-table-little img{
    height: 30px ; width: auto;
}

.chart-bar-little{
    display: flex; align-items: center;

}

/* .chart-bar-less{
    display: flex; align-items: center;
} */
.chart-bar-little div{
    background: #303950;
    height: 30px;
    /* width: calc(100% - 100px); */
    width: 100%;
}
/* .chart-bar-less div{
    background: #DD6B2B;
    height: 40px;
    width: calc(100% - 60px);
} */
.chart-bar-little p{
    width: 60px;
    margin: 0;
    padding: 0 10px;
    font-weight: 900;
    text-align: center;
    color: #303950;
}





.chart-bar-p{
    width: 65px;
    text-wrap: nowrap;
    margin: 0;
    padding: 0 10px;
    font-weight: 900;
    text-align: center;
    color: #303950;
}
.chart-bar-little-p{
    width: 60px;
    margin: 0;
    padding: 0 10px;
    font-weight: 900;
    text-align: center;
    color: #fff;
}

.gap-select{
    display: flex;
    justify-content: space-between;
}

.chart-5-container{
    width: 80%; margin: 30px auto;
}
.chart-5-normal{
    height: 500px; width: 100%; display: flex; justify-content: space-between; align-items:flex-end;
}
.chart-5-bar{
    width: 120px; display: flex; flex-direction: column;
}

.chart-5-responsive{
    height: auto; width: 100%; display: none; flex-direction: column; justify-content: space-between; align-items:flex-start;
    margin: 30px 0;
}

.container-70{
    width: 70%;
    max-width: 1400px;
}
.header-ip-container{
    padding: 20px 50px;
    justify-content: space-between;
}
.header-ip-right{
    margin-left: 30px;
}

.level-responsive{
    display: flex;
}
.level-1{
    display: flex; width: 50%;
}
.arrw-right{
    display: block !important;
}
.arrow-down{
    display: none !important;
}
.chart-2-container{
    width: 70%; margin: 30px auto;
}

#chart-4{
    width: 80%; margin: 0 auto;
}

.chart-10-container{
    display: flex;
}
.chart-10-box{
    width: 30%
}
.chart-10-picture{
    width: 70%;
}

.chart-11-container{
    display: flex;
}
.chart-11-left{
    width: 40%
}
.chart-11-right{
    width: 60%;
}

.chart-new-container{
    display: flex;
}
.chart-new-left{
    width: 40%
}
.chart-new-right{
    width: 60%;
}

.chart-13-container{
    height: 450px; display: flex;
}
.chart-13-text{
    width: 40%;
}
.chart-13-picture{
    width: 60%;
    padding: 50px;
}

#chart-14{
    width: 90%;
}
.chart-14-container{
    height: 600px; display: flex;
}
.chart-14-picture{
    width: 80%; 
}
.chart-14-text{
    width: 20%;
}

.chart-15-container{
    height: 500px; display: flex;
}
.chart-15-text{
    width: 40%;
}
.chart-15-picture{
    width: 60%;
    
}

.other-box{
    width: 100%; border-radius: 0; padding: 50px 200px;
}
@media screen and (max-width: 600px){
    .header-title h1{
        text-wrap: wrap ;
    }
    .gap-select{
        display: flex; justify-content: space-between; flex-direction: column;
    }
    #chart-4{
        width: 100%; margin: 0 auto;
    }
    .chart-5-container{
        margin: 0 0;
        width: 100%;
    }
    .chart-5-bar{
        /* width: 20px; */
        width: 20px; display: flex; flex-direction: column;
        transform: rotate(90deg);
    }
    .chart-5-normal{
        display: none;
    }
    .chart-5-responsive{
        display: flex;
    }

    .point-title{
        display: inline-block;
        margin: 0;
        padding: auto;
    }
    .point-title p{
        margin: 0 50px;
    }

    /* .flag-title{
        display: flex;
    } */
    .flag-title p{
        font-size: 25px;
        color: #fff;
        font-weight: bold;
        margin: 20px 10px;
    }

    .other-box{
        padding: 30px;
    }


    .container-70{
        width: 100%;
    }
    .header-ip-container{
        padding: 10px;
        justify-content: space-between !important;
    }
    
    .level-responsive{
        flex-direction: column;
    }
    .level-1{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .chart-10-prev{
        display: flex; justify-content: space-between;
    }
    .arrow-right{
        display: none !important;
    }
    .arrow-down{
        display: block !important;
    }
    .chart-2-container{
        width: 100%; margin: 0;
    }

    .chart-10-container{
        flex-direction: column;
    }
    .chart-10-box{
        width: 100%
    }
    .chart-10-picture{
        width: 100%;
        padding: 50px 0;
    }


    .chart-11-container{
        flex-direction: column;
    }
    .chart-11-left{
        width: 100%
    }
    .chart-11-right{
        width: 100%;
    }

    .chart-new-container{
        flex-direction: column;
    }
    .chart-new-left{
        width: 100%
    }
    .chart-new-right{
        width: 100%;
    }

    .chart-13-container{
        height: auto;
        flex-direction: column;
    }
    .chart-13-text{
        width: 100%;
    }
    .chart-13-picture{
        width: 100%;
        padding: 0;
    }

    .chart-15-container{
        height: auto; flex-direction: column;
    }
    .chart-15-text{
        width: 100%;
    }
    .chart-15-picture{
        width: 100%;
        
    }

    #chart-14{
        width: 100%;
    }
    .chart-14-container{
        height: auto;
        flex-direction: column;
    }
    .chart-14-text{
        width: 100%;
    }
    .chart-14-picture{
        width: 100%;
    }
    .container-80{
        width: 90%;
    }
    .container-90{
        width: 95%;
    }
    /*
    .point-title > div{
        width: 100%;
        height: 5px;
        display: flex;
        box-sizing: border-box;
        justify-content: space-between;
    } */
}


/* .flag-title{
    display: flex;
}
.flag-title:nth-child(1) {
    background: #303950;
    display: inline-block;
}
.flag-title:nth-child(2) {
    width: 10px;
    background: #DD6B2B;
} */

/* Pilar Boxes Styles */
#pilares_boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 20px 0;
}

.pilar-box {
    background: transparent;
    perspective: 1000px;
    height: 280px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.pilar-box:hover {
    z-index: 10;
}

.pilar-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.pilar-box:hover .pilar-box-inner {
    transform: rotateY(180deg);
}

.pilar-box-front, .pilar-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    top: 0;
    left: 0;
}

.pilar-box-front {
    background: #303950;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px 32px;
}

.background-number {
    position: absolute;
    top: -20px;
    left: -40px;
    font-size: 180px;
    font-weight: 900;
    opacity: 0.05;
    color: #FFFFFF;
    z-index: 1;
    font-family: 'Open Sans', sans-serif;
    line-height: 1;
    transform: none;
}

.pilar-box-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.pilar-box-back {
    background: #CDE5FB;
    color: #303950;
    transform: rotateY(180deg);
}

.pilar-box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.pilar-box-content {
    display: flex;
    flex-direction: column;
}

.pilar-box-content-item {
    display: flex;
    flex-direction: column;
}

.pilar-box-content-item-title {
    font-size: 15px;
    line-height: 1.5;
    color: inherit;
    font-weight: 400;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    #pilares_boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    #pilares_boxes {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .pilar-box {
        height: 250px;
    }
    
    .pilar-box-title {
        font-size: 20px;
    }
    
    .pilar-box-content-item-title {
        font-size: 14px;
    }
}

.section-header {
    color: #303950;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 60px;
    text-align: center;
}

.boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Add extra space after the first box */
#box-general {
    margin-right: 40px; /* 50px - 24px (existing gap) = 26px additional margin */
}

.box-item {
    flex: 1;
    min-width: 150px !important;
    max-width: 300px;
    height: 70px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}

.box-item:hover {
    transform: translateY(-5px);
}

.box-item.active {
    background: #303950;
}

/* Special active state for the first box */
#box-general.active {
    background: #CDE5FB;
}

#box-general.inactive {
    background: transparent !important; 
    border: 2px solid #303950;
}

.box-item.inactive {
    background: #FFFFFF;
}

.box-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.box-title.active {
    color: #ffffff;
}

/* Special active state text color for the first box */
#box-general.active .box-title.active {
    color: #303950;
}

.box-title.inactive {
    color: #303950 !important;
}

/* Adjust spacing for smaller screens */
@media screen and (max-width: 1200px) {
    #box-general {
        margin-right: 0; /* Remove extra spacing on smaller screens */
    }
}

#charts_container_report {
    display: flex;                                
    gap: 20px;
    justify-content: left;
}
#charts_container_report > div {
    width: 50%;
}
/* Responsive */
@media (max-width: 768px) {
    #charts_container_report {
        flex-wrap: wrap;
        flex-direction: column;
    }
    #charts_container_report > div {
        width: 100%;
    }
}

.custom-buttons-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0;
}

.custom-button {
    background: #ddebf7;
    color: #222;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 12px;
    padding: 8px 48px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.custom-button:hover {
    background: #cbe4f7;
    color: #111;
}

/* Dimensiones Styles */
#dimensiones_boxes {
    margin: 40px auto;
    width: 100%;
}

.dimension-group {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.dimension-title-box {
    width: 200px;
    display: flex;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.dimension-title-text {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin: auto;
}

.dimension-description-box {
    width: 100%;
    border-radius: 8px;
    padding: 16px 30px;
    display: flex;
}

.dimension-description-text {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 400;
    margin: auto;
    text-align: center;
}

#dimensiones_arrows{
    display: flex; 
    justify-content: space-around; 
    gap: 20px; 
    margin-bottom: 50px;
}

/* Responsive styles for dimensiones */
@media screen and (max-width: 768px) {
    .dimension-title-box {
        padding: 10px 20px;
    }
    
    .dimension-title-text {
        font-size: 15px;
    }
    
    .dimension-description-box {
        padding: 14px 24px;
    }
    
    .dimension-description-text {
        font-size: 13px;
        line-height: 1.3;
    }
    #dimensiones_arrows {
        display: none;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .dimension-title-box {
        padding: 8px 16px;
    }
    
    .dimension-title-text {
        font-size: 14px;
    }
    
    .dimension-description-box {
        padding: 12px 20px;
    }
    
    .dimension-description-text {
        font-size: 12px;
    }
    #dimensiones_arrows {
        display: none;
        margin-bottom: 10px;
    }
}