:root {
    --main-color: #010123; /* Azul oscuro */
    --second-color: #b5babe; /* Gris */
    --third-color: #910bcf;
}


/* --------------------------------CONGIGURACIÓN DEL MENÚ LATERAL------------------*/
/*Importar google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');


* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--main-color);
}

nav {
    width: 60px; /* Anchura inicial del menú */
    height: 95vh;
    background-color: var(--main-color);
    top: 0;
    left: 0;
    padding-top: 20px;
    transition: width 0.3s ease;
    border-radius: 15px; /* Bordes redondeados */
    overflow: hidden; /* Oculta el desbordamiento */
    padding: 0px 0px 0px 0px;
    margin: 5px;
    box-shadow: 0 2px 35px rgb(0, 0, 0.1);
    position: fixed; /* Asegúrate de que sea fixed */
    z-index: 1000; /* Un valor alto para asegurarte de que se muestre sobre otros elementos */
}


nav.show {
    transform: translateX(0); /* Muestra el menú */
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin: 20px 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    transition: background-color 0.3s; 
}

nav ul li a i {
    font-size: 20px; /* Ajusta el tamaño según sea necesario */
    margin-right: 10px; /* Espacio entre ícono y texto */
}

/*nav ul li a:hover {
    background-color: #7915d6; /* Fondo al pasar el mouse */
/*}*/
nav ul li:nth-child(n+2) a:hover {
    background-color: #7915d6; /* Efecto solo desde la segunda etiqueta de ancla <a> */
}

main {
    margin-left: px; /* Espacio para el menú */
    padding: 20px;
}


