@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    width: 100%;
    background: #e5e7eb;
    position: relative;
    display: flex;
}

#interface {
    width: 100%;
    position: relative;
}

.warning-legend {
    /* Estilos para la leyenda. */
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 5%;
    width: 70%;
    display: none;
}

#interface .page-header {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    background: #000000;
    padding: 1vh 1vw;
    border-bottom: 3px solid #000000;
    position: fixed;
    top: 0;
    overflow: hidden;
    z-index: 4;
    height: 10vh;
}

#interface .logo {
    display: flex;
    align-items: center;
    margin-right: 2vw;
    margin-left: 1vw;
}

#interface .logo img {
    width: 14vw;
}


#interface .items {
    display: inline-flex;
}

#interface .items li {
    list-style: none;
    padding: 1vh 0;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}

#interface .items li:hover {
    cursor: pointer;
}

#interface .items li i {
    color: rgb(255, 255, 255);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 15px;
    margin: 0 0 0 2vw;
}

#interface .items li:hover i,
#interface .items li.selected i {
    color: #F3F4F6;
}

#interface .items li button {
    text-decoration: none;
    border: none;
    background-color: #000000;
    color: rgb(255, 255, 255);
    font-weight: 300;
    font-size: 13px;
    transition: 0.3s ease;
    margin: 0px 0px 0px 0px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 8px;
    padding-bottom: 8px;
}

#interface .items li:hover button {
    border-bottom: 4px solid #fff;
}

#interface .items li.selected button {
    font-weight: bold;
    border-bottom: 4px solid #fff;
}







#map {
    width: calc(100% - 60px);
    height: 600px;
    background: grey;
    position: relative;
    z-index: 1;
    margin: 60px 0px 0px 0px;
}

#interface .coord-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border-radius: 10px; */
    z-index: 4;
    border-top: 2px solid black;
    height: 6vh;
}



#interface .map-params {
    color: black;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#interface .map-params span{
   padding: 10px 10px;
}

#interface .calc-box {
    background: #ffffff;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;  
    border-radius: 5px;
    color: black;
}

#interface .calc-box h2{
    padding: 10px 10px;
}

#interface .calc-box span{
    padding: 10px 10px;
    margin: 10px 0;
}

#interface .calc-box input{
    margin: 10px 0;
}

#interface .calc-box select{
    margin: 10px 0;
}

#interface .zmvm-box {
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;  
    border-radius: 5px;
    color: white;
}

#interface .zmvm-box h2{
    padding: 10px 10px;
}

#interface .zmvm-box span{
    padding: 10px 10px;
    margin: 10px 0;
}

#interface .zmvm-box input{
    margin: 10px 0;
}

#interface .zmvm-box select{
    margin: 10px 0;
}

#inputClaseCC{
    width: 500px;
}

#interface .mad-box{
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;  
    border-radius: 8px;
    color: white;
}

#interface .mad-box h2{
    padding: 10px 10px;
}

#interface .mad-box span{
    padding: 10px 10px;
}

#interface .maduracion{
    background: #111827;
    width: calc(100% - 50px);
    margin: 0 0 10px 25px;  
    border-radius: 5px;
    overflow: auto;
    display: flex;
    justify-content: center;
}

#interface .mad-tabla {
    border-collapse: collapse;
}

#interface .mad-tabla tr{
    border-bottom: 1px solid white;

}

#interface .mad-tabla .mad-tabla-thead td{
    color: white;
}

#interface .mad-tabla .mad-tabla-tbody td{
    color: white;
    padding: 0 5px 0 5px;
}

#interface .mad-tabla .mad-tabla-tbody input{
    color: white;
    background-color: #111827;
    border: none;
}

#interface .infl-box{
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;  
    border-radius: 8px;
    color: white;
}

#interface .infl-box h2{
    padding: 10px 10px;
}

#interface .infl-box span{
    padding: 10px 10px;
}

#interface .inflacion{
    background: #111827;
    width: calc(100% - 50px);
    margin: 0 0 10px 25px;  
    border-radius: 5px;
    overflow: auto;
    display: flex;
    justify-content: center;
}

#interface .infl-tabla {
    border-collapse: collapse;
}

#interface .infl-tabla tr{
    border-bottom: 1px solid white;

}

#interface .infl-tabla .infl-tabla-thead td{
    color: white;
}

#interface .infl-tabla .infl-tabla-tbody td{
    color: white;
    padding-left: 20px;
}

#interface .infl-tabla .infl-tabla-tbody input{
    color: white;
    background-color: #111827;
    border: none;
}

#interface .infl-hist-box{
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;  
    border-radius: 8px;
    color: white;
}

#interface .infl-hist-box h2{
    padding: 10px 10px;
}

#interface .infl-hist-box span{
    padding: 10px 10px;
}

#interface .inflacion-historica{
    background: #111827;
    width: calc(100% - 50px);
    margin: 0 0 10px 25px;  
    border-radius: 5px;
    overflow: auto;
    display: flex;
    justify-content: center;
}

#interface .infl-hist-tabla {
    border-collapse: collapse;

}

#interface .infl-hist-tabla tr{
    border-bottom: 1px solid white;

}

#interface .infl-hist-tabla .infl-hist-tabla-thead td{
    color: white;
}

#interface .infl-hist-tabla .infl-hist-tabla-tbody td{
    color: white;
    padding: 0 5px 0 5px;
}

#interface .infl-hist-tabla .infl-hist-tabla-tbody input{
    color: white;
    background-color: #111827;
    border: none;
}

#interface .calc-btn-box {
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 20px 25px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}

