
/* ESTILOS PRINCIPALES */


* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
    margin: 0;
    padding: 0;  
}

table {
    border-collapse: collapse;    
}

button {
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
}

h4 {
    font-family: 'Nunito', sans-serif;
}
  

body {
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: contain;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0px;
    word-spacing: 0px;

}

input, select, textarea {
    font-family: 'Nunito', sans-serif;
    outline: none;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',monospace;
}
    
@font-face {
    font-family: 'Nunito';
    src: url("../FONTS/Nunito-Regular.0fb76e044b98.eot");
    src: url("../FONTS/Nunito-Regular.bffa83cfe6dd.woff2") format("woff2"), 
         url("../FONTS/Nunito-Regular.225cfac2c732.woff") format("woff"), 
         url("../FONTS/Nunito-Regular.0179bd9a172b.ttf") format("truetype");
    font-weight: 400; 
}



@font-face {
    font-family: 'Nunito';
    src: url("../FONTS/Nunito-Bold.52ad9c95753c.eot");
    src: url("../FONTS/Nunito-Bold.591177a36933.woff2") format("woff2"), 
         url("../FONTS/Nunito-Bold.11b06e3fcb61.woff") format("woff"), 
         url("../FONTS/Nunito-Bold.f18c41382f5c.ttf") format("truetype");
    font-weight: 700; 
}


.super-container {
    display: flex;
    height: 100vh;
}

.main-content {
    flex: 1;
    overflow: auto;
    background-color: #c9cdd9;
}

/* SIDEBAR */
.sidebar-space {
    background-color: #98101b ;
    top: 0;
    height: 100%;
    width: 257px;
    font-size: 16px;
    z-index: 100;
    transition: width 400ms ease-in-out;
    display: flex;
    flex-direction: column;
    position: sticky; 
    position: -webkit-sticky; 
}
.sidebar-decorator {
    height: 8px;
    width: 100%;
    background: linear-gradient(
        90deg, 
   
        #c0c0c0,  
        #b0b0b0,  
        #999999   
    );
    box-shadow: 
        0px 3px 10px rgba(0, 0, 0, 0.2),
        0px -3px 10px rgba(0, 0, 0, 0.2);

}


.sidebar-space.close {
    width: 78px;
}

.sidebar-space span {
    opacity:  1;
    transition: 400ms;
    white-space: nowrap;    
    pointer-events: none;
    user-select: none;
}

.sidebar-space.close span {
    opacity:  0;
}

.sidebar-space .sidebar-logo {
    width: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative;
    height: 85px;
    transition-duration: 200ms;
    margin-top: 6px;
   
  
}







.sidebar-space .sidebar-logo img {
    height: auto;
    width: auto;
    scale: 0.75;
    transition: 400ms ease-in-out;

}

.sidebar-space.close .sidebar-logo img {
    scale: 0.33;
}




.sidebar-space .sidebar-body  {
    display: flex;
    flex-direction: column;
    flex: 1; 
    padding: 10px 14px;
 

}

/* TIPOS DE ICONOS DE SIDEBAR */


.sidebar-top {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    position: relative;
}


.sidebar-bottom {
    margin-top: 2rem;
    padding-top: 0.5rem;
    position: relative;
}



.sidebar-option {
    height: 38px;
    align-items: center;
    display: flex;
    list-style: none;
    margin-top: 10px;    
}

.sidebar-option i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    font-size: 25px;
}

.sidebar-option a {
    height: 100%;
    width: 100%;
    display: flex;
    text-decoration: none;
    align-items: center;
    border-radius: 6px;
    transition-duration: 400ms;   
    font-size: 16px;
}

.sidebar-option.primary i{
    color: #FDF1F2;
}

.sidebar-option.primary a {
    background-color:#BD1826;
    color: #FDF1F2;
  
}

.sidebar-option.primary a:hover {
    background-color: #770303;
}

.sidebar-option.secondary i{
    color: #ffffff;
}

.sidebar-option.secondary a {
    background-color: #670a12;
    color: #ffffff;
}

.sidebar-option.secondary a:hover {
    background-color: #000000;
}


.sidebar-option.third i{
    color: #fff;
}

.sidebar-option.third a {
    background-color: #b34c2d ;
    color: #fff;
}

.sidebar-option.third a:hover {
    background-color: #96391d;
}




/* NAVBAR   */

.navbar-space {
    top: 0;
    left: 0;
    height: 67px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    position: sticky;  
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition: 400ms;     
}

.navbar-space .navbar-menu {
    display: flex;
    align-items: center;
    margin: 0;
    margin-right: 1rem;
}

.navbar-space .navbar-menu li{
    margin: 0;
    list-style: none;
    font-size: 14px;
    color: #000000;
}