/* Configuración de la imágen*/
.logo{
    text-align: left;
    display: flex;
    transition: all 0.5s ease;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo span{
    font-weight: bold;
    padding-left: 15px;
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
}


.nav-item{
    position: center; /*Centrar el texto de la barra*/
    top: 12px;
    margin-left: 10px;
}

nav:hover {
    width: 180px; /* Ancho del menú al pasar el mouse */
}

/* Cuando se hace hover en la barra de navegación */
nav:hover .logo img {
    width: 150px;
    height: 150px;
}

nav:hover ul li a .nav-item {
    opacity: 1; /* Muestra el texto al pasar el mouse */
    visibility: visible; /* Muestra el texto al pasar el mouse */
}
nav ul li a .nav-item {
    opacity: 0; /* Oculta el texto al principio */
    visibility: hidden; /* Oculta el texto al principio */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.contieneFoto{
    padding: 2px;
    margin: -8px;
    flex-direction: row;
}


.subMenu{
    display: flex;
}

.caja-btnRefrescar {
    margin-top: 20px; /* Ajusta para subir la caja */
    transform: translateY(-22px); /*Para subir el botón de limpiar consola*/
}

.caja-btnRefrescar i {
    font-size: 30px; /* Ajusta el tamaño del ícono */
    color: white; /* Cambia el color del ícono a blanco */
    display: block; /* Asegura que el ícono sea un bloque */
}

.caja-btnRefrescar:hover i {
    color: var(--third-color); /* Cambia el color del ícono al pasar el mouse */
    transform: scale(1.1); /* Aumenta el tamaño del ícono al 110% */
}

/*-------------------------FIN DE CONFIGURACIÓN DEL MENÚ VERTICAL -------------------------------*/


.base{
    width: 100%;
    height: 110%;
}

.contenedor{
    height: 105vh;
}

.columnas {
    display: flex;
    align-items: center;
    height: 90vh;
    width: 95%;
    margin: 0px;
    border: 1px solid #258e5d;
    padding: 0px;
    max-width: 1300px;
    background: var(--main-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    justify-content: space-evenly;
    margin-left: auto;
}
h1 {
    text-align: center;
    color: white;
    width: 50%;
}

.h3 {
    margin: 0em;
    font-size: 15px;
    align-items: flex-end;
    text-align: center;
}
.columnaIzquierda {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    background-color: var(--second-color);
    height: 90h;
    width: 500px;
    border-radius: 8px;
}

.columnaCentral {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 10%;
    height: 100%;
    background-color: var(--second-color);
    margin: 0px;
    padding: 0px;
    border-radius: 8px;
}

.caja1Central{
    width: 90%;
    height: 45%;
    background: #337f54;
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
}
.control{
    display: flex;
    align-items: center;
    justify-content: center;
}
.caja2Central{
    width: 90%;
    height: 45%;
    background: #3288cf;
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
}

.caja3Central{
    width: 90%;
    height: 45%;
    background: var(--second-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
}

.fader1 {
    writing-mode: bt-lr; /* Cambia la orientación de la barra */
    -webkit-appearance: slider-vertical; /* Apariencia vertical en navegadores WebKit */
    width: 8px;
    height: 100px;
    margin: 10px;
}

.faders1{
    border-radius: 5px;
    border: 2px solid --third-color;
    font-size: 13px;
}

.fader{
    
    cursor: pointer;
    background: #e7a413;
}

.eco{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: white;
}
.caja1CIzquierda{
    width: 100%;
    height: 30%;
    background: var(--second-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.caja2CIzquierda{
    width: 100%;
    height: 30%;
    background: var(--second-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: -8px;
}
.caja3CIzquierda{
    width: 100%;
    height: 27%;
    background: var(--second-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 15px;
}

.cajaIzquierda3_1{
    width: 90%;
    height: 15%;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
    margin-top: 15px;
}

.cajaIzquierda3_2{
    width: 90%;
    height: 10%;
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0px;
    margin: 0px;
}
.caja2CIDerecha_1{
    width: 90%;
    height: 2%;
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0px;
    margin: 0px 0px 0px 15px;
}
.cajaIzquierda3_3{
    width: 99%;
    height: 65%;
    border: solid 3px var(--third-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
}


.columnaDerecha {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    background-color:var(--main-color);
    height: 90h;
    width: 500px;
}

.caja1CIDerecha{
    width: 100%;
    height: 10%;
    background: var(--main-color);
    border-radius: 0px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.caja2CIDerecha{
    width: 96%;
    height: 24%;
    border: solid 3px var(--third-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.caja3CIDerecha{
    width: 80%;
    height: 24%;
    border: solid 3px var(--third-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.caja4CIDerecha{
    width: 94%;
    height: 24%;
    border: solid 3px var(--third-color);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.contienePerillas{      /*Contenedor de las perillas en la columna derecha*/
    height: 86.1%;
    width: 103%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--second-color);
    border-radius: 8px;
}

.contienePerillas > * {
    transform: translateY(10px); /* Bajar los elementos de la caja contienePerillas, es la caja que contiene las tres cajas de perillas en la columna derecha */
}

.contenedor {
    max-width: 1300px;
    height: 95vh;
    margin: auto;
    background: var(--main-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.caja1Central{
    background: var(--second-color);
    border-radius: 8px;
    border: 3px solid var(--third-color);
}

.caja2Central{
    background: var(--second-color);
    border-radius: 8px;
    border: 3px solid var(--third-color);
}

.caja3Central{
    background: var(--second-color);
    border-radius: 8px;
    border: 3px solid var(--third-color);
}

/*Configuración de las cajas de faders inzquierda*/

.caja1Faders{
    background: var(--second-color);
    padding: 8px;
    border-radius: 8px;
    border: 3px solid var(--third-color);
}

.caja2Faders{
    background: var(--second-color);
    padding: 5px;
    border-radius: 8px;
    border: 3px solid var(--third-color);
}

.faders{  /*Borde para las etiquetas de cada faders*/
    border-radius: 5px;
    border: 2px solid var(--third-color);
    display: inline-block; /* Para que respeten el ancho que les asignamos */
    width: 69px; /* Ajusta este valor según la longitud que prefieras */
    text-align: left; /* Puedes cambiar a 'center' o 'right' si lo prefieres */
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
    overflow: hidden; /* Si el texto es más largo que el ancho, lo oculta */
    text-overflow: ellipsis; /* Opcional, añade puntos suspensivos si el texto es muy largo */
    font-size: 13px; /* Tamaño de la letra* para los faders en la primera columna*/
}
.perillas{
    border-radius: 5px;
    border: 2px solid var(--third-color);
    display: inline-block; /* Para que respeten el ancho que les asignamos */
    width: 66px; /* Ajusta este valor según la longitud que prefieras */
    text-align: left; /* Puedes cambiar a 'center' o 'right' si lo prefieres */
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
    overflow: hidden; /* Si el texto es más largo que el ancho, lo oculta */
    text-overflow: ellipsis; /* Opcional, añade puntos suspensivos si el texto es muy largo */
    font-size: 13px; /* Tamaño de la letra para las perillas en la primera columna*/
}

.h4{
    color: #131413;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.knob-container {
    display: flex; /* Cambiamos a flexbox para alinear las perillas horizontalmente */
    justify-content: center; /* Centra las perillas */
    align-items: center; /* Alinea verticalmente los elementos */
}

/* Estilo de la perilla */
.knob {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #ddd 40%, #333333 60%);
    border-radius: 50%;
    position: relative;  
    margin: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

/* Indicador dentro de la perilla */
.knob-indicator {
    width: 10px;
    height: 10px;
    background: green;
    position: absolute;
    top: 10px; /* Posicionamos el indicador en la parte superior */
    border-radius: 50%;
}

.knob-indicator2 {
    width: 10px;
    height: 10px;
    background: rgb(25, 12, 214);
    position: absolute;
    top: 10px; /* Posicionamos el indicador en la parte superior de la perilla*/
    border-radius: 50%;
}

.knob-indicator3 {
    width: 10px;
    height: 10px;
    background: rgb(214, 15, 12);
    position: absolute;
    top: 10px; /* Posicionamos el indicador en la parte superior */
    border-radius: 50%;
}

/*Tamaño de las perillas*/
.knob {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 10px; /* Espacio entre las perillas */
}

.h2perillas{
    color: #131413;
    font-size: 20px;
    margin: 0;
    padding: 0;
}


/*Personalización del formulario de inicio*/

.login-form-overlay {
    position: fixed; /* Asegura que siempre esté encima del contenido */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para resaltar el formulario */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Asegura que esté sobre cualquier otro contenido */
}

.login-form {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    background-image: url('EstaIMG.jpg'); /* Ruta de tu imagen */
    background-size: cover; /* Ajusta la imagen para cubrir todo el fondo */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center; /* Centra la imagen */
    color: #fff; /* Contraste del texto */

    /* Superposición de color semitransparente */
    background-color: rgba(0, 0, 0, 0.5); /* Negro con 50% de opacidad */
    background-blend-mode: overlay;
}

.login-form h1 {
    margin-bottom: 60px;
    font-size: 25px;
    color: #f6f1f1;
    text-align: center;
    width: 100%;
}

.login-form h4 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #efebeb;
    text-align: center;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #0056b3;
}