#interface .calc-btn-lock {
    color: white;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 5px;
}

#interface .calc-btn-lock span{
   padding: 10px 10px;
}

#interface .calc-btn-calc {
    color: white;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 5px;
}

#interface .calc-btn-calc span{
   padding: 10px 10px;
}

#interface .result-box {
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;
    color: white;
    border-radius: 5px;
    height: 700px;
}

#interface .result-box h2{
    padding: 10px 10px;
}

#interface .result-box h3{
    padding: 10px 10px;
}

#interface .valores-ventas{
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#interface .valores-ventas-box{
    border: 3px solid white;
    width: 350px;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#interface .valores-ventas-box i{
    font-size: 25px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    color: white;
    margin-right: 15px;
    border: 3px solid white;
}

#interface .valores-ventas-box span{
    margin-left: 10px;
    font-size: 30px;
    color: #00FFCD;
    font-weight: 600;
}

#interface .ventas-graf-box {
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

#interface .ventas-graf-box .graf{
    margin: 10px;
    width: 550px;
}

#interface .canib-result-box {
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;
    color: white;
    border-radius: 5px;
    height: 1150px;
}

#interface .canib-result-box h2{
    padding: 10px 10px;
}

#interface .canib-result-box h3{
    padding: 10px 10px;
}

#interface .valores-canib{
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#interface .valores-canib-box{
    border: 3px solid white;
    width: 350px;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#interface .valores-canib-box i{
    font-size: 25px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    color: white;
    margin-right: 15px;
    border: 3px solid white;
}

#interface .valores-canib-box h3{
    font-size: 18px;
}

#interface .valores-canib-box span{
    margin-left: 10px;
    font-size: 30px;
    color: #00FFCD;
    font-weight: 600;
}

#out_pobtotal  span{
    margin-left: 10px;
    font-size: 30px;
    color: #00FFCD;
    font-weight: 600;
}

#interface .canibal1-graf-box {
    display: flex;
    align-items: center;
}

#interface .canibal1-graf-box .graf{
    margin: 10px;
}

#interface .canibal2-graf-box {
    align-items: center;
}

#interface .canibal2-graf-box .graf{
    margin: 450px 10px 10px 10px;
}

#interface .iso-box {
    background: #ffffff;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}

#interface .iso-params {
    color: white;
    align-items: center;
    margin: 10px;
}

#interface .iso-params span{
   padding: 10px 10px;
}

#ReportPopup .iso-calc-box {
    display: flex;
    justify-content: space-evenly; /* Ensures even spacing across the container */
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    width: 100%; /* Adjust width to make them spread out */
    margin: auto; /* Centers the box while keeping it wide */
}

.Row {
    display: flex; 
    flex-direction: row;  /* Arrange children in a row */
    justify-content: space-around;  /* Distribute space evenly */
    align-items: baseline; /* Align items vertically */
    flex-wrap: nowrap; /* Allows wrapping if the screen is too small */
}

.unit {
    text-align: center;
    margin-top: 8px;
    width: fit-content;
    background-color: white;
}

.unit2 {
    align-self: center;
    text-align: center;
    margin-top: 8px;
    width: fit-content;
    background-color: white;
}

.buttons-module {
    display: flex;
    flex-direction: column;  /* Stack buttons vertically */
    align-items: flex-end;  /* Align everything to the right */
    gap: 12px;  /* Space between button rows */
    margin-top: 10px;
    width: 100%;
}

/* Button container (text + icon) */
.btn-icon-container2 {
    display: flex;
    justify-content: center; /* ✅ Centers the button */
    align-items: center;
    width: 100%;
}

/* Button text */
.btn-text2 {
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    white-space: nowrap; /* ✅ Prevents text wrapping */
    margin-left: 5px; /* ✅ Adds space between text and icon */
}

/* Button styling */
.btn-icon3 {
    display: flex;
    align-items: center; /* ✅ Align text and icon */
    justify-content: center; /* ✅ Center content */
    padding: 8px 8px;
    width: 100%; /* ✅ Make all buttons the same width */
    max-width: 250px; /* ✅ Set a max-width to keep them uniform */
    min-width: 100px; /* ✅ Set a max-width to keep them uniform */
    height: 50px; /* ✅ Make all buttons the same height */
    background: transparent;
    border: 2px solid black; /* ✅ Adds border */
    border-radius: 8px; /* ✅ Adds rounded corners */
    cursor: pointer;
    font-size: clamp(0.5rem, 1vw, 1.3rem);
    font-weight: bold;
    
}

/* Hover effect */
.btn-icon3:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Icon inside the button */
.btn-icon3 img {
    width: 35px;  /* Adjust icon size */
    height: 35px;
}

.unit h2{
    font-size: 1rem;
}

.unit p{
    line-height: 1.4;
    font-size: 1rem;
}

#ReportPopup .btn-icon img {
    width: 50px; /* Adjust size */
    height: 50px;
}


#interface .iso-calc-box {
    background: white;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 20px;  
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
}

#interface .iso-calc-box h2{
    padding: 10px 10px;
}

#interface .iso-calc-box span{
    padding: 10px 10px;
}

#interface .iso-calc-box button{
    margin: 10px 10px;
}


#interface .iso-calc-box-DropDowns {
    background: white;
    width: calc(100% - 50px);
    margin: 10px 0px 10px 20px;  
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: left;
    /* margin-left: 2vw; */
}



#interface .result-iso-box {
    background: #111827;
    width: calc(100% - 20px);
    margin: 10px 10px 10px 25px;  
    border-radius: 2px;
    color: white;
    justify-content: center;
    align-items: center;
}