.navbar-space .toogle-button {
    height: 100%;
    width: 67px;
    border: none;
    background-color: #fff;
    transition: background-color 300ms ease; 
}
.navbar-space .toogle-button i {
    font-size: 30px;
    color: #939393;
    transition: 300ms;
}

.navbar-space .toogle-button:hover {
    background-color: #e1e1e1;
}
.navbar-space .toogle-button:hover i {
    color: #000;
}

.nav-btn {
    border: none;
    border-radius: 4px;
    height: 35px;
    width: 35px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    transition: background-color 300ms ease;     
    position: relative;
    background-color: #fff;
}

.nav-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.nav-btn:hover {
    background-color: #efefef;
}



.nav-user {
    height: 35px;
    border: none;
    margin: 0;
    transition-duration: 400ms;    
    border-radius: 4px;  
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-user img {
    height: 100%;
    padding: 4px 0;
}

.nav-user p {
    margin: 0;
    padding-right: 5px;
    padding-left: 10px;
    transition-duration: 300ms;
}

.nav-user i {
    font-size: 20px;
    transition-duration: 300ms;
}

.nav-user:hover i {
    color: #7b7b7b;
}

.nav-user:hover p {
    color: #7b7b7b;
}

/* DROPDOWNS */

.navbar-dropdown {
    position: relative    
}

.navbar-drophead {
    cursor: pointer;
    align-items: center;
    display: flex;
}

.navar-dropmenu {
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 51px;
    right: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
    transform-origin: top right; 
    transition: opacity 400ms, transform 400ms, visibility 400ms;
    z-index: 10;    
    border-radius: 6px;
    overflow: auto;
}

.dropmenu-open {
    visibility: visible;
    opacity: 1;
    transform: scale(1); 
}

.drop-notificaciones {
    width: 250px;
    background-color: #e7e7e7
}

.drop-notificaciones h4 {
    background-color: #0066e2;
    padding: 1rem;
    color: #fff;
    font-size: 17px;
    
}

.drop-notificaciones li {
    background-color:#f0f0f0 ;
    padding: 0.5rem 1rem;
    border: 6px;
}
.drop-notificaciones p {
    font-size: 14px;
}
.drop-notificaciones h6 {
    font-size: 15px;
}

.drop-user {
    width: 250px;
    background-color: #fff;
}
.drop-user h4 {
    background-color: #d51626;
    padding: 1rem;
    color: #fff;
    font-size: 17px;
}

.drop-user a {
    display: block;
    color: #000000;
    background-color: #dddddd;
    font-size: 15px;
    padding: .5rem;
    border-radius: 6px;
    margin: 4px;
    position: relative;
    padding-left: 3rem;
    text-decoration: none;
    transition: 400ms;
}

.drop-user a:hover {
    background-color: #bbbbbb;
}

.drop-user a i{
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(0%, -50%);
    font-size: 25px;

}





  /* CARTAS */

.card-cotainer {
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: auto;
    margin-top: 1rem;
}

  .card-menu {
    background: #ffffff;
    color: #000000;
    justify-content: center;  
    border-radius: 0.6rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: .8rem;
    padding-top: 5.5rem;
    padding-bottom: 0.4rem;
    padding-left: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;   
    width: 310px;
    transition: box-shadow 400ms;    
    position: relative;
    gap: 6px;
    margin-top: 2rem;
    animation: enter-card 300ms ease-out;

}

@keyframes enter-card {
    0%{     
        opacity: 0;
        transform: translateY(-10px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
  }

  .card-menu::after {
    content: "";
    height: 100%;
    width: 100%; 
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 0.6rem;
    opacity: 0.6;
    transition: 400ms ease-in-out;
}

.card-menu.formato::after {
    background: linear-gradient(
        to top, 
        rgb(255, 255, 255), 
        rgba(39, 121, 255, 0.4),
        rgba(39, 121, 255, 0.5)
      );   
}

.card-menu.receta::after {

    background: linear-gradient(
        to top, 
        rgb(255, 255, 255),
        #ff7474
      );   
}

.card-menu:hover::after {
    opacity: 1;
}

.card-menu:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}



 /* TITULO DE LAS CARTAS */
.card-menu .title-card {
    box-shadow: 0 -5px 2px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    height: 110px;
    width: 95%;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    align-items: center;
    display: flex;
    justify-content: center;
    color: #000;
    border-radius: .5rem;
    flex-direction: column;
    gap: 0.4rem;
    transition: top 300ms ease;
    overflow: hidden; 
    z-index: 2;
    background-color: #fff;
}

.card-menu .title-card span {
    font-size: 145%;
    color: #000000;
    font-weight: 700;
    padding: 0rem 0.8rem;
    line-height: 1.2;
}

.card-menu:hover .title-card {
    top: -30px;
 }

/* OPCIONES DE LAS CARTAS */
.card-menu .card-option {
    position: relative; 
    display: inline-flex; 
    align-items: center; 
    text-decoration: none; 
    color: inherit; 
    padding: 0.5rem 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    z-index: 2;

}


.card-menu .card-option::after {
    content: "";
    height: 100%;
    width: 0;
    position: absolute;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    transition: 200ms ease-in-out;
}

.card-menu .card-option:hover:after {
    width: 100%;

}

.card-menu .card-option i {
    font-size: 25px;
    position: absolute;
    top: 50%;
    left: 27px;
    transform: translateY(-50%);
    z-index: 2;
    transition-duration: 200ms;
}




.card-menu .card-option span{
    text-decoration: none;
    padding-left: 4.2rem;
    font-weight: 700;
    font-family: 'Nunito';
    font-size: 18px;
    z-index: 2;
    transition-duration: 200ms;
}

/* TIPOS DE OPCIONES */

.card-menu .card-option.primary {
    background-color: #002b64;
    color: #fff;
}

.card-menu .card-option.primary::after {
    background: linear-gradient(
        to right, 
        #004ab3, 
        #002b64
      );    
}

.card-menu .card-option.secondary {
    background-color: #2469d8;
    color: #fff;
}

.card-menu .card-option.secondary::after {
    background: linear-gradient(
        to right, 
        #2b7ce5,
        #2469d8
      );     
}

.card-menu .card-option.third {
    background-color: #006eae;
    color: #fff;
    cursor: pointer;
    width: 100%;
}

.card-menu .card-option.third::after {
    background: linear-gradient(
        to right, 
        #0082cb,
        #006eae
      );     
}

.card-menu .card-option.fourth {
    background-color: #d12323;
    color: #fff;
}

.card-menu .card-option.fourth::after {
    background: linear-gradient(
        to right, 
        #ff5f5f,
        #e02e2e7d
      );       
}

.card-menu .card-option.fifth {
    background-color: #000;
    color: #fff;
}

.card-menu .card-option.fifth::after {
    background: linear-gradient(
        to right, 
        #3f3f3f, 
        #27272760
      );          
}

/* RECETARIO */

.card-button {
    color: #000000;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);  
    transition: box-shadow 400ms;    
    animation: enter-card 300ms ease-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 310px;
    flex-direction: column;
    height: 330px;
    border-top: 6px solid #DC2626;
    background-color: #FFFCFC;
    background: radial-gradient(circle at center, #fff, #e9e9e9 80%);


}

.card-button:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}



.card-button .title-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #DC2626;
    font-weight: bold;
    flex-direction: column;
    padding:  1rem;
    height: 120px;
    position: relative;
    min-height: 120px;
    max-height: 120px;
    width: 100%;
    height: 100%;
}

.card-button .title-card::after {
    content: '';
    width: 85%; 
    height: 3px; 
    background-color: #DC2626; 
    bottom: 0;
    position: absolute;
}


.card-button .title-card small {
    font-size: 14px;

}

.card-button .title-card section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-button .title-card span {
    font-size: 120%;  
    font-weight: bold;

}
.card-button .title-card i {
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 0; 
    margin: 10px;
}

.card-button .body-card {
    display: flex;
    gap: 5px;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 5px;
    margin: auto;

}

.card-button .option-card { 
    border-radius: 4px;
    text-align: left;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition-duration: 200ms;
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box; 
    flex: 1 1 30%;
    max-width: 30%;
    height: 80px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}


.card-button .option-card i {
    font-size: 20px;

}

.card-button .option-card span {
    font-size: 14px;
}

.card-button .option-card.third {
    background-color: #06182e;
}


.card-button .option-card.third:hover {
    background-color: #0d2442;
}

.card-button .option-card.secondary {
    background-color: #072c92;
}


.card-button .option-card.secondary:hover {
    background-color: #021c63;
}


.card-button .option-card.primary {
    background-color: #D12323;
}

.card-button .option-card.primary:hover {
    background-color: #a41b1b;
}




/* DROPDOWN CARD  */


.receipe-dropdown {
    position: relative;
    display: block; 
    width: 100%;
}

.receipe-drophead {
    cursor: pointer;
    align-items: center;
    display: block;
}

.receipe-dropmenu {
    background-color: #001737;
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 43px;
    left: 0;
    width: 100%;
    max-height: 50px;
    height: fit-content;
    visibility: hidden;
    opacity: 1;
    transition: 400ms ease-in-out;
    transition-delay: 200ms ;
    z-index: 5;   
    border-top-right-radius: 1rem; 
    border-bottom-right-radius: 1rem; 
}

.receipe-open {
    visibility: visible;
    opacity: 1;
    max-height: 300px;
    transition-delay: 0ms;
    transition: 500ms ease-in-out;
}


.receipe-menu-drowmenu {
    overflow: hidden;
}

.receipe-option {
    transition-delay: 100ms;
    color: #fff;
    font-size: 14px;
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    opacity: 0;
    transition: 500ms ease-in-out;
    background-color: #0161A3;
    white-space: nowrap; 
    position: relative;
}

.receipe-open .receipe-option {
    opacity: 1;
} 

.receipe-option:nth-child(1) {
    transition-delay: 250ms;
}
.receipe-option:nth-child(2) {
    transition-delay: 200ms;
}

.receipe-option:nth-child(3) {
    transition-delay: 150ms;
}
.receipe-option:nth-child(4) {
    transition-delay: 100ms;
}
.receipe-option:nth-child(5) {
    transition-delay: 50ms;
}

.receipe-open .receipe-option:nth-child(1) {
    transition-delay: 50ms;
}

.receipe-open .receipe-option:nth-child(2) {
    transition-delay: 100ms;
}

.receipe-open .receipe-option:nth-child(3) {
    transition-delay: 150ms;
}

.receipe-open .receipe-option:nth-child(4) {
    transition-delay: 200ms;
}

.receipe-open .receipe-option:nth-child(5) {
    transition-delay: 250ms;
}

.receipe-option:hover::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
}


/* CARD TABLE  */

.table-card {
    background-color: red;
}

/* BUSCADOR */

.search-input-container  {
    display: flex;
    width: 100%;
    border-radius: 1rem;
    border: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box; 
    background-color: #fff;
    transition: 400ms;
    overflow: hidden;
    margin: 0 4%;
    margin-bottom: 1rem;

}

.search-input-container:focus-within, .search-input-container:hover  {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.search-input-container i {
    font-size: 30px;
    padding: 2px 15px 0 15px ;
    border-radius: 1rem 0rem 0rem 1rem;
    color: #fff;
    transition: 400ms;
}

.search-input-container.formatos i {
    background-color: #2469d8;
}

.search-input-container.formatos:hover i, .search-input-container.formatos:focus-within i {
    background-color: #1c4d9d;
}

.search-input-container.recetas i {
    background-color: #d12323;
}

.search-input-container.recetas:hover i, .search-input-container.recetas:focus-within i {
    background-color: #970000;
}

.search-input-container input {
    flex-grow: 1; 
    font-size: 16px;

    border: transparent;
    border-radius: 0 1rem 1rem 0rem;
    padding-left: 1rem;
    outline: none;
}

.search-input-container input::placeholder {
    color: #a5a5a5;
    font-size: 16px;
}

.search-input-container input:active {
    border: red;
}


/* HEADER */

.header-table-title {
    color: #ffffff;
    padding: 1rem;
    margin: 0;
    font-size: 19px;
    background-color: #000000;
}
  
.background-table {
    padding: 1.5rem;
}
  
.header-table {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  
.header-table h3 {
    color: #464646;
    font-weight: bold;
    font-size: 18px;
}
  
.header-table h4 {
    color: #464646;
    font-weight: bold;
    font-size: 16px;
    padding: 0;
    margin: 0;
    padding-top: 1rem;
  
}
  
  
/* BOTON NUEVO */
.btn-control {
    color: #ffffff;
    padding: .8rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition-duration: 200ms;
    font-weight: bold;
    align-items: center;
    display: flex;
    font-size: 15px;
    border: transparent;
    position: relative;
    padding-right: 60px;
    width: auto; 
    display: inline-flex; 
    cursor: pointer;
}
  
.btn-control:hover  {
    text-decoration: none;
    color: #ffffff;
}

.btn-control i {
    top: 50%;
    right: 20px;
    transform: translate(0%, -50%);
    position: absolute;
    font-size: 24px;
}

.btn-control.add {
    background-color: #2e5ec4 ; 
}

.btn-control.add:hover {
    background-color: #1f4085; 
}

.btn-control.receta {
    background-color: #aa4444 ; 
}

.btn-control.receta:hover {
    background-color: #823232; 
}

.btn-control.recetario {
    background-color: #000000 ; 
}

.btn-control.recetario:hover {
    background-color: #272727; 
}

.btn-control.form {
    background-color: #000000 ; 
}

.btn-control.form:hover {
    background-color: #272727; 
}


.btn-control.return {
    background-color: #BD1826 ; 
    font-size: 25px;
    height: 45px;
    padding-right: 32px;
    padding-left: 17px;

}

.btn-control.return:hover {
    background-color: #84111b; 
}

/* BOTON DE CAMBIO  */
.btn-change {
    padding: .4rem 0.4rem;
    text-decoration: none;
    border-radius: 1rem;
    width: 150px;
    margin: 2px;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border: transparent;
    transition-duration: 200ms;
    user-select: none;
}

.btn-change.primary {
    background-color: #494949;
}

.btn-change.primary:hover {
    background-color: #323232;
}


.btn-change.active {
    background-color: #BD1826;
}

.btn-change.active:hover {
    background-color: #BD1826;
}
 

 
/* BOTON TAB */
.btn-tab {
    color: #ffffff;
    padding: .8rem 1.5rem;
    text-decoration: none;
    transition-duration: 200ms;
    font-weight: bold;
    align-items: center;
    display: flex;
    font-size: 15px;
    border: transparent;
    position: relative;
    padding-right: 60px;
    width: auto; 
    display: inline-flex; 
    white-space: nowrap;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 50px;
    margin-left: 40px;
}
  
.btn-tab:hover  {
    text-decoration: none;
    color: #ffffff;
}

.btn-tab i {
    top: 50%;
    right: 20px;
    transform: translate(0%, -50%);
    position: absolute;
    font-size: 24px;
}

.btn-tab.formato {
    background-color: #376ce0 ; 
}

.btn-tab.formato:hover {
    background-color: #3660bc; 
}


/*TABS*/
  
.tabs-wrapper {
    display: flex;
    justify-content: space-between; 
    align-items: center;  
    flex-wrap: wrap;
    overflow: hidden;

}

.tabs-scroll {
    position: relative;
    overflow: hidden;
    width: 100%;
 

}

.tabs-scroll button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000000ca;
    border: none;
    cursor: pointer;
    z-index: 1;
    padding: 10px;
    height: 100%;
    color: #d7d7d7;
    font-size: 18px;
    transition-duration: 200ms;
}

.tabs-scroll button.hidden {
    opacity: 0;
    pointer-events: none;
}

.tabs-scroll .scroll-left {
    left: 0;
}
  
.tabs-scroll  .scroll-right {
    right: 0;
}

.tabs-wrapper ul {
    list-style: none;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; 
    scroll-behavior: smooth;
    gap: 3px;
    width: 100%;
    align-items: end;
    padding: 0 1rem;
    height: 65px;    
}

.tabs-wrapper ul::-webkit-scrollbar {
    display: none; 
}


.tabs-wrapper .tab-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-width: 165px;
    max-width: 165px;
    margin: 0;
    border-right: none; 
    height: 50px; 
    color: #c0c0c0;
    transition-duration: 200ms;
    position: relative;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
 
}


.tabs-wrapper .tab-item.active {
    height: 60px;
}




.tabs-wrapper .tab-item i {
    font-size: 20px;
    padding-right: 5px;
}

.tabs-wrapper .tab-item span {
    font-size: 12.5px;
    white-space: normal;
    text-align: center;
    align-items: center;
    display: flex;
    max-width: 72%;
    font-weight: bold;
    user-select: none;
}

.tabs-wrapper .tab-link {
    margin-left: auto;
}

.tabs-wrapper.operario {
    background-color: #373737 ;
}

.tabs-wrapper.operario .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.operario .tab-item.active {
    background-color: #ff602b ;
    color: #ffffff;
}


.tabs-wrapper.supervisor {
    background-color: #373737 ;
}

.tabs-wrapper.supervisor .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.supervisor .tab-item.active {
    background-color: #ff9b17 ;
    color: #ffffff;
}


.tabs-wrapper.jefatura {
    background-color: #373737 ;
}

.tabs-wrapper.jefatura .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.jefatura .tab-item.active {
    background-color: #e02e1e ;
    color: #ffffff;
}


.tabs-wrapper.calidad {
    background-color: #373737 ;
}

.tabs-wrapper.calidad .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.calidad .tab-item.active {
    background-color: #8a3990 ;
    color: #ffffff;
}

