body {
    font-family: Montserrat, sans-serif;
    background: #000428;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(45deg, #000428, #004e92);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(45deg, #000428, #004e92);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    background-attachment: fixed;

    color: #ffffff;
    text-shadow: 1px 1px 5px black;
}

body::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    /* Ancho del scrollbar */
}

body::-webkit-scrollbar-track {
    background-color: transparent !important;
    /* Color del fondo del scrollbar */
}

body::-webkit-scrollbar-thumb {
    background-color: #626eee;
    /* Color del thumb del scrollbar */
    border-radius: 10px;
    /* Bordes redondeados del thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff;
    /* Color del thumb al pasar el mouse */
}

img {
    filter: drop-shadow(0 0 0.25rem #000000);
}

header {
    grid-area: header;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    color: white;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

h1 {

    font-family: Ubuntu, sans-serif;
}

h2 {

    font-family: Ubuntu, sans-serif;
}

h3 {

    font-family: Ubuntu, sans-serif;
}

.container {
    margin: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: 80px auto 1fr auto 50px;
    grid-template-columns: 1fr 4fr 1fr;
    grid-template-areas:
        "left-aside     header      header"
        "left-aside     banner      banner"
        "left-aside     main        main"
        "left-aside     low-content low-content"
        "footer         footer      footer";
    grid-gap: 5px;
    padding: 10px;
}

.center-container {
    display: flex;
    justify-content: center;
    /* Centrar horizontalmente */
    align-items: center;
    /* Centrar verticalmente */
    height: 100vh;
    /* 100% de la altura del viewport */
}

.glass-effect {
    background: rgba(209, 213, 219, 0.15);
    backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(209, 213, 219, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
}

.cube-texture {
    background-image: linear-gradient(30deg, rgba(8, 21, 36, .2) 12%, transparent 12.5%, transparent 87%, rgba(8, 21, 36, .2) 87.5%, rgba(8, 21, 36, .2)), linear-gradient(150deg, rgba(8, 21, 36, .2) 12%, transparent 12.5%, transparent 87%, rgba(8, 21, 36, .2) 87.5%, rgba(8, 21, 36, .2)), linear-gradient(30deg, rgba(8, 21, 36, .2) 12%, transparent 12.5%, transparent 87%, rgba(8, 21, 36, .2) 87.5%, rgba(8, 21, 36, .2)), linear-gradient(150deg, rgba(8, 21, 36, .2) 12%, transparent 12.5%, transparent 87%, rgba(8, 21, 36, .2) 87.5%, rgba(8, 21, 36, .2)), linear-gradient(60deg, rgba(8, 21, 36, .2) 25%, transparent 25.5%, transparent 75%, rgba(8, 21, 36, .2) 75%, rgba(8, 21, 36, .2)), linear-gradient(60deg, rgba(8, 21, 36, .2) 25%, transparent 25.5%, transparent 75%, rgba(8, 21, 36, .2) 75%, rgba(8, 21, 36, .2));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.left-aside {
    grid-area: left-aside;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 1rem;
}

.left-aside img {
    align-self: center;
    min-width: 60px;
    min-height: 40px;
    max-width: 80px;
    max-height: 80px;
    position: relative;
}

.left-aside ul {
    list-style: none;
    padding: 0;
}

.left-aside ul li {
    list-style: none;
    padding: 0;
    padding: 1rem 0.3rem;
    border-bottom: 1px solid white;
    /* Añade una línea debajo de cada elemento */
}

.left-aside ul li:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 5px -3px rgba(83, 112, 243, 0.8);
    transition: all 0.3s ease;
}


.left-aside ul li a {
    color: white;
    text-decoration: none;
}

.right-aside {
    grid-area: right-aside;
    background-color: #f4f4f4;
    padding: 1rem;
}

.banner {
    gap: 10px;
    grid-area: banner;
    padding: 10px 10px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
}

.banner .card {
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 calc(20% - 10px);
    box-sizing: border-box;
    text-align: center;
    margin: 0;
    min-height: 5rem;
    display: flex;
    justify-content: space-between;
}

.banner .card img {
    height: 75px;
}

main {
    grid-area: main;
    padding: 1rem;

}

.upper-cards {
    gap: 10px;
    padding: 10px 10px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
}

.upper-cards .card {
    border-radius: 10px;
    padding: 20px 10px 10px 10px;
    flex: 1 1 calc(25% - 10px);
    box-sizing: border-box;
    margin: 0;
    max-height: 20rem;
}

.low-content {
    grid-area: low-content;
    padding: 1rem;
    height: 15rem;
}

.lower-cards {
    gap: 10px;
    padding: 10px 10px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    height: 14rem;
}

.lower-cards .card {
    border-radius: 10px;
    padding: 20px 10px 10px 10px;
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
    margin: 0;
    display: grid;
    height: 14rem;
}

.low-table {
    text-align: center;
    width: 100%;
}

.low-table img {
    align-self: center;
    height: 2rem;
}

.button {
    border: 1.5px solid rgba(209, 213, 219, 1);
    border-radius: 10px;
    color: white;
    padding: 10px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    width: 4rem;
}

.button:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.btn-grad {
    border: 1.5px solid rgba(209, 213, 219, 1);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: .5s;
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: block
}

.btn-grad:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none
}

.table-haver {
    overflow-y: auto;
    color: white;
    height: 10rem;
}

/* Estilos del scrollbar */
.table-haver::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    /* Ancho del scrollbar */
}

.table-haver::-webkit-scrollbar-track {
    background-color: transparent !important;
    /* Color del fondo del scrollbar */
}

.table-haver::-webkit-scrollbar-thumb {
    background-color: #626eee;
    /* Color del thumb del scrollbar */
    border-radius: 10px;
    /* Bordes redondeados del thumb */
}

.table-haver::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff;
    /* Color del thumb al pasar el mouse */
}