#interface .result-iso-box h2{
    padding: 5px 5px;
}

.result-iso-boxxx {
    width: 100%;
}

.select2-results__option {
    font-size: 13px !important;
}

.select2-selection__rendered {
    font-size: 14px !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.select2-selection__clear {
  position: relative !important;
  top: 0 !important;
  transform: none !important;
  font-size: 14px; /* ajusta según el tamaño del texto */
  line-height: inherit !important;
  vertical-align: middle !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;

}


.result-iso-boxxx hr {
    width: 95%;
    border: none;
    border-top: 2px solid #000000;
    margin: 20px auto; /* Centers the separator */
}

#interface .result-iso-boxx {
    background: #ffffff;
    width: calc(100% - 10px);
    margin: 0 0px 10px 0px;  
    border-radius: 1px;
    color: black;
    justify-content: center;
    align-items: center;
}

#interface .result-iso-boxx{
    padding: 5px 20px;
}

#interface .result-iso-boxxCC {
    padding-top: 20px;
    margin-left: 20px;
    background: #ffffff;
    width: calc(100% - 10px);
    margin: 0 0px 10px 0px;  
    border-radius: 1px;
    color: black;
    justify-content: center;
    align-items: center;
}

#interface .result-iso-boxxCC h2{
    padding: 5px 20px;
}


#interface .result-iso-box h3{
    padding: 10px 10px;
}

#interface .result-iso-box span{
    padding: 10px 10px;
    font-size: 30px;
    color: #00FFCD;
    font-weight: 400;
}

#interface .valores-demo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#interface .edades-graf-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;

}

#interface .edades-graf-box .edades-graf{
    margin: 20px;
    width: 550px;
}

#interface .socio-graf-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;

}

#interface .socio-graf-box .socio-graf{
    margin: 20px;
    width: 550px;
}

#interface .comp-graf-box {
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;

}

#interface .comp-graf-box .comp-graf{
    margin: 20px;
    width: 550px;
}

#interface .Ws-box {
    background: #111827;
    width: calc(100% - 50px);
    margin: 10px 10px 10px 25px;  
    border-radius: 5px;
    color: white;
}

#interface .Ws-box h2{
    padding: 10px 10px;
}

#interface .Ws-box span{
    padding: 10px 10px;
}

#interface .Ws-box button{
    margin: 10px 10px;
}

#initialHidden {
 display: none; /* none; */
}

#Hide-Numero-Ventas {
    display: none; /* none; */
}

#ResultadosPotencial {
    display: none; /* none; */
}   

#ResultadosDesempenio {
    display: none; /* none; */
}   

#initialHiddenDatos {
    display: block;
}

#initialHiddenOpcionesZMVM {
display: block;
}

#initialHiddenPeriferia {
    display: block;
}

#HiddenMovilidad {
    display: none;
}

#initialHiddenBtnCalc {
    display: none;
}

#InitialHiddenResults {
    display: none;
}

#initialHiddenBtnlockVars {
    display: none;
}

#initialHiddenInf_1 {
    display: none;
}
#initialHiddenInf_2 {
    display: none;
}
#initialHiddenInf_3 {
    display: none;
}
#initialHiddenInf_4 {
    display: none;
}
#initialHiddenInf_5 {
    display: none;
}
#initialHiddenInf_6 {
    display: none;
}
#initialHiddenInf_7 {
    display: none;
}
#initialHiddenInf_8 {
    display: none;
}
#initialHiddenInf_9 {
    display: none;
}

#HideCalculadora {
    display: block;
}

#initialHiddenDemograficos {
    display: none;
}

#initialHiddenDemoIso {
    display: none;
}


#initialHiddenDemoIsoTiempo {
    display: none;
}
#initialHiddenDemoIsoTiempo2 {
    display: none;
}

#initialHiddenDemoIsoTiempoCaminando {
    display: none;
}

#initialHiddenDemoIsoTiempo2Caminando {
    display: none;
}

#initialHiddenDemoIsoDistancia {
    display: none;
}
#initialHiddenDemoIsoDistancia2 {
    display: none;
}

#initialHiddenDemoResultados {
    display: none;
}

#initialHiddenWhitespaces{
    display: none;
}

#hideButtons{
    display: block;
    width: 100% ;

}

#CanibalizacionNoZMVM{
    display: block;
}

#HideNoCanibalizacion {
    display: block; /* none; */
}


.map-box {
    display: flex;
  }
  
  #map {
    flex: 1;
  }
  
.popup {
    position: fixed; /* Use fixed for screen-centered positioning */
    top: 50%;
    left: 50%;
    height: max-content;
    transform: translate(-50%, -50%); /* Perfect centering */
    width: 29vw;
    background-color: rgba(255, 255, 255, 1);
    padding: 10px;
    padding-left: calc(10px + 1%);
    padding-right: calc(10px + 1%);
    /* border-radius: 10px; */
    overflow: auto;
    z-index: 1001;
    border-radius: 5%;
    max-height: 80%;
}

  #right-box {
    /* width: 450px; */
    width: 18vw;
    overflow: auto;
    height: 84vh; /* or set a specific value in pixels, like 500px */
    margin: 10vh 0px 0px 0px;
    font-size: 11px;  
    /* background-color: #0052F6;      */   
  }

  #right-boxCCs {
    /* width: 450px; */
    width: 18vw;
    overflow: auto;
    height: 84vh; /* or set a specific value in pixels, like 500px */
    margin: 10vh 0px 0px 0px;
    font-size: 11px;  
    /* background-color: #0052F6;      */   
  }

  #UserPanel {
    width: 100%;
    overflow: auto;
    height: 90vh;
    margin: 10vh 0px 0px 0px;
    font-size: 13px;    
    justify-content: center;
    align-items: center;      
    background-color: white;
}