.tabs-wrapper.administrador {
    background-color: #373737 ;
}

.tabs-wrapper.administrador .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.administrador .tab-item.active {
    background-color: #aa076c ;
    color: #ffffff;
}



.tabs-wrapper.tecnico {
    background-color: #1e1e1e ;
}

.tabs-wrapper.tecnico .tab-item{
    background-color: #4d6258;
}

.tabs-wrapper.tecnico .tab-item.active {
    background-color: #228B22 ;
    color: #ffffff;
}
    

.tabs-wrapper.recetario {
    background-color: #1e1e1e ;
}

.tabs-wrapper.recetario .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.recetario .tab-item.active {
    background-color: #BD1826 ;
    color: #ffffff;
}


.tabs-wrapper.personal {
    background-color: #1e1e1e ;
}

.tabs-wrapper.personal .tab-item{
    background-color: #4d4e62;
}

.tabs-wrapper.personal .tab-item.active {
    background-color: #395cc3 ;
    color: #ffffff;
}

.tab-content {
    display: none;
    animation: moving .5s ease;
    border: 1px solid #DFDFDF ;
    margin: 0 ;
    padding:  1.5rem 2rem ;
    background-color: #ffffff;
}


  
@keyframes moving {
    from{ opacity: 0;}
    to{opacity: 1;}
}
  