footer {
    grid-area: footer;
    color: white;
    text-align: center;
    padding: 1rem;
}


input[readonly] {
    background-color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
}

select[readonly] {
    background-color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
}

.card {
    padding: 1rem;
    margin: 1rem 0;
}

.card-texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    margin: 0px;
}

.card-texting {
    margin: 0px;
}

.chart {
    min-height: 5rem;
    max-height: 14rem;
}

.card-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title-container .button {
    padding: 2px;
    margin: 0;
    cursor: pointer;
    width: 2rem;
}



/* -----------Seccion de charts o de garficos modificada ------------- */

.chart {
    min-height: 5rem;
    max-height: 14rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.outer {
    fill: transparent;
    stroke-width: 15;
    stroke-dasharray: 376;
    transition: stroke-dashoffset 0.5s;
    stroke: #0015ff;
}

#cont-chart-two .outer {
    stroke: #626eee;
}

#cont-chart-three .outer {
    stroke: #626eee;
}

#chart-container {
    width: 100%;
    height: 300px;
    margin: 0 auto;
}

#cont-chart-one {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.highcharts-title,
.highcharts-axis-title,
.highcharts-axis-labels text {
    fill: white !important;
    font-weight: bold;
    font-size: 12px;
}

@media (max-width: 1530px) {

    #chart-one {
        max-width: 22.5rem;
    }

    #chart-two {
        max-width: 17.5rem;
    }

    #chart-three {
        max-width: 17.5rem;
    }
}

@media (max-width: 1382px) {

    #chart-one {
        max-width: 25rem;
    }

    #chart-two,
    #chart-three {
        max-width: 13rem;
        min-height: 9rem;
    }
}

@media (max-width: 678px) {

    .container {
        height: auto;
        display: unset;
        grid-template-rows: auto;
        grid-template-columns: 677px;
        grid-template-areas:
            "header"
            "left-aside"
            "banner"
            "main"
            "low-content"
            "footer";
        grid-gap: 5px;
        padding: 10px;
    }

    .upper-cards .card {
        border-radius: 10px;
        padding: 20px 10px 10px 10px;
        flex: 1 1 calc(25% - 10px);
        box-sizing: border-box;
        margin: 0;
        max-height: 25rem;
    }

    #chart-one {
        max-width: 30rem;
        min-height: 17rem;
    }

    #chart-two {
        max-width: 15rem;
    }

    #chart-three {
        max-width: 15rem;
    }

    .lower-cards {
        flex-wrap: nowrap;
        flex-direction: column;
    }
}

@media (max-width: 592px) {

    #chart-one {
        max-width: 25rem;
        min-height: 17rem;
    }

    #chart-two {
        /* max-width: 10.5rem; */
    }

    #chart-three {
        /* max-width: 10.5rem; */
    }
}

@media (max-width: 492px) {

    #chart-one {
        max-width: 22rem;
        min-height: 14rem;
    }

    #chart-two {
        /* max-width: 10.5rem; */
    }

    #chart-three {
        /* max-width: 10.5rem; */
    }
}

@media (max-width: 450px) {

    #chart-one {
        max-width: 18rem;
        min-height: 14rem;
    }

    #chart-two {
        /* max-width: 10.5rem; */
    }

    #chart-three {
        /* max-width: 10.5rem; */
    }
}