#initialHiddenDemoResultadoss h3 {
    font-size: 12px; 
    margin: 0px 0px 0px 20px;
    color: rgb(122, 121, 121);  
    justify-content: center;
    align-items: center;  
}
  

  #left-box.collapsed {
    width: 40px; /* Cambia esto al ancho que prefieras para la "barra chica" */
    overflow: hidden; /* Esto oculta el contenido que se desborda cuando la caja está colapsada */
  }

  #toggle-button {
    /* Agrega las propiedades que quieras para hacer el botón más chico. Por ejemplo: */
    font-size: 14px;
    padding: 5px 10px;
  }


/* Light switch
   ========================================================================== */

.switch {
    display: inline-block;
    margin-bottom: 0px;
    margin-right: 30px;
}

.switch-button {
    /* background color when "off" */
    background: #FFFFFF;

    /* size of switch */
    width: 43px;
    height: 25px;
    border: 2px solid #E6E6E6;
    border-radius: 100px;
    display: block;

    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    outline: 0;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

/* Style of the "bubble" that toggles */
.switch-button::after {
    /* size of bubble */
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: #FFFFFF;
    position: relative;
    display: block;
    content: "";
    -webkit-transition: tranform .4s cubic-bezier(0.175, 0.885, 0.320, 1.275), 
                padding .3s ease, margin .3s ease;
    -o-transition: tranform .4s cubic-bezier(0.175, 0.885, 0.320, 1.275), 
                padding .3s ease, margin .3s ease;
    transition: tranform .4s cubic-bezier(0.175, 0.885, 0.320, 1.275), 
                padding .3s ease, margin .3s ease;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
            box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.switch-input {
    display: none;
}

.switch-button:hover::after {
    will-change: padding;
}

.switch-button:active::after {
    padding-right: .4rem;
}

/* "On" state
   ========================== */

.switch-input:checked + .switch-button {
    /* border and background color when the button is "on" */
    border-color: green; 
    background: green;
}

.switch-input:checked + .switch-button::after {
    /* bubble position when "on" */
    -webkit-transform: translateX(18px);
        -ms-transform: translateX(18px);
            transform: translateX(18px);
}

.switch-input:checked + .switch-button:active::after {
    margin-left: -.4rem;
}

/* Checkbox in disabled state
   ========================== */

.switch-input[type="checkbox"]:disabled + .switch-button {
    opacity: .6;
    cursor: not-allowed;
    -webkit-box-shadow: 0 0 0 transparent;
            box-shadow: 0 0 0 transparent;
}

.switch-input[type="checkbox"]:checked:disabled + .switch-button {
    /* border and background color when button is disabled */
    border-color: #cccccc;
    background: #cccccc;
}

.switch-container {
    text-align: right;
}

.section {
    border-bottom: 1px solid rgba(194, 180, 180, 0.598); /* añade una línea horizontal en la parte inferior de cada sección */
    padding: 8px 0; /* añade un poco de espacio encima y debajo del contenido de la sección */
    margin: -3; /* Este margen asegura que la línea llegue hasta el borde de la caja */
    box-sizing: border-box; /* Esta propiedad asegura que el padding y el borde estén incluidos en el ancho y alto total del elemento, permitiendo que la línea llegue hasta el borde de la caja */
}

.section-header {
    /* Estilos para el contenedor del título y el botón. */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header_2 {
    /* Estilos para el contenedor del título y el botón. */
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    /* Estilos para el título de la sección. */
    font-size: 14px;
    font-weight: normal;
}

.section-title_2 {
    /* Estilos para el título de la sección. */
    font-size: 14px;
    font-weight: normal;
    margin: 3%;
    margin-bottom: 0;
    margin-top: 0;
    justify-self: left;
}

.section-legend {
    /* Estilos para la leyenda. */
    font-size: 0.9em;
    color: #666;
}

.section-legend2 {
    /* Estilos para la leyenda. */
    font-size: 0.9em;
    color: #666;
    margin-left: 20px;
}

.section_CC {
    padding-top: 8px; /* añade un poco de espacio encima y debajo del contenido de la sección */
    margin-left: 20px;
    box-sizing: border-box; /* Esta propiedad asegura que el padding y el borde estén incluidos en el ancho y alto total del elemento, permitiendo que la línea llegue hasta el borde de la caja */
}

.section_CC-header {
    /* Estilos para el contenedor del título y el botón. */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section_CC-header_2 {
    /* Estilos para el contenedor del título y el botón. */
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.section_CC-title {
    /* Estilos para el título de la sección. */
    font-size: 14px;
    font-weight: normal;
}

.section_CC-title_2 {
    /* Estilos para el título de la sección. */
    font-size: 14px;
    font-weight: normal;
    margin: 3%;
    margin-bottom: 0;
    margin-top: 0;
    justify-self: left;
}

.section_CC-legend {
    /* Estilos para la leyenda. */
    font-size: 0.9em;
    color: #666;
}

.section_CC-legend2 {
    /* Estilos para la leyenda. */
    font-size: 0.9em;
    color: #666;
    margin-left: 20px;
}


  
#inputRadio,
#inputRadio2 {
    margin-left: 10px;
    width: 120px; /* Ajusta el ancho según tus necesidades */
    height: 30px; /* Ajusta la altura según tus necesidades */
    border: 1px solid #999999; /* Color y estilo del borde */
    border-radius: 4px; /* Borde redondeado */
    padding: 5px; /* Espacio interno del elemento */
  }
  
  #btn_DemoCalcularRadio {
    display: none;
  }


  #inputIsoTiempo,#inputIsoTiempo2{
    margin-left: 10px;
    width: 120px; /* Ajusta el ancho según tus necesidades */
    height: 30px; /* Ajusta la altura según tus necesidades */
    border: 1px solid #999999; /* Color y estilo del borde */
    border-radius: 4px; /* Borde redondeado */
    padding: 5px; /* Espacio interno del elemento */
  }

  #inputIsoTiempoCaminando,#inputIsoTiempoCaminando2{
    margin-left: 10px;
    width: 120px; /* Ajusta el ancho según tus necesidades */
    height: 30px; /* Ajusta la altura según tus necesidades */
    border: 1px solid #999999; /* Color y estilo del borde */
    border-radius: 4px; /* Borde redondeado */
    padding: 5px; /* Espacio interno del elemento */
  }


  #inputIsoDist, #inputIsoDist2{
    margin-left: 10px;
    width: 120px; /* Ajusta el ancho según tus necesidades */
    height: 30px; /* Ajusta la altura según tus necesidades */
    border: 1px solid #999999; /* Color y estilo del borde */
    border-radius: 4px; /* Borde redondeado */
    padding: 5px; /* Espacio interno del elemento */
  }

  .fixed-section {
    position: fixed;    
    background-color: white;
    z-index: 998;
    width: 100%;
  }

  .notfixed-section {
    overflow: auto;    
    background-color: white;  
    margin: 0px 0px 70px 0px;
  }

  .legend-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 5px;
    flex-basis: 100%; 
  }
  .legend-item img {
    margin-right: 10px;
    width: 24px;
  }

  .legend-item .legend-text {
    margin-right: 14px;
    width: 50vw;
  }
  
  .legend-icon {
    width: 15px;
    height: 15px;
    margin-right: 5px;
  }
  
  .legend-category {
    font-size: 14px;
  }

  .legend-item .switch {
    display: inline-block;
    margin-left: auto; /* Pushes the switch to the right */
    margin-right: 70px; /* Adds a 20px right margin */
  }
  


  .blue-icon {
    background-color: #CCCCCC; /* Gray background */
    border: 1px solid darkgray;
    color: white; /* White text */
    font-weight: bold;
    width: clamp(0px, 3vw, 45px);  /* Min 30px, preferred 3vw, max 50px */
    height: 100%; /* Takes full height of the parent */
    cursor: pointer;
    
    /* Flexbox for centering */
    display: flex;  
    justify-content: center;  /* Centers horizontally */
    align-items: center;  /* Centers vertically */
}
  
  /* Darker background on mouse-over */
  .blue-icon:hover {
    background-color: RoyalBlue;
  }

  .blue-icon i {
    font-size: clamp(10px, 1.3vw, 24px);
    line-height: normal;
}
  

  
.left-box-header {
    position: absolute;
    top: 10vh;
    left: 0;
    width: 4vw;
    height: 4vh;
    background-color: rgba(255, 255, 255, 1);
    z-index: 3;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-box-closeHolder {
    display: block;
    position: absolute;
    top: 10vh;
    left: 0;
    width: 4vw;
    height: 90vh;
    background-color: rgba(255, 255, 255, 1);
    z-index: 2; /* Add this */
}

  
#left-box {
    display: none;
    position: absolute;
    top: 14vh;
    left: 0;
    width: 25vw;
    height: 80vh;
    background-color: rgba(255, 255, 255,1);;
    padding: 10px;
    padding-left: calc(10px + 1%);
    padding-right: calc(10px + 1%);
    text-wrap-style: pretty;
    /* border-radius: 10px; */
    overflow: auto;
    z-index: 2; /* Add this */
}

  .right-box {
    position: absolute;
    top: 10vh;
    right: 0;
    width: 29vw;
    height: 84vh;
    background-color: rgba(255, 255, 255,1);;
    padding: 10px;
    /* border-radius: 10px; */
    overflow: auto;
    z-index: 2; /* Add this */
  }

  #interface .map-box {
    background: #fbfbfb;
    width: calc(100% - 0px);
    margin: 0vh 0 0 0;
    padding: 0 0;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}

  