.tab-content.content-active {
    display: block;
}

.tab-section {
    margin-right: 0.5rem;
}

.tab-section li {
    margin: 0;
}

.tab-section > div {
     display: flex;
     gap: 4px;
}

.tab-section span {
    text-align: center;
    display: block;
    padding: 0.3rem;
    font-weight: bold;
    color: #fff;
    font-size: 15px;
    background-color: #b31c1c;

}




/* HEADER Y FOOTER */

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    margin-bottom: 1rem;
}


.table-header-section {
    color: #4f4f4f;
    display: flex;   
    align-items: center;
}
   
.table-header-section input[type=text] {
    padding: 0.5rem;
    font-size: 14px;
    border: #adadad 1px solid;
    border-radius: 0.2rem; 
    width: 200px;
    margin-left: 10px;
}
  
.table-header-section input[type="text"]:focus{
    border: #038ac6 1px solid;
}
  
.table-header-section select {
    padding: 0.5rem;
    font-size: 14px;
    border: #adadad 1px solid;
    border-radius: 0.2rem; 
    width: 100px;
    margin-left: 10px;
}
  
.table-header-section select:focus{
    border: #038ac6 1px solid;
}


/* FOOTER */ 
.table-footer {
    display: flex;             
    flex-direction: column;   
    justify-content: center;  
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}
    
.table-footer span {
    color: #4f4f4f;
    font-size: 14px;
}
  
.table-footer-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
  
  
.table-footer-buttons .btn-index {
    padding: 6px 10px;
    color: #000;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    border: transparent;
    transition: 200ms ;
    border-radius: 3px;  
    border: 1px solid #a0a0a0;
}
  
.table-footer-buttons .btn-index:hover {
    background-color: #444444; 
    color: #fff;
}
  
.table-footer-buttons .btn-index.active-button {
    border: 1px solid #000000;
    background-color: #000000; 
    color: #fff;
    pointer-events: none;
}
  
.table-footer-buttons .btn-size-index {
    padding: 8px;
    width: 30px;
    color: #fff;
    background-color: #000000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border: transparent;
    transition: 200ms ;
    border-radius: 3px;
}
  
.table-footer-buttons .btn-size-index:hover {
    background-color: #444444; 
}
  
.table-footer-buttons .btn-size-index:active {
    background-color: #000000; 
}

/* TOAST */

.snackbar-table {
    visibility: hidden;
    opacity: 0;
    border-radius: 2px;
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px; 
    left: 50%; 
    transform: translate(-50%, 0%); 
    transition: 500ms ease-in-out;
    text-align: center;
    padding: 0.9rem 2rem;
    padding-left: 4rem;
    font-size: 16px;
    border-radius: 6px;
}

.snackbar-table i {
    position: absolute;
    font-size: 30px;
    top: 50%;
    left: 1.5rem;
    transform: translate(0%, -50%);
}

.snackbar-table.success {
    background-color: #008f40;
    color: #ffffff;    
}
  
.snackbar-table.error {
    background-color: #e70000;
    color: #ffffff;  
}

.snackbar-table.paradas {
    background-color: #002ae7;
    color: #ffffff;  
}
  
  
.snackbar-table.show {
    visibility: visible;
    opacity: 1;
    top: 80px;
}



/* ICONO */

.display-icon-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
}

.display-icon-center i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 35px;
    transform: translate(-50%, -50%);
}
  

/* BOTONES */

.display-button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }


.table-btn {
    border: transparent;
    border-radius: 4px;
    height: 32px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: 200ms;
}
  
.table-btn i {
    color: #fff;
    font-size: 17px;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0px;
    padding-top: 2px;
    transform: translate(-50%, -50%);
}
  
.table-btn.edit {
    background-color: #3746cd;
}
  
.table-btn.edit:hover {
    background-color: #2a359b;
}
  
.table-btn.view {
    background-color: #4d4e52;
}
  
.table-btn.view:hover {
    background-color: #313234;
}
  
.table-btn.pdf {
    background-color: #c63c32;
}
  
.table-btn.pdf:hover {
    background-color: #952d26;
}
  
.table-btn.people {
    background-color: #6c43b9;
}
  
.table-btn.people:hover {
    background-color: #402e78;
}

