

header{display: none !important;}
#val-usuarios{
  color: #2bbc56;
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#qodef-page-inner {
    left: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#context{
    width: 100%;
    left: 0;
    top: 0;;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#sidebar{
    position: fixed;
    width: 12vw;
    height: 100vh;
    top: 0;
    left: 0;
    padding: 1vw 0;
    overflow: hidden;
    background-color: white;
    box-shadow:var(--shadow);
    z-index: 100;

}
.collapsed #sidebar{
    width: 3vw;
}

#sidebar section{
    width: 12vw;
    padding: 0 5%;
}

#sidebar .column{
    position: absolute;
    height: 100%;
}
#sidebar section .inner{
    width: 3vw;
    left: 0;
    padding: 2.5%;
}
#sidebar section .outter{
    width: 9vw;
    left: 25%;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#sidebar .header{
    height: 3vw;
    margin-top: 0;
}
#sidebar .elements{
    height: auto;
    padding: 2vw 0;
    overflow-y: auto;
    margin-top: 0;
}
#sidebar .footer{
    height: auto;
    top: auto;
    bottom: 0;
    left: 0;
    border-top: 0.1vw solid lightgray;
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#sidebar .header #logo img{
    width: 75%;
}

#sidebar .header #title span{
    width: 100%;
    font-size: 0.85vw;
    font-weight: bold;
    letter-spacing: 0.25vw;
    color: lightgray;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#sidebar .elements .element{
    width: 100%;
    height: 3vw;
    cursor: pointer;
}
#sidebar .elements .element #icon{
}
#sidebar .elements .element #icon img{
    width: 1.5vw;
    height: 1.5vw;
}
#sidebar .elements .element #element span{
    width: 100%;
    font-size: 0.8vw;
    font-weight: bold;
    color: grey;
    align-items: start;
    text-align: left;    
    justify-content: left;
}
#sidebar .elements .element:hover #icon,
#sidebar .elements .element:hover #element,
.element-active{
    background-color: rgb(243, 253, 253);
}
#sidebar .elements .element:hover #icon img,
.element-active{
    width: 1.75vw;
    height: 1.75vw;
}
#sidebar .elements .element:hover #element span,
.element-active{
    font-size: 0.85vw;
    color: black;
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/


#sidebar .footer .session{
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0.5vw 0;
}
#sidebar .footer .session #avatar{
    width: 2vw;
    height: 2vw;
    margin: 0.25vw;
    border: 10vw;
    border: 0.15vw solid lightgray;
    border-radius: 10vw;
}
#sidebar .footer .session #user{
    width: 8vw;
    height: 2vw;
    margin: 0.25vw 0.5vw;
    font-size: 0.9vw;
    font-weight: bold;
    color: black;
}

#sidebar .footer .bottom{
    width: 100%;
    padding-bottom: 1vw;
}



/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/


#header{
    position: fixed;
    width: 88vw;
    height: 5vw;
    top: 0;
    left: 12vw;
    padding: 0 2vw;    
    margin: 0 !important;
    background:var(--card-bg);
    z-index: 50;
}
.collapsed #header{
    width: 97vw;
    left: 3vw;
}
#header .title{
    height: 100%;
    font-size: 0.95vw;
    color: rgb(179, 177, 177);
}

#header .actions{
    float: right;
    width: auto;
    height: 100%;
    padding-left: 2vw;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

button{
    border:none;
    outline:none;
    cursor:pointer;
    padding: 0.35vw 0.6vw;
    border-radius:.4vw;
    color:#fff;
    font-size: 0.8vw;
    font-weight: bold;
    opacity: 0.75;
}


#header button svg{
    width: 1vw;
    height: 1vw;
    margin-right: 0.15vw;
    display: none !important;
}
.icon-plus {
    stroke: #ffffff; /* Color del trazo blanco */
    stroke-width: 4; /* Grosor del trazo */
    stroke-linecap: round; /* Bordes redondeados en las puntas */
}
.icon-save {
    stroke: #ffffff; /* Color del trazo blanco */
    stroke-width: 2; /* Grosor del trazo */
    stroke-linecap: round; /* Bordes redondeados en uniones y puntas */
    stroke-linejoin: round;
} 
.icon-cancel {
    width: 100px;
    height: 100px;
    stroke: #ffffff; /* Color del trazo blanco */
    stroke-width: 2.5; /* Grosor equilibrado para la X */
    stroke-linecap: round; /* Puntas redondeadas */
}


button span{
    font-size: 0.8vw;
}