.chart-container {
    position: relative;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    width: 70%;
    margin: 0 auto; /* Para centrar todo el bloque horizontalmente */
}

.chart-container2 {
    position: relative;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: flex-start; /* Centra verticalmente */
    width: 100%;
    height: 100%;
    margin-top: 0px important;
    margin: 0 auto; /* Para centrar todo el bloque horizontalmente */
}
  
#valueBox {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #00C896;
}

#valueBoxnew {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #00C896;
}
.valueBoxnew {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(0.95rem, 1.1vw, 1.3rem);
    font-weight: bold;
    color: #00C896;
}

#valueBoxnew2 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #00C896;
}
.valueBoxnew2 {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(0.95rem, 1.1vw, 1.3rem);
    font-weight: bold;
    color: #00C896;
}
  
#valueBox2 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0052F6;
}

#valueBox5 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxResFree {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBox6 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxScore {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0052F6;
}
#valueBoxSaturacion {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: darkolivegreen;
}

#valueBoxMovCC {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxRadioInf {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxIndiceCC {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxIndiceCC_Calculadora {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxPobFlotCC {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0052F6;
}

#valueBoxPobFijaCC {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxCCs2km {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0FC189;
}

#valueBoxComerciosCC {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #0052F6;
}

#valueBoxTIR {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #2196F3;
}