.table-btn.obs {
    background-color: #1d854d;
}
  
.table-btn.obs:hover {
    background-color: #14673b;
}

.table-btn.eraser {
    background-color: #ff831d;
}
  
.table-btn.eraser:hover {
    background-color: #d26d1a;
}
 
.table-btn.remove {
    background-color: #ff2323;
}
  
.table-btn.remove:hover {
    background-color: #d51818;
}
   
   
   
  
.table-btn-2 {
    border: transparent;
    border-radius: 4px;
    height: 32px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: 200ms;
}
    
.table-btn-2 i {
    color: #fff;
    font-size: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 200ms ease;
}
    
.table-btn-2.confirm i{
    color: #00aa4c;
}
  
.table-btn-2.confirm:hover i{
    color: #00843b;
}
  
.table-btn-2.cancel i{
    color: #ed4646;
}
  
.table-btn-2.cancel:hover i{
    color: #b53636;
}


/* TABLAS ESPECIALES */

:root {
    --up_arrow_color: #858585;
    --down_arrow_color: #b7b7b749;
}


  
.sort-indication::after {
    position: absolute;
    content: '\25b2';
    font-size: 15px;
    color: var(--up_arrow_color);
    right: 4px;
    top:6px;  
}
  
.sort-indication::before {
    position: absolute;
    content: '\25bc';
    font-size: 15px;
  
    color: var(--down_arrow_color);
    right: 4px;
    top: 6px;
    margin-top: 14px;
}
  
.tab-table-overflow {
    overflow-x: auto;
}

.tab-table-inside   {
    width: 100%;   
    border: 1px solid #adadad;
 
}
  

.tab-table-inside td{
    padding: 0.6rem ;
    text-align: center;
    color: #000000;
    font-size: 15px;
}



.tab-table-inside  th {
    padding: 0.8rem 1rem ;
    color: #fff;
    text-align: center;
    font-size: 15px;
    position: relative;
    transition: 100ms;
    background-color: #0c0c0c;
    font-weight: normal;
    border: 1px solid #7b7b7b !important;
    user-select: none;
}
  
.tab-table-inside.operario  tbody td {
    border: 1px solid #ff9e71;
}

.tab-table-inside.operario  tbody tr:nth-child(odd) {
    background-color: #ffe4d4 ;
}
.tab-table-inside.supervisor  tbody td {
    border: 1px solid #ffb94a;
}

.tab-table-inside.supervisor  tbody tr:nth-child(odd) {
    background-color: #ffebc6 ;
}

.tab-table-inside.jefatura  tbody td {
    border: 1px solid #ffaaa2;

}
.tab-table-inside.jefatura  tbody tr:nth-child(odd) {
    background-color: #fee3e3 ;
}


.tab-table-inside.administrador  tbody td {
    border: 1px solid #fb84bd;

}
.tab-table-inside.administrador  tbody tr:nth-child(odd) {
    background-color: #ffe2ef ;
}


.tab-table-inside.calidad  tbody td {
    border: 1px solid #e781ef;

}
.tab-table-inside.calidad  tbody tr:nth-child(odd) {
    background-color: #fbd2fd ;
}




.tab-table-inside.tecnico  tbody td {
    border: 1px solid #58cb79;

}
.tab-table-inside.tecnico  tbody tr:nth-child(odd) {
    background-color: #d1ffd1 ;
}





.tab-table-inside.tecnico-2  tbody td {
    border: 1px solid #efefef;
}

.tecnico-incompleto:nth-child(even) td {
    background-color: #a1c9e9;
}

.tecnico-incompleto td {
    background-color: #b3ddff;
}

.tecnico-completo:nth-child(even) td {
    background-color: #78df78; 
}

.tecnico-completo td {
    background-color: #87fe87;
}




.tab-table-inside.version  tbody td {
    border: 1px solid #aaaaaa;

}
.tab-table-inside.version  tbody tr:nth-child(odd) {
    background-color: #e4e4e4 ;
}



.tab-table-inside.version .check {
    color: #00ae5d;
}

.tab-table-inside.version .blank {
    color: #b9b9b9;
}


.tab-table-inside.personal  tbody td {
    border: 1px solid #7b96e3;

}
.tab-table-inside.personal  tbody tr:nth-child(odd) {
    background-color: #cfdcff ;
}


.tab-table-inside.export  tbody td {
    border: 1px solid #aaaaaa;
}

.tab-table-inside.export  tbody tr:nth-child(odd) {
    background-color: #e4e4e4 ;
}



/* LISTAS ESPECIALES */

.tab-list-inside {
    width: 100%; 
    border-collapse: separate;
    border-spacing: 5px;   

}