button:hover{
    opacity: 1;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#new{
    background:var(--primary-color);
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#logout{
  color: grey;
}
#logout:hover{
    color: white;
    background:var(--danger-color);
}
.power-icon {
    display: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 1.5vw;
    height: 1.5vw;
    color: #4a5568; /* Gris oscuro inicial, puedes cambiarlo si lo quieres negro o gris */
   
}

.collapsed #logout {
    width: 2vw;
    height: 2vw;
    left: -4.5vw;
}
.collapsed .legend{
    display: none;
}
.collapsed .power-icon{
    display: flex;
}

.collapsed #logout:hover {
  background-color: var(--danger-color, #ff0000);
  opacity: 1; 
}

.collapsed #logout:hover .power-icon {
  stroke: white; 
}


.collapsed #logout:active {
  background-color: #b30000; 
  opacity: 1;
}

.collapsed #logout:active .power-icon {
  stroke: white;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

.actions .publish{
    margin-right: 1.5vw;
} 
.actions .publish .title{
  width: auto;
  color: black;
  font-size: 1.05vw;
  font-weight: bold;
  padding: 0.5vw 0;
}

.actions .options button{
  margin: 0 0.5vw;
}

.actions .publish,
.actions .options {
    display: none;
}

.actions .options #save{
    background:var(--success-color);
}
.actions .options #cancel{
    background:var(--danger-color);
}



/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/


:root {
  --ios-bg: #eeeeef;
  --ios-active-bg: #ffffff;
  --ios-text: #000000;
  --ios-text-muted: #636366;
  --ios-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
}

.ios-tabs-container {
    width: 23vw;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: none; /* Ancho ajustable de la tableta de pestañas */
  margin: 1vw 0;
  transform: scale(0.85);
}

.ios-segmented-control {
    width: 100%;
    height: 100%;
  background-color: var(--ios-bg);
  border-radius: 9px; /* Bordes suaves estilo Apple */
  padding: 0;
  user-select: none;
}
 .ios-option:nth-child(2){
    width: 49%;
}
 .ios-option:nth-child(3){
    width: 22%;
}
.ios-option:nth-child(4){
    width: 29%;
}


/* El botón de cada pestaña */
.ios-tab-item {
    width: 100%;
    height: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1vw;
  font-weight: normal;
  color: var(--ios-text-muted);
  text-align: center;
  cursor: pointer;
  z-index: 2; 
  white-space: nowrap;
}

/* Estado de la pestaña activa */
.ios-tab-item.active {
  color: var(--ios-text);
  font-weight: bold;
}

/* El control deslizante de fondo blanco */
.ios-tabs-slider {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--ios-active-bg);
  border-radius: 7px;
  box-shadow: var(--ios-shadow);
  z-index: 1;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Curva de animación suave */
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/


#header select{
  color: black;
}
#catalogo-selector{
    width: 15vw;
}
#periodo-selector{
    width: 10vw;
}

.dropdown {
  margin: 0 1vw;
  padding: 0.4vw 0.8vw;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 0.3vw;
  font-size: 0.9vw;
  cursor: pointer;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/

#main{
    width: 88vw;
    left: 12vw;
    padding: 1vw;
    margin-top: 4vw;
}
.collapsed #main{
    width: 97vw;
    left: 3vw;
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/


#toggle {
    position: fixed;
    width: 2vw;
    height: 2vw;
    bottom: 5.25vw;
    left: 11vw;
    z-index: 100;
}
.collapsed #toggle{
    left: 2vw;
}

#toggle-btn {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid #c6cbd1;
  border-radius: 5vw;
  cursor: pointer;
  padding: 0;
  opacity: 1;
}

.toggle-icon {
  width: 50%;
  height: 50%;
  color: #d2d3d4;
}

#toggle-btn:hover {
  background-color: #71c7fd;
  border-color: #eff0f1;
}

#toggle-btn:hover .toggle-icon {
    color: white;
}

#toggle-btn:active {
  background-color: #3182ce;
  border-color: #3182ce;
}

#toggle-btn:active .toggle-icon {
  color: #ffffff;
}

#toggle-btn:focus-visible {
  outline: 3px solid #63b3ed;
  outline-offset: 2px;
}

.collapsed .toggle-icon{    
  transform: rotate(180deg);
}


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/


/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////// MOBILE STYLE ///////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////*/