#valueBoxTIR2 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #2196F3;
}

#valueBoxTIR3 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #2196F3;
}

.valueBoxTIR {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(0.95rem, 1.1vw, 1.3rem);
    font-weight: bold;
    color: #2196F3;
}

  #valueBox3{
    /* position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%); */
    margin: 20px 0 1px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #F0692C;
  }


  #IndicadorDeciles {
    display: none;
    position: absolute;
    bottom: 6vh;
    left: 9vh;
    z-index: 9999; 

}

#IndicadorDeciles img {
    width: 45vh; /* Set the width of the image to 30 pixels (adjust as needed) */
}
  


#btn-container {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 2;
}

#btn-container4 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 2;
}


#btn-container2 {
    position: absolute;
    top: calc(10vh + 50px); /* Moves it just below btn-container */
    right: 25vw;
    width: 200px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
}

#btn-container3 {
    position: absolute;
    top: calc(10vh + 100px); /* Moves it just below btn-container */
    right: 25vw;
    width: 200px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
}

#btn-containernew {
    position: absolute;
    top: calc(10vh + 150px); /* Moves it just below btn-container */
    right: 25vw;
    width: 200px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
}

.custom-button {
    background-color: #4a90e2;
    color: #fff;
    font-weight: bold;
    font-size: auto;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: auto; /* Adjust as needed */
    height: auto; /* Adjust as needed */
}

.fila-inmueble {
    display: grid;
    grid-template-columns: 2fr 2fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 14px;
}

.fila-CentroComercial {
    display: grid;
    grid-template-columns: 50% 20% 30%;
    gap: minmax(6px, auto);
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 14px;
}

.columna.nombre,
.columna.potencial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.columna.boton {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.btn-ir {
    padding: 10px 16px;
    background-color: #0055ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-ir:hover {
    background-color: #003bb3;
}

.btn-irCC {
    padding: 10px 16px;
    background-color: #0055ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-irCC:hover {
    background-color: #003bb3;
}

.custom-button4 {
    background-color: #4a90e2;
    color: #fff;
    font-weight: bold;
    font-size: auto;
    border-radius: 4px;
    margin-top: 4%;
    border: none;
    cursor: pointer;
    width: 100%; /* Adjust as needed */
    height: 80%; /* Adjust as needed */
}

.custom-button2 {
    background-color: #035310;
    color: #fff;
    font-weight: bold;
    font-size: auto;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 160px; /* Adjust as needed */
    height: 40px; /* Adjust as needed */
}

.custom-button3 {
    background-color: #c59512;
    color: #fff;
    font-weight: bold;
    font-size: auto;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 160px; /* Adjust as needed */
    height: 40px; /* Adjust as needed */
}

.custom-buttonnew {
    background-color: #b60487;
    color: #fff;
    font-weight: bold;
    font-size: auto;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 160px; /* Adjust as needed */
    height: 40px; /* Adjust as needed */
}

#btn_GuardarUbicacion {
    opacity: 0.4;
    cursor: not-allowed;
}

#btn_VerReporte {
    opacity: 0.4;
    cursor: not-allowed;
}

#btn_GenerarReporte2 {
    opacity: 0.4;
    cursor: not-allowed;
}


.custom-button:hover {
  background-color: #357bd8;
}

.custom-button2:hover {
    background-color: #146922;
  }

  .custom-button3:hover {
    background-color: #9b7713;
  }

  .custom-buttonnew:hover {
    background-color: #a95191;
  }


.section-title-with-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
}

.section-title-with-controls-CC {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding-top: 8px;
}

  #seccion1 {
    padding-top: 20px;
  }

  #seccion7 {
    padding-top: 20px;
    margin-left: 20px;
  }

  #seccion8 {
    padding-top: 20px;
    margin-left: 20px;
  }

  #seccion9 {
    padding-top: 20px;
    margin-left: 20px;
  }
  
  #seccion2 {
    padding-top: 20px;
  }
  #seccion3 {
    padding-top: 20px;
  }
  #seccion4 {
    padding-top: 20px;
    margin-left: 20px;
  }
  #seccion6 {
    padding-top: 20px;
    margin-left: 20px;
  }
  #seccion7 {
    padding-top: 20px;
    margin-left: 20px;
  }

  /* Estilos para las gráficas */
  .edades-graf,
  .my-chart-container,
  .socio-graf {
    width: 100%;
    margin-top: 10px;
  }

#legend4 {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendVivienda_p {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendVivienda_m {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendAlumnos {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendSaturacion_km {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendSaturacion_250 {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendSaturacionAutoServicio {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendSaturacionLentes {
    width: 60%;
    height: auto;
    align-self: center;
}


#legendCC {
    width: 60%;
    height: auto;
    align-self: center;
}

#legend6 {
    width: 60%;
    height: auto;
    align-self: center;
}

#legend3 {
    width: 60%;
    height: auto;
    align-self: center;
}


/* Styles for hover effect and background color change */
.btn-icon:hover {
    background-color: #a3a5a7;
    animation: pulse 1s infinite;
}

/* Common styles for button icons */
.btn-icon {
    border: none;
    background: transparent;
    cursor: pointer;
    margin-right: 1px;
    padding: 10px;
    margin-left: 1px;
    margin-top: 1px;
    border: 1px solid black; /* 1px black border */
    border-radius: 10px; /* Rounded edges */
}