.tab-list-inside td{
    padding: 0.6rem ;
    text-align: center;
    color: #000000;
    font-size: 15px;
    border-radius: 10px;
    
}

.tab-list-inside  th {
    padding: 0.8rem ;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    position: relative;
    transition: 100ms;
    background-color: #000000;
    font-weight: normal;
    user-select: none;
    border-radius: 6px;
}


.tab-list-inside.supervisor td:nth-child(1) {
    background-color: #ffebc6 ;
}

.tab-list-inside.supervisor tr:last-child td:nth-child(1) {
    background-color: #7c7c7c ;
    color: #fff;
}


.tab-list-inside.supervisor td:nth-child(2),
.tab-list-inside.supervisor td:nth-child(3),
.tab-list-inside.supervisor td:nth-child(4) {
    background-color: #f4f4f4;
}

/* TABLAS ESPECIALES */

.display-text-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.display-text-left h5 {
    font-size: 16px
}
.display-text-left h6 {
    font-size: 13px;
    font-weight: normal;
}

.table-btn-header {
    padding: 1rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-btn-space {
    padding: 1rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-btn-space > div {
    flex: 1;
}

.table-btn-space > div:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-links-header {
    padding: 1rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.box-table-overflow {
    overflow-x: auto;
}

.box-table-inside {
    width: 100%;
    border-collapse: separate;  
    border-spacing: 0 5px; 
}


.box-table-inside td {
    padding: 0.6rem 1rem;
    font-size: 14px;

}
.box-table-inside th {
    padding: 0.6rem 1rem;
    font-size: 14px;
    font-weight: normal;
}

.box-table-inside th:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.box-table-inside th:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.box-table-inside.recetario td{
    background-color: #c7c7c7;
    color: #000;
}

.box-table-inside.recetario td:nth-child(1){
    background-color: #3c3c3c;
    color: #fff;
    text-align: center;
}


.box-table-inside.producto  th{
     background-color: #161616;
     color: #fff;

}

.box-table-inside.producto td{
    background-color: #c7c7c7;
    color: #000;
}

.box-table-inside.producto td:nth-child(1){
    background-color: #3c3c3c;
    color: #fff;
    text-align: center;
}




/* FILAS ESPECIALES DE TABLAS */
.table-row-empty td {
    background-color: #c9c9c9;
    border: 1px solid #979797 !important;
    padding: 0.7rem;

}
  


.table-cargando td {
    background-color: #b1ffbf;
    border: 1px solid #979797 !important;
    text-align: center;
    padding: 0.7rem;
}
  
.table-cargando span {
    position: relative;
    margin-left: 0.5rem;
}
  
.table-cargando i {
    font-size: 20px;
    position: absolute;
    top: -4px;
    left: 0;
    animation: spin 1s linear infinite;
    font-weight: bolder;
}

.error-table-load {
    background-color: rgb(255, 54, 54);
    text-align: center;
    color: #fff;
    border-radius: 6px;
    width: 100%;
    padding: 2rem;
}


@media (max-width: 800px) {
    .navbar-space {
        justify-content: right;
    }

    .navbar-space .toogle-button {
        order: 1;
    }

    .sidebar-space {    
        right: 0;
        position: fixed;
        transition: transform 400ms ease;
        z-index: 300;
    }

    .sidebar-space.close {
        width: 250px;
        transform: translateX(100%);
    }

    .sidebar-space.close-sidebar span {
        opacity: 1;
    }

    .sidebar-space.close .sidebar-logo img {     
        scale: 0.70;   
         
    }

    .table-header {
        flex-direction: column;
    }
    
    .table-header .table-header-section:nth-child(1) {
        margin-bottom: 1rem;
    }

    .tab-content {   
        padding:  1rem;
    }

    .background-table {
        padding: 1rem;
    }        
} 

/* BOTON DE APROBACION MASIVA POR PARTE DE SUBGERENTE */
.table-header-section .bulk-approve-btn {
    background-color: #038ac6;
    color: white;
    border: none;
    padding:  0.4rem 0.8rem;
    margin-left: 20px;
    font-size: 15px;
    border-radius: 0.3rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    min-width: 150px;
    position: relative;
}

/* Estados del botón */
.table-header-section .bulk-approve-btn:hover {
    background-color: #0277a8;
}

.table-header-section .bulk-approve-btn:active {
    background-color: #02638a;
}

.table-header-section .bulk-approve-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(3, 138, 198, 0.4);
}

/* EXPORTACION DE DATOS */
.tabs-wrapper.exportacion {
    background-color: #373737 ;
}

.tabs-wrapper.exportacion .tab-item{
    background-color: #5f5e5e;
}

.tabs-wrapper.exportacion .tab-item.active {
    background-color: #ff9b17 ;
    color: #ffffff;
}