@media (max-width: 991px) and (orientation: portrait) {


    #main {
        width: 100vw !important;
        left: 0vw !important;
        padding: 0 3vw !important;
        margin-top: 6vw !important;
    }
    .collapsed #main {
        width: 100vw !important;
        left: 0vw !important;
    }


    #sidebar {
        width: 100vw !important;
        z-index: 99999999;
    }
    .collapsed #sidebar {
        width: 100vw !important;
        left: -100vw !important;
    }
        


    #header {
        position: fixed !important;
        background-color: white;
        float: left;
        width: 100vw !important;
        height: auto !important;
        top: auto !important;
        bottom: 0;
        left: 0vw !important;
        padding: 3vw !important;
        margin: 0 !important;
    }


    #header .title {
        display: none;
    }

    button {
        border: none;
        outline: none;
        cursor: pointer;
        margin: 0 !important;
        margin-bottom: 0vw !important;
        padding: 2.35vw;
        border-radius: 2vw;
        color: #fff;
        font-size: 4.8vw;
        font-weight: bold;
        opacity: 0.75;
    }
 
    #header  .actions button {
        position: fixed;
        width: 12vw;
        height: 12vw;
        border-radius: 15vw;
        box-shadow: 0px 5px 18px -3px rgba(0,0,0,0.75);
        -webkit-box-shadow: 0px 5px 18px -3px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 5px 18px -3px rgba(0,0,0,0.75);
    }
    #header  .actions button svg{
        width: 9vw;
        height: 9vw;
        stroke-width: 2;
        margin: 0 !important;
        display: block !important;
    }
    #header  .actions button span{
        display: none !important;
    }









    #sidebar section {
        width: 100% !important;
        padding: 0 5%;
    }

    #sidebar section .inner {
        position: relative;
        float: left;
        width: 30%;
        left: 0;
        padding: 0;
    }

    #sidebar section .outter {
        position: relative;
        float: left;
        width: 70%;
        padding-left: 5%;
        left: 0;
        text-align: left;
    }


    #sidebar .header{
        height: 13vh !important;
    }   
    #sidebar .header #logo img {
        height: 90%;
        width: auto;
    }

    #sidebar .header #title span {
        font-size: 3vh;
    }


    #sidebar .elements {
        height: 60vh !important;
        padding: 10% 0;
        overflow-y: auto;
        align-content: start;
    }
    #sidebar .elements .element {
        width: 100%;
        height: 5vh;
        padding: 0 10%;
        margin: 3vw 0;
        cursor: pointer;
    }

    #sidebar .elements .element:hover, 
    #sidebar .elements .element:hover #icon, 
    #sidebar .elements .element:hover #element, 
    .element-active {
        background-color: rgb(243, 253, 253);
    }

    #sidebar .elements .element #icon img {
        width: auto;
        height: 100%;
    }
    #sidebar .elements .element:hover #icon img, .element-active {
        width: auto;
        height: 90%;
    }

    #sidebar .elements .element #element span {
        font-size: 2.25vh;
    }
    #sidebar .elements .element:hover #element span, .element-active {
        font-size: 4.85vw;
        color: black;
    }

    #sidebar .footer{
        padding-top: 2.5vw !important;
    }
    #sidebar .footer .session{
        display: block;
        height: 10vh;
    }

    #sidebar .footer .session #avatar {
        width: 8vh;
        height: 8vh;
        padding: 2.25vw;
        margin: 1vh;
        border: 10vw;
        border: 0.25vw solid lightgray;
        border-radius: 10vw;
    }
    #sidebar .footer .session #user {
        width: 75%;
        height: 100%;
        font-size: 4.25vw;
    }

    #sidebar .footer .bottom {
        width: 100%;
        padding-bottom: 2.5vh;
    }


    #logout {
        color: white;
        background-color: red;
        margin-top: 5vw !important;
        margin-bottom: 2vw !important;
        gap: 3vw;
        flex-wrap: wrap;
    }    
    #logout svg{
        position: relative;
        float: left;
        display: block;
        width: 5vw;
        height: 5vw;
        stroke: white;
        stroke-width: 4;
    }
    #logout span{
        color: white;
        font-size: 4vw;
    }


    #toggle {
        position: fixed;
        width: 9vw;
        height: 20vw;
        bottom: 36.75vw;
        left: auto;
        right: -1vw;
        z-index: 999999999;
    }
    .collapsed #toggle {
        left: -1vw;
        right: auto;
    }

    #toggle-btn {
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        border: 0.5vw solid #c6cbd1;
        border-radius: 5vw 0vw 0vw 5vw;
        cursor: pointer;
        padding: 0;
        opacity: 1;
    }
    .collapsed #toggle-btn {
        border-radius: 0vw 5vw 5vw 0vw;
    }

    .toggle-icon {
        width: 6vw;
        height: 6vw;
        color: #d2d3d4;
        stroke-width: 4;
    }










    
}