/* Remove outline on focus */
.btn-icon:focus {
    outline: none;
}

/* Styles for the button icon images with rounded edges */
.btn-icon img {
    width: 2vw;
    height: 2vw;
}

.btn-text {
    margin-bottom: 1px; /* Espacio entre el texto y el icono */
    font-size: 11px;
    font-weight: bold;
    color: black;
    text-align: center;
}

/* Add a new style for selected button */
.btn-icon-container.selected .btn-icon {
    background-color: #a3a5a7;
}

/* Add a new style for selected button icon */
.btn-icon-container.selected .btn-icon img {
    filter: grayscale(100%) brightness(20%);
}

/* Styles for grayscale and brightness on hover for non-selected buttons */
.btn-icon-container:not(.selected):hover .btn-icon img {
    filter: grayscale(100%) brightness(50%);
}


.btn-icon-container {
    text-align: center;

}

#HideDemoRadio {
    display: block;
}
#HideDemoRadio2 {
    display: block;
}

#loading-screen {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #ffffff; */
    background: transparent;
    z-index: 9999;
    border-radius: 10px;

}

#overlay-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.2); /* puedes ajustar opacidad */
  backdrop-filter: blur(5px);
  z-index: 1000; /* debajo del popup, encima de todo lo demás */
  display: none;
}

#loading-background {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 9998;
}

#loading-screen img {
    width: 8vw; /* Adjust the width of the loading GIF */
    height: 8vw; /* Adjust the height of the loading GIF */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#PolygonInfoPopup {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    padding-top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#ManzanaPlaceholder,
#NSEPlaceholder{
    font-weight: bold;
}


#PolygonInfoPopup button {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#PolygonInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#PolygonInfoPopup button:hover {
    background-color: darkred;
}

#PolygonInfoPopup button:focus {
    outline: none;
}


#GridInfoPopup {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#DecilInfoPopup, #IndiceInfoPopup {
    display: block;
    position: fixed;
    top: 17%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    padding-top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
}

.label {
  flex: 1;
  text-align: left;
}

.value {
  text-align: center;
  min-width: 40px;
}

#GridInfoPopupVivienda_p {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    padding-top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#GridInfoPopupVivienda_m {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    padding-top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#GridInfoPopupSaturacion_AutoServicio {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#GridInfoPopupSaturacion_Lentes {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    padding-top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#GridInfoPopupAlumnos {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#GridInfoPopupSaturacion_km {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#GridInfoPopupSaturacion_250 {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#IDPlaceholder, #VisitsPlaceholder {
    font-weight: bold;
}

#ManzanaPlaceholderHetmap, #TOT_Placeholder {
    font-weight: bold;
}


#ManzanaPlaceholderVivienda_p, #TOT_Vivienda_p {
    font-weight: bold;
}


#ManzanaPlaceholderVivienda_m, #TOT_Vivienda_m {
    font-weight: bold;
}

#ManzanaPlaceholderAlumnos, #TOT_Alumnos {
    font-weight: bold;
}

#ManzanaPlaceholderSaturacion_km, #TOT_Saturacion_km {
    font-weight: bold;
}

#ManzanaPlaceholderSaturacion_250, #TOT_Saturacion_250 {
    font-weight: bold;
}

#DecilInfoPopup button {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#DecilInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#DecilInfoPopup button:hover {
    background-color: darkred;
}

#DecilInfoPopup button:focus {
    outline: none;
}

#IndiceInfoPopup button {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#IndiceInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#IndiceInfoPopup button:hover {
    background-color: darkred;
}

#IndiceInfoPopup button:focus {
    outline: none;
}

#GridInfoPopupVivienda_p button {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupVivienda_p button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupVivienda_p button:hover {
    background-color: darkred;
}

#GridInfoPopupVivienda_p button:focus {
    outline: none;
}

#GridInfoPopupVivienda_m button {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupVivienda_m button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupVivienda_m button:hover {
    background-color: darkred;
}

#GridInfoPopupVivienda_m button:focus {
    outline: none;
}

#GridInfoPopupSaturacion_AutoServicio button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupSaturacion_AutoServicio button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupSaturacion_AutoServicio button:hover {
    background-color: darkred;
}

#GridInfoPopupSaturacion_AutoServicio button:focus {
    outline: none;
}

#GridInfoPopupSaturacion_Lentes button {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupSaturacion_Lentes button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupSaturacion_Lentes button:hover {
    background-color: darkred;
}

#GridInfoPopupSaturacion_Lentes button:focus {
    outline: none;
}

#GridInfoPopupAlumnos button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupAlumnos button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupAlumnos button:hover {
    background-color: darkred;
}

#GridInfoPopupAlumnos button:focus {
    outline: none;
}

#GridInfoPopupSaturacion_km button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupSaturacion_km button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupSaturacion_km button:hover {
    background-color: darkred;
}

#GridInfoPopupSaturacion_km button:focus {
    outline: none;
}


#GridInfoPopupSaturacion_250 button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#GridInfoPopupSaturacion_250 button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#GridInfoPopupSaturacion_250 button:hover {
    background-color: darkred;
}

#GridInfoPopupSaturacion_250 button:focus {
    outline: none;
}





#WSInfoPopup {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#Grupo_WSPlaceholder, #Ventas_WSPlaceholder {
    font-weight: bold;
}

#Grupo_InmueblesPlaceholder, #Ventas_InmueblesPlaceholder {
    font-weight: bold;
}

#WSInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#WSInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#WSInfoPopup button:hover {
    background-color: darkred;
}

#WSInfoPopup button:focus {
    outline: none;
}

#InmueblesInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1vh;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#InmueblesInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#InmueblesInfoPopup button:hover {
    background-color: darkred;
}

#InmueblesInfoPopup button:focus {
    outline: none;
}

#CCInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1vh;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#CCInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#CCInfoPopup button:hover {
    background-color: darkred;
}

#CCInfoPopup button:focus {
    outline: none;
}

.btn.btn-generar-pdf {
    background-color: #0b9167;
    border: none;
    border-radius: 5px;
    margin-left: 1vw;
    color: #ffffff; /* Text color (white) */
    padding: 8px 12px 10px; /* Adjust padding as needed */
    cursor: pointer; /* Change cursor on hover to indicate it's clickable */
    height: 6vh;
    display: none;
}

.btn.btn-generar-pdf-CC {
    background-color: #0b9167;
    border: none;
    border-radius: 5px;
    margin-left: 1vw;
    color: #ffffff; /* Text color (white) */
    padding: 8px 12px 10px; /* Adjust padding as needed */
    cursor: pointer; /* Change cursor on hover to indicate it's clickable */
    height: 6vh;
    display: block;
    justify-self: center;
    margin-bottom: 1vh;
}

#inputRadio,
#inputIsoTiempo,
#inputIsoTiempoCaminando,
#inputIsoDist
{
    height: 6vh;
}


.CB_Container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 6px; /* Adjusted margin-bottom */
    margin-left: 15%;
    cursor: pointer;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.CB_Container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button with adjusted size */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 12.5px;
    width: 12.5px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.CB_Container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.CB_Container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Style the checkmark/indicator */
.CB_Container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.CB_Container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.CB_Container .checkmark:after {
    left: 4.5px;
    top: 2.5px;
    width: 2.5px;
    height: 5px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}



#legendWS {
    margin-top: 20px;
    width: 60%;
    height: auto;
    margin-left: 10%;
    align-self: center;
}

#legendInmuebles {
    margin-top: 20px;
    width: 70%;
    height: auto;
    justify-self: center;
    align-self: center;
}

#CrimenInfoPopup {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#MunCrimenPlaceholder, #IndiceCrimenPlaceholder {
    font-weight: bold;
}

#CrimenInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#CrimenInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#CrimenInfoPopup button:hover {
    background-color: darkred;
}

#CrimenInfoPopup button:focus {
    outline: none;
}

#legendDelincuencia {
    width: 60%;
    height: auto;
    align-self: center;
}

#RemesasInfoPopup {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}

#RemesasInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#RemesasInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#RemesasPlaceholder, #IndiceRemesasPlaceholder {
    font-weight: bold;
}

#RemesasInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    float: right;
}

#RemesasInfoPopup button:hover {
    background-color: darkred;
}

#RemesasInfoPopup button:focus {
    outline: none;
}

#legendRemesas {
    width: 60%;
    height: auto;
    align-self: center;
}

#CCPlaceholder, #IndiceRemesasPlaceholder {
    font-weight: bold;
}

#CCPlaceholder, #IndiceCCPlaceholder {
    font-weight: bold;
}

#legendCC {
    width: 60%;
    height: auto;
    align-self: center;
}

#legendMovilidad {
    width: 60%;
    height: auto;
    align-self: center;
}


#MovilidadInfoPopup button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Align to the right */
    margin-right: auto; /* Ensure it's centered if needed */
    padding: 0; /* Remove extra spacing */
    float: right; /* Align the button to the right */
}

#MovilidadInfoPopup button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust size for better visibility */
}

#MovilidadInfoPopup button:hover {
    background-color: darkred;
}

#MovilidadInfoPopup button:focus {
    outline: none;
}
#MovilidadInfoPopup {
    display: block;
    position: fixed;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 25vw; /* Adjust width as needed */
    height: 12vw;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    font-size: 14px;
}
#IDPlaceholder, #VisitsPlaceholder {
    font-weight: bold;
}

.closeButton {
    background-color: #4a90e2;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 1vw; /* Adjust as needed */
    height: 1vw; /* Adjust as needed */
}

.closeButton:hover {
  background-color: #357bd8;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 0px 10px gray;
}

.modal2 {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal2-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    box-shadow: 0px 0px 10px gray;
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

button {
    margin: 5px;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#confirmDelete {
    background-color: red;
    color: white;
}

#cancelDelete {
    background-color: gray;
    color: white;
}

.switch-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.switch-label {
  font-size: 14px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch_2 {
    margin: 3%;
    margin-bottom: 0;
    margin-top: 0;
    align-self: center;
    position: relative;
    display: inline-block;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 34px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider::before {
  transform: translateX(20px);
}



#right-panel-custom {
    position: absolute;
    top: 10vh; /* aligned with .page-header */
    left: 0;   /* place it on the left */
    width: 16vw; /* slightly less wide than 25vw */
    height: 88vh; /* match map height */
    background-color: rgba(255, 255, 255, 1);
    padding: 10px 2%;
    overflow-y: auto;
    z-index: 3; /* Make sure it's above background but below modals KAM */
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1); /* Optional visual effect */
}


#botonWhatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* space between icon and text */
  padding: 0.5vh 1vw;
  background-color: darkgreen;
  border: none;
  border-radius: 5px;
  height: 6vh;
  min-width: 110px;
  max-width: 100%;
  font-size: 1.2vh;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#botonWhatsapp img {
  height: 2.5vh;
  width: auto;
}

#botonWhatsapp span {
  display: inline-block;
  font-size: 1.4vh;
}

