/* HEADERS */

.header-content {
    color: #fff;
    padding: 1.1rem;
    margin: 0;
    font-size: 19px;
    font-weight: bold;
    background-color: #262728;
    position: relative;
}

.header-content i {
    top: 50%;
    left: 15px;
    transform: translate(0%, -50%);
    position: absolute;
    font-size: 22px;
    border-radius: 4px;
    padding: 2px 6px;
    
}

.header-content span {
    margin-left: 45px;
    display: inline-block;    
}


.header-content.form {
    background-color: #0b1115;
}

.header-content.form i {
    color: #e5e5e5;
    background-color: #3e475d;
}

.header-content.table {
    background-color: #1d1d1d;
}

.header-content.table i {
    color: #dcdcdc;
    background-color: #6f6f6f;
}


.header-content.parada {
    background-color: #1e5d1f;
}

.header-content.parada i {
    color: #e0f9df;
    background-color: #228b22;
}


.header-content.receta {
    background-color: #7B1F1F;
}

.header-content.receta i {
    color: #ebb0b0;
    background-color: #954d4d;
}



.header-content.personal {
    background-color: #2d407b;
}

.header-content.personal i {
    color: #e0ebf9;
    background-color: #3561cf;
}

.header-content.recetario {
    background-color: #BD1826;
}

.header-content.recetario i {
    color: #e5303f;
    background-color: #ffffff;
}



.header-content.export {
    background-color: #F0AE0E;
    color: #000;
}

.header-content.export i {
    color: #f5be1a;
    background-color: #000000;
}



.header-content.inventario {
    background-color: #BD1826;
}

.header-content.inventario i {
    color: #e5303f;
    background-color: #ffffff; 
}


/* FORMULARIOS CSS */

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

.background-content {
    background-color: #fff;
    margin: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}  


.border-content {   
    margin: 1.5rem;
}


.content-collapsible {
    overflow-y: hidden;     
    transition: max-height 500ms ease;    
    overflow-x: auto;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition-property: max-height;
    box-sizing: border-box;
}



.input-forbidden {
    cursor: not-allowed;
    pointer-events: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}




.detail-colaborador select {
    pointer-events: none; 
    background-color: #ffffff; 
    color: #000000;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    opacity: 1;
    padding: 0px !important;
    border: none !important;
}


/* CABECERAS */


.button-collapsible {
    background-color: #98101b;
    color: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 17px;
    padding: 1rem;
    font-weight: bold;
    position: relative;
    border-radius: 6px;
    margin-top: 3px;
    border-bottom: 4px solid #6c2323;
    
}

.button-collapsible:hover::after {
    background-color: #430505;
}
  
.button-collapsible:after {
    content: '\25be  ';
    color: #fff;
    font-weight: bold;
    right: 0%;
    top: 50%;
    transform: translate(-30%, -50%); 
    background-color: #600B0B;
    position: absolute;
    width: 35px;
    padding: 5px;
    text-align: center;
    border-radius: 6px;
    font-size: 20px;
    transition: 200ms;
}
  
.button-collapsible.active:after {
    content: "\25B4";
}

.button-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    justify-content: end;
    text-align: end;
    margin-top: 1rem;
}
  

/* INPUT DE FORMATO */
.content-collapsible input[type="text"],
.content-collapsible input[type="number"],
.content-collapsible input[type="date"],
.content-collapsible input[type="datetime-local"],
.content-collapsible input[type="time"],
.content-collapsible select  {
    box-sizing: border-box; 
    width: 100%;
    padding: 0.5rem;
    font-size: 15px;
    border: #87888d 1px solid;
    border-radius: 0.2rem;  
    margin: 0.5rem 0;
    white-space: normal;
    word-break: break-word;
}


.content-collapsible input[type="date"] {
    padding: 0.44rem 0.5rem;

}

.content-collapsible select {
    -moz-appearance: none;
    -webkit-appearance: none;
    
}

.content-collapsible input[type="text"]:focus,
.content-collapsible input[type="number"]:focus,
.content-collapsible input[type="date"]:focus,
.content-collapsible input[type="datetime-local"]:focus,
.content-collapsible input[type="time"]:focus,
.content-collapsible select:focus {
    border: #0018a3 1px solid;
}

.content-collapsible  input[type="checkbox"]{
    transform: scale(2.7) ;
}

.content-collapsible label,
.modal-content label  {
    color: #464d50;
    font-size: 16px;
}

.detail-collapsible {
    padding: 1rem 1.5rem;
    width: 66%;
}

.detail-collapsible .detail-columns-2 {
  margin-bottom: 1rem;
}
.detail-collapsible h4 {
    margin-bottom: 0.3rem;
    font-size: 18px;
    color: #313131;
}





.detail-collapsible small {
    display: block;
    color: #636363;
    font-size: 14px;
    text-align: left;
    margin-top: 1px;
}

.detail-collapsible span {
    width: 100%;
    padding: 0.5rem;
    font-size: 15px;
    border: #adadad 1px solid;
    border-radius: 0.2rem;  
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    color: #000000; 
    background-color: #e9ecef; 
}

.display-min-seg {
    display: flex;
    align-items: center; 
    gap: 0.5rem;  
}

.display-min-seg  div {
    flex: 1;
}

.invalid-row {
    background-color: #ef9292;
}

.invalid-input {
    border: #d50101 1px solid !important;
    background-color: #fbe5e5 !important ;
    color: #000 !important;
}

.invalid-field {
    background-color: #ffdf0e;
    border: #a89411 1px solid !important;
}
  
.display-vertical-btn {
    display: flex;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
    align-items: center;    
    
}

.display-no-check {
    color: #3f464b;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    background-color: #f7f7f7;
    padding: 1rem 1rem 0.8rem 1rem;
}

.display-no-check h4 {
    font-size: 20px;
}

.display-table-header {
    overflow-x: auto;
    background-color: #555555;
    color: #fff;
}
.display-table-header  td {
   width: 250px;
   min-width: 250px;
   padding: 2px 0.7rem;
}

.display-table-header  table {
    margin: 0.8rem 0rem;
    margin-left: 0.2rem;
 }
 
 .display-table-header select, .display-table-header input {
    margin: 0 !important;
 }

 .display-table-header .table-inside {
    margin: 0;
 }

  
.detail-columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 1rem;
}
 
.detail-columns-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}


.content-bottom {
    color: #3f464b;
    display: flex;
    gap: 1rem;
    align-items: center;    
    background-color: #f7f7f7;
    padding: 0.5rem;
    padding-left: 1rem;
}

.content-bottom h4 {
    font-size: 20px;
}

.extra-row {
    display: none;
}
.delete-row {
    display: none;
}



.row-add-animation {
    animation: add-animation 0.5s ease-in-out;
}


@keyframes add-animation {
    0% { background-color: #a3ffb8; }
    100% { background-color: transparent; }
}

.row-remove-animation  {
    animation: remove-animation 0.5s forwards;  
}

@keyframes remove-animation {
    0% {
        opacity: 1;
        background-color: transparent;
    }
    100% {
        opacity: 0;
        background-color: #ffa3a3;
    }
}

.display-dni-input {
    position: relative;
}

.display-dni-input i {
    content: '';  
    position: absolute; 
    top: 50%; 
    right: 8px; 
    transform: translate(0%, -45%);
    font-size: 25px;
    z-index: 4;
}


.display-dni-input input {
    min-width: 200px;
    padding-right: 40px !important;
}

.display-dni-input input[type="number"] {
    -moz-appearance: textfield;
}

.display-dni-input input[type="number"]::-webkit-outer-spin-button,
.display-dni-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}


.display-dni-input.empty i{
    color: #747474;
}

.display-dni-input.valid input {
    background-color: #c3d4ff;
    border: 1px solid #0d43c1;

}

.display-dni-input.valid i{
    color: #0d43c1;
}


.display-dni-input.invalid input {
    background-color: #ffcece;
    border: 1px solid #c10d0d;
}

.display-dni-input.invalid i{
    color: #c10d0d;
}

.detail-responsable input, .detail-responsable select, .detail-responsable span  {
    pointer-events: none; 
    background-color: #2f2f2f; 
    color: #fff;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    opacity: 1;
}

.detail-alternative {
    margin-bottom: 1rem;
}
.detail-alternative select {
    background-color: #1d2c36; 
    color: #fff;
}

.detail-alternative span{
    background-color: #1d2c36; 
    color: #fff;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    pointer-events: none; 

}

/* USUARIOS CONTENEDOR */



.usuarios-detail  table{
    width: 100%;
    margin-bottom: 1.2rem;
}
.usuarios-detail tbody tr {
    border-bottom: 1px solid #8f8f8f ;
}



.usuarios-detail select {
    background-color: #1d2c36; 
    color: #fff;
}

.usuarios-detail span{
    background-color: #1d2c36; 
    color: #fff;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    pointer-events: none; 

}


.usuarios-detail td {
    padding:  5px 0;
    background-color: #fff ;
}

.usuarios-detail th {
    padding: 10px;
    background-color: #0B1115;
    color: #fff;
    font-weight: normal;
}

.usuarios-detail  strong {
    padding: 0 10px;
    font-weight: normal;
}


/* COLABORADORES CONTENEDOR */


.colaboradores-detail table {
    width: 100%;
}


.colaboradores-detail tbody tr {
    border-bottom: 1px solid #8f8f8f ;
}


.colaboradores-detail td {
    padding:  10px;
    background-color: #fff !important;
}


.colaboradores-detail th {
    padding: 10px;
    background-color: #0B1115;
    color: #fff;
    font-weight: normal;
}




.colaboradores-detail .empty {
    border: none;
}

.colaboradores-detail .empty td {
    text-align: center;
    background-color: #DDDEE0 !important;
    border-radius: 6px;
}

.colaboradores-detail .empty th {
    color: transparent;
}

/* TIPOS DE TABLAS */

.table-collapsible {
    color: #000000;
    width: 100%;
  
}

.table-collapsible td {
    padding: 0 0.3rem 
}

.table-collapsible td:first-child{
    padding-left: 0.6rem;
}
.table-collapsible td:last-child{
    padding-right: 0.6rem;
}
  
.table-collapsible th {
    padding: 1.2rem;
    color: #ededed;
    background-color: #0B1115;
}



.table-collapsible  tr  {
    border-top: 0.5px solid #93969e;
    border-bottom: 0.5px solid #93969e; 
    font-size: 16px;
}
    

.table-collapsible tbody tr:hover:not(.invalid-row)  {
    background-color: #f2f2f3;
}


  
  
/* INPUT EXPANDIBLE */

.content-collapsible .expand-input, .content-form .expand-input {
    padding-top: 0.5rem ;
    padding-bottom: 0.5rem ;

}

.content-collapsible .expand-input span, .content-form .expand-input span{
    display: block; 
    padding: 0;
    margin: 0;
    text-align: left;
}

.content-collapsible .expand-input span:focus, .content-form .expand-input span:focus {
    outline: none; 
    border: none; 
}


.content-collapsible .expand-input div, .content-form .expand-input div{
    width: 100%;
    padding: 0.5rem;
    font-size: 15px;
    border: #777b88 1px solid;
    border-radius: 0.2rem;  
    background-color: #fff;
    position: relative;


}
.content-collapsible .expand-input div.focused, .content-form .expand-input div.focused {
    border: #0018a3 1px solid;
}

/* SELECT EXPANDIBLE */

.content-collapsible .expand-select{
    position: relative;
}

.content-collapsible .expand-select select{
    cursor: pointer;
    padding-right: 1.2rem;
}


/* TABLAS ESPECIALES */

/* OBSERVACIONES */

.table-obs th:nth-child(1), .table-obs th:nth-child(2)  {
    width: 1%;
    min-width: 140px;
    text-align: center;
    justify-content: center;
}
  
.table-obs th:nth-child(3) {
    width: 98%;
    min-width: 500px;
    text-align: left;
}


.table-obs td:nth-child(3) {
    max-width: 500px;
}

.table-obs td:nth-child(4) {
    width: 1%; 
    min-width: 80px;
}

/* PARADAS */
.table-par th {
    text-align: center;
    justify-content: center;
}

.table-par td:nth-child(7)  {
    text-align: center;
    justify-content: center;
}

.table-par th:nth-child(1), .table-par th:nth-child(2), .table-par th:nth-child(5), .table-par th:nth-child(7) {
    width: 1%;
    min-width: 140px;
}

.table-par th:nth-child(3),  .table-par th:nth-child(4) {
    width: 30%;
    min-width: 300px;
}

.table-par td:nth-child(3),  .table-par td:nth-child(4) {
    max-width: 300px;
}

.table-par th:nth-child(6) {
    width: 20%;
    min-width: 300px;
}

.table-par td:nth-child(8) {
    width: 1%; 
    min-width: 80px;
}


/* TABLA COLABORADORES */

.table-col th:nth-child(1) {
    text-align: left;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}



.table-col th:nth-child(1),
.table-col td:nth-child(1)  {
    width: 75%;
}


.table-col th:nth-child(2),
.table-col td:nth-child(2) {
    width: 15%;
    text-align: center;
    justify-content: center;
}

.table-col th:nth-child(3) {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table-col th:nth-child(3),
.table-col td:nth-child(3) {
    width: 10%;
    
}

/* TABLE USUARIOS */

.table-usu th:nth-child(1) {
    text-align: left;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    width: 65%;
}

.table-usu th:nth-child(2) {
    width: 20%;
    text-align: center;
}
.table-usu td:nth-child(2) {
    text-align: center;
}


.table-usu th:nth-child(3) {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    width: 15%;
}

.table-usu td:nth-child(3)  {
    text-align: center;
    justify-content: center;
}




/* TABLA UTENSILIOS */
  
.table-uten  th:nth-child(1) {
    width: 30%;
    min-width: 300px;
    text-align: left;
}
  
.table-uten  td:nth-child(1) {
    background-color: #dddee0;
    padding: 0.5rem 1rem;
}

.table-uten tr.invalid-row td:nth-child(1) {
    background-color: #f4adad;
}

  
.table-uten  th:nth-child(2), .table-uten  td:nth-child(2),
.table-uten  th:nth-child(3), .table-uten  td:nth-child(3),
.table-uten  th:nth-child(4), .table-uten  td:nth-child(4)  {
    width: 5%;
    min-width: 80px;
    text-align: center;
    justify-content: center;
}
    
.table-uten  th:nth-child(5), .table-uten  td:nth-child(5) {
    width: 45%;
    min-width: 350px;
    text-align: left;
}

.table-uten  td:nth-child(5) {
    padding-right: 0.6rem;
}



/* TABLA UTENSILIOS ADMINISTRADOR */

.table-uten-admin  th:nth-child(1) {
    width: 30%;
    min-width: 300px;
    text-align: left;
}

.table-uten-admin  td:nth-child(1) {
    background-color: #dddee0;
}

.table-uten-admin  th:nth-child(2), .table-uten-admin  td:nth-child(2),
.table-uten-admin  th:nth-child(3), .table-uten-admin  td:nth-child(3),
.table-uten-admin  th:nth-child(4), .table-uten-admin  td:nth-child(4),
.table-uten-admin  th:nth-child(6), .table-uten-admin  td:nth-child(6)   {
    width: 5%;
    min-width: 80px;
    text-align: center;
    justify-content: center;
}

    
.table-uten-admin  th:nth-child(5), .table-uten-admin  td:nth-child(5) {
    width: 45%;
    min-width: 350px;
    text-align: left;
}

.table-uten-admin td:nth-child(7) {
    width: 1%; 
    min-width: 80px;
}


/* TABLA UTENSILIOS ALTERNATIVA */


.table-uten2  th:nth-child(1) {
    width: 30%;
    min-width: 300px;
    text-align: left;
}
  
.table-uten2  td:nth-child(1) {
    background-color: #dddee0;
    padding: 0.5rem 1rem;
    
}

.table-uten2 tr.invalid-row td:nth-child(1) {
    background-color: #f4adad;
}
  
.table-uten2  th:nth-child(2), .table-uten2  td:nth-child(2),
.table-uten2  th:nth-child(3), .table-uten2  td:nth-child(3)  {
    width: 5%;
    min-width: 50px;
    text-align: center;
    justify-content: center;
}
    
.table-uten2  th:nth-child(4), .table-uten2  td:nth-child(4) {
    width: 45%;
    min-width: 350px;
    text-align: left;
}

.table-uten2  td:nth-child(4) {
    padding-right: 0.6rem;
}

/* TABLA UTENSILIOS ALTERNATIVA  ADMINSITRADOR */

.table-uten2-admin  th:nth-child(1) {
    width: 30%;
    min-width: 300px;
    text-align: left;
}

.table-uten2-admin  td:nth-child(1) {
    background-color: #dddee0;
}

.table-uten2-admin  th:nth-child(2), .table-uten2-admin  td:nth-child(2),
.table-uten2-admin  th:nth-child(3), .table-uten2-admin  td:nth-child(3)  {
    width: 5%;
    min-width: 80px;
    text-align: center;
    justify-content: center;
}

    
.table-uten2-admin  th:nth-child(4), .table-uten2-admin  td:nth-child(4) {
    width: 45%;
    min-width: 350px;
    text-align: left;
}

.table-uten2-admin td:nth-child(5) {
    width: 1%; 
    min-width: 80px;
}


/* TABLA PRE OPERACIONAL */

.table-preo-tree th:nth-child(1),
.table-preo-tree th:nth-child(2){
    width: 20%;
    min-width: 300px;
    text-align: left;

}
 
.table-preo-tree th:nth-child(3),
.table-preo-tree th:nth-child(4){
    width: 5%;
    min-width: 80px;
    text-align: center;
}

.table-preo-tree td[rowspan] + td + td,
.table-preo-tree td[rowspan] + td + td + td,
.table-preo-tree td:nth-child(1):not([rowspan]) + td, 
.table-preo-tree td:nth-child(1):not([rowspan]) + td + td {
    text-align: center;
    justify-content: center;
}

.table-preo-tree td[rowspan] + td + td + td + td,
.table-preo-tree td:nth-child(1):not([rowspan]) + td + td + td {
    padding-right: 0.6rem;
}

.table-preo-tree th:last-child {
    width: 45%;
    min-width: 350px;
    text-align: left;    
}


.table-preo-tree td[rowspan] {
    background-color: #c5c7cb;
    padding: 0.5rem 1rem;
}

.table-preo-tree td[rowspan] + td,
.table-preo-tree td:nth-child(1):not([rowspan]) {
    background-color: #dddee0;
    padding: 0.5rem 1rem;
}

.table-preo-tree  tr {
    background-color: #fff;
}

.table-preo-tree  tr.invalid-row {
    background-color:#EF9292;
}

.table-preo-tree tr.invalid-row td[rowspan] + td, 
.table-preo-tree  tr.invalid-row td:nth-child(1):not([rowspan]){
    background-color: #f4adad;
}

.table-preo-tree tr  .invalid-cell {
    background-color: #fac7c7;
}


/* TABLA PRE OPERACIONAL ADMINISTRADOR */

.table-preo-admin td:nth-child(1){
    background-color: #c5c7cb;

}

.table-preo-admin td:nth-child(2){
    background-color: #dddee0;
    max-width: 300px;
}

.table-preo-admin th:nth-child(1),
.table-preo-admin th:nth-child(2){
    width: 20%;
    min-width: 300px;
    text-align: left;

}

 
.table-preo-admin th:nth-child(3),
.table-preo-admin th:nth-child(4){
    width: 5%;
    min-width: 80px;
    text-align: center;
}

.table-preo-admin td:nth-child(3),
.table-preo-admin td:nth-child(4){

    text-align: center;
}
 

.table-preo-admin th:nth-child(5) {
    width: 45%;
    min-width: 350px;
    text-align: left;    
}

.table-preo-admin td:nth-child(6) {
    width: 1%; 
    min-width: 80px;
}




/* TABLE DE RECETAS */


.table-rec th:nth-child(1) {
    width: 90%;
    min-width: 400px;
    text-align: left;
}


.table-rec th:nth-child(2),
.table-rec th:nth-child(3) {
    width: 1%; 
    min-width: 80px;
}


/* TABLE DE LIMPIEZA */


.table-lim  th:nth-child(1) {
    width: 45%;
    min-width: 350px;
    text-align: left;
}

.table-lim  td:nth-child(1) {
    background-color: #dddee0;
    padding: 0.5rem 1rem;
}



.table-lim tr.invalid-row td:nth-child(1) {
    background-color: #f4adad;
}

.table-lim  th:nth-child(2), .table-lim  td:nth-child(2) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}

.table-lim  th:nth-child(3), 
.table-lim  th:nth-child(4)  {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}


.table-lim  th:nth-child(5){
    text-align: left;
    width: 40%;
    min-width: 350px;
    
}

.table-lim  td:nth-child(5){
    padding-right: 0.6rem;

}


/* TABLA LIMPIEZA ADMINISTRADOR */


.table-lim-admin  th:nth-child(1) {
    width: 5%;
    min-width: 80px;
    text-align: left;

}

.table-lim-admin  th:nth-child(2) {
    width: 40%;
    min-width: 350px;
    text-align: left;
}

.table-lim-admin  td:nth-child(1), .table-lim-admin  td:nth-child(2) {
    background-color: #dddee0;
}

.table-lim-admin  th:nth-child(3), .table-lim-admin  td:nth-child(3) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}

.table-lim-admin  th:nth-child(4), 
.table-lim-admin  th:nth-child(5)  {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}


.table-lim-admin  th:nth-child(6){
    text-align: left;
    width: 35%;
    min-width: 350px;
}

.table-lim-admin th:nth-child(7) {
    width: 1%; 
    min-width: 80px;
}


/* TABLA  CAMBIO DE LINEA */


.table-conli  th:nth-child(1) {
    width: 45%;
    min-width: 350px;
    text-align: left;
}

.table-conli  td:nth-child(1) {
    background-color: #dddee0;
    padding: 0.5rem 1rem;
}

.table-conli  td:nth-child(2) {
    padding-left: 0.5rem;
}

.table-conli tr.invalid-row td:nth-child(1) {
    background-color: #f4adad;
}

.table-conli  th:nth-child(2), .table-conli  td:nth-child(2) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}

.table-conli  th:nth-child(3), 
.table-conli  th:nth-child(4),
.table-conli  th:nth-child(5)   {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}


.table-conli  th:nth-child(6){
    text-align: left;
    width: 40%;
    min-width: 350px;
}

/* TABLA CAMBIO DE LINEA ADMINISTRADOR */



.table-conli-admin  th:nth-child(1) {
    width: 5%;
    min-width: 80px;
    text-align: left;

}

.table-conli-admin  th:nth-child(2) {
    width: 40%;
    min-width: 350px;
    text-align: left;
}

.table-conli-admin  td:nth-child(1), .table-conli-admin  td:nth-child(2) {
    background-color: #dddee0;
}

.table-conli-admin  th:nth-child(3), .table-conli-admin  td:nth-child(3) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}

.table-conli-admin  th:nth-child(4), 
.table-conli-admin  th:nth-child(5),
.table-conli-admin  th:nth-child(6) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}


.table-conli-admin  th:nth-child(7){
    text-align: left;
    width: 35%;
    min-width: 350px;
}

.table-conli-admin th:nth-child(8) {
    width: 1%; 
    min-width: 80px;
}



/* TABLA CAMBIO DE LINEA ALTERNATIVA */

.table-conli2  th:nth-child(1) {
    width: 40%;
    min-width: 350px;
    text-align: left;
}

.table-conli2  td:nth-child(1) {
    background-color: #dddee0;
    padding: 0.5rem 0;
    padding-left: 1rem;
}

.table-conli2  td:nth-child(2) {
    padding-left: 0.5rem;
}


.table-conli2 tr.invalid-row td:nth-child(1) {
    background-color: #f4adad;
}

.table-conli2  th:nth-child(2), .table-conli2  td:nth-child(2) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}

.table-conli2  th:nth-child(3){
    text-align: left;
    width: 60%;
    min-width: 350px;
}


/* TABLA CAMBIO DE LINEA ALTERNATIVA */


.table-conli2-admin  th:nth-child(1) {
    width: 5%;
    min-width: 80px;
    text-align: left;

}

.table-conli2-admin  th:nth-child(2) {
    width: 30%;
    min-width: 350px;
    text-align: left;
}

.table-conli2-admin  td:nth-child(1), .table-conli2-admin  td:nth-child(2) {
    background-color: #dddee0;
}

.table-conli2-admin  th:nth-child(3), .table-conli2-admin  td:nth-child(3) {
    width: 5%;
    min-width: 150px;
    text-align: center;
    justify-content: center;
}


.table-conli2-admin  th:nth-child(4){
    text-align: left;
    width: 40%;
    min-width: 350px;
}

.table-conli2-admin th:nth-child(5) {
    width: 1%; 
    min-width: 80px;
}

/* TABLA TANQUE */


.table-tanq  th:nth-child(1) {
    width: 40%;
    min-width: 350px;
    text-align: left;
}

.table-tanq  td:nth-child(1) {
    background-color: #dddee0;
    padding: 0.5rem 1rem;
}

.table-tanq tr.invalid-row td:nth-child(1) {
    background-color: #f4adad;
}



.table-tanq  th:nth-child(2), 
.table-tanq  th:nth-child(3)  {
    width: 30%;
    min-width: 200px;
    text-align: center;
    justify-content: center;
}




.table-tanq  td:nth-child(3){
    padding-right: 0.6rem;

}


/* TABLA TANQUE ADMINSITRADOR */



.table-tanq-admin  th:nth-child(1) {
    width: 40%;
    min-width: 350px;
    text-align: left;
}

.table-tanq-admin  td:nth-child(1)  {
    background-color: #dddee0;
}

.table-tanq-admin  th:nth-child(2), .table-tanq-admin  td:nth-child(3) {
    width: 30%;
    min-width: 200px;
    text-align: center;
    justify-content: center;
}



.table-tanq-admin th:nth-child(4) {
    width: 1%; 
    min-width: 80px;
}



/* TABLE DE PROCESO */

.table-actpro .expand-input div {
    padding-right: 35px;
}

.table-actpro th {
    text-align: center;
    justify-content: center;
}

.table-actpro th:nth-child(1), .table-actpro th:nth-child(2) {
    width: 1%;
    min-width: 140px;
}

.table-actpro th:nth-child(3), .table-actpro th:nth-child(4) {
    width: 15%;
    min-width: 280px;
}

.table-actpro td:nth-child(3),  .table-actpro td:nth-child(4) {
    max-width: 280px;
}

/* VISTO BUENO */

.table-vistec {
    background-color: #ebebeb;
    font-size: 16px;
    color: #3f464b;
    min-width: 700px;
    width: 100%;
}

.table-vistec small {
    display: block;
    color: #636363;
    font-size: 14px;
    text-align: left;
    margin-top: 1px;
}

.table-vistec input[type="checkbox"] {
    margin-left: 0.5rem !important;
}

.table-vistec  td:nth-child(1) {
    width: 350px;
    padding: 1rem ;
    padding-left: 1.5rem;
}

.table-vistec  td:nth-child(2) {
    width: 550px;
    padding-right: 0.5rem;
}




/* ALIMENTACION */

.table-ali th {
    text-align: left;
}

.table-ali tr.invalid-row td:nth-child(1){
    background-color: #f4adad;
}

.table-ali td {
    padding: 0.8rem ;
}

.table-ali td:nth-child(1) {
    background-color: #dddee0;
    min-width: 400px;
    width: 20%;
    padding: 0.5rem 0;
    padding-left: 1rem;
}

.table-ali td:nth-child(2) {
    align-items: center;
    padding-left: 7rem;
    min-width: 250px;
    width: 80%;
}

/* TABLAS INTERNAS */
  
.table-inside  td{
    border: 0;    
    padding: 0 !important;
    margin: 0;
    width: 100%;
}

.table-inside tr {
    padding-top: 0.3rem;
}

.table-inside tr:first-child {
    padding-top: 0;
}

.table-inside {
    text-align: center; 
    width: 100%;
    margin: 0.5rem 0;
    padding: 0;
}

.table-inside tr:hover {
    background-color: transparent !important;
}
.table-inside tr {
    border: transparent;
}


.table-inside-button tr:hover .table-inside-row:hover, .table-inside-double:hover, .table-inside-2 tr:hover, .table-line tr:hover  {
    background-color: transparent !important;
}

.table-inside-2{
    text-align: center; 
    width: 100%;
    margin: 0.3rem 0;
    padding: 0;
}

.table-inside-double td, .table-inside-button td {
    padding: 0 !important;
}
.table-inside-button tr:last-child td {
    padding-top: 0.25rem !important;
}

.table-inside-button{
    margin-bottom: 4px ;
    margin-top: 4px ;
}

.table-inside-double .display-vertical-btn {
    margin-left: 1.5rem ;
}

.table-inside-2  tr{
    border: transparent;  
}
  
.cell-start-line,
.cell-end-line {
    position: relative;
    min-width: 200px ;

}
.cell-end-line {
    padding-left: 7px !important;
}

.cell-start-line::after {
    content: '';
    display: block;
    width: 8px; 
    height: 2px; 
    background-color: #a9a9a9; 
    position: absolute; 
    top: 50%; 
    right: -5px; 
    transform: translate(0%, -50%); 
}



.cell-line::after {
    content: '\2212';
    color:#ADADAD;
    font-weight: bold;
    position: absolute; 
    top: 50%; 
    right: -10px; 
    transform: translate(-50%, -50%);
}


/* TABLE INPUT */
.table-vistec input,
.table-vistec input,
.table-inside input,
.table-inside select,
.table-inside-2 input,
.table-inside-2 select,
.detail-collapsible input,
.detail-collapsible select {
    margin: 0 !important;
}

/* N ° DE PROCESO */

.table-line td{
    border: 0;    
}
  
.table-line tr {
    position: relative;
    display: block;    
    border: transparent;
}

.table-line tr::after {
    content: '';
    display: block;
    width: 8px; 
    height: 2px; 
    background-color: #a9a9a9; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}


.table-line td:nth-child(1),  .table-line td:nth-child(2) {
    min-width: 200px;
    width: 50%;
}

.table-line td:first-child {
    padding-right: 0.4rem !important;
}
.table-line td:last-child {
    padding-left: 0.4rem !important;
}




/* BOTONES DE ACCION */

.btn-option {
    color: #ffffff;
    border: transparent;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    transition-duration: 200ms;
    align-items: center; 
    justify-content: center; 
    position: relative; 
    
}
  
.btn-option i {
 
    color: white;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    font-size: 19px;
    padding-top: 2px;
}


.btn-option.clean {
    background-color: #E02222;
}

.btn-option.clean:hover {
    background-color: #9b1919;
}
.btn-option.remove {
    background-color: #64717c ; 
}

.btn-option.remove:hover {
    background-color: #4d5a66; 
}


.btn-option.copy {
    background-color: #068fff;
}

.btn-option.copy:hover {
    background-color: #007bff;
}


.btn-option.image {
    background-color: #ff8f06;
}

.btn-option.image:hover {
    background-color: #c96f01;
}
  

.btn-option-sub {
    color: #ffffff;
    border: transparent;
    border-radius: 6px;
    font-weight: bold;
    width: 50px;
    height: 22px;
    transition-duration: 200ms;
    align-items: center; 
    justify-content: center; 
    position: relative; 
    margin: 0;
    padding: 0;

}

.btn-option-sub:after {
    color: white;
    font-weight: bold;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -52%); 
  }

.btn-option-sub.add {
    background-color: #44CE42;
}

.btn-option-sub.add:hover {
    background-color: #229821;
}
.btn-option-sub.add:after {
    content: '\002B';   
    font-size: 20px; 
}

.btn-option-sub.minus {
    background-color: #FC5A5A;
}

.btn-option-sub.minus:hover {
    background-color: #e22020;
}
.btn-option-sub.minus:after {
    content: '\2212';
    font-size: 20px; 
}


.btn-option-sub.add-2 {
    background-color: #8155fd;
}

.btn-option-sub.add-2:hover {
    background-color: #7232f5;
}
.btn-option-sub.add-2:after {
    content: '\002B';   
    font-size: 20px; 
}

.btn-option-sub.minus-2 {
    background-color: #5d89fd;
}

.btn-option-sub.minus-2:hover {
    background-color: #375ffa;
}
.btn-option-sub.minus-2:after {
    content: '\2212';
    font-size: 20px; 
}


.btn-select {
    color: #ffffff;
    border: transparent;
    border-radius: 6px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    transition-duration: 200ms;
    align-items: center; 
    justify-content: center; 
    position: relative; 
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-10%, -50%);
}

.btn-select:after {
    color: white;
    font-weight: bold;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}


.btn-select.actividad {
    background-color: #383a3b;
}

.btn-select.actividad:after {
    content: "\25BC ";
}

.btn-select.actividad:hover {
    background-color: #595c5d;
}


.btn-select.producto {
    right: 12px;
    background-color: #2a38b8;
}

.btn-select.producto:after {
    content: "\25BC ";
}

.btn-select.producto:hover {
    background-color: #4150d6;
}



/* SELECT */


.select-producto,
.select-actividad,
.select-color {
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    position: fixed;
    visibility: hidden;
    z-index: 10;    
    border-radius: 6px;
    overflow: visible;
    background-color: #fff;
    border: #929292 0.5px solid;
    min-width: fit-content; 
}



.select-actividad.active,
.select-producto.active,
.select-color.active {
    visibility: visible;
}

.select-actividad  ul,
.select-producto  ul,
.select-color ul  {
    list-style: none;
    color: #000;
    max-height: 250px;
    overflow-y: auto;
}

.select-actividad  li,
.select-producto  li ,
.select-color li {
    background-color: #fff;
    padding:  0.5rem;
    cursor: pointer;
    white-space: nowrap
}

.select-actividad  li:hover,
.select-producto  li:hover,
.select-color li:hover {
    background-color: #186dce ;
    color: #fff;  
}






.select-producto  div,
.select-color div {
    position: relative;
}

.select-producto  i,
.select-color i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translate(0%, -50%); 
    font-size: 22px;
    color: #fff;
}


.select-producto input,
.select-color input {
    display: block;
    width: calc(100% - 1rem);      
    padding: 0.6rem;
    font-size: 17px;
    margin: 0.5rem ;    
    box-sizing: border-box; 
    border-radius: 2px;
    background-color: #186dce;
    padding-left: 0.8rem;
    border: 1px solid #ffffff;
    color: #fff;
}

.select-producto input::placeholder,
.select-color input::placeholder {
    color: #fff; 
    opacity: 1; 
}


/* MODALES */
.modal-space-background,
.modal-space-nav  {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #0000007d;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 300ms ease-in-out, visibility 0s 300ms;
    z-index: 100;
    visibility: hidden;
}
  
.modal-space-background.active,
.modal-space-nav.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease-in-out, visibility 0s;
}


.modal-content {
    position: fixed;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); 
    z-index: 200;
    max-width: 90%;
    max-height: 95%;
    background-color: #fff;
    transition: opacity 300ms ease-in-out, visibility 0s 300ms, transform 300ms ease-in-out;
    border-radius: 6px;
    overflow: auto;
}

.modal-content.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1); 
    transition: opacity 300ms ease-in-out , visibility 0s, transform 300ms ease-in-out; 
}

.modal-cross-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background-color: transparent;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    border: transparent;
    transition-duration: 200ms;
    cursor: pointer;
}
  
.modal-cross-btn:hover {
    color: #d1d1d1;
}

.modal-cross-btn-2 {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: bolder;
    border: transparent;
    transition-duration: 200ms;
    cursor: pointer;
    z-index: 100;
    width: 30px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
   
  }
  
  .modal-cross-btn-2:hover {
    color: #d1d1d1;
  }
  
  .modal-close-btn-2:active {
    color: #b0b0b0;
  }

  

.modal-btn {
    font-size: 15px;
  color: #ffffff;
  border: transparent;
  border-radius: 1rem;
  padding: 0.4rem;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  transition: 200ms;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: inline-block;

}
.modal-btn:disabled {
  pointer-events: none;
}
.modal-btn:disabled::after {
    border-radius: 1rem;
    content: ""; 
    color: #fff;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #f6f6f680; 
    font-weight: normal; 
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 50;
}


.modal-btn.primary {
    background-color: #000a17;
}
.modal-btn.primary:hover {
    background-color: #001c43;
}

.modal-btn.secondary {
    background-color: #e61022;
}
.modal-btn.secondary:hover {
    background-color: #9e121e;
}

.modal-btn.third {
    background-color: #05af4f;
}

.modal-btn.third.search{
    width: 110px;
    margin-top: 8px;
    margin-bottom: 10px;
    
}

.modal-btn.third:hover {
    background-color: #01873b;
}

.modal-btn.fourth {
    background-color: #055aaf;
}
.modal-btn.fourth:hover {
    background-color: #034486;
}

.modal-btn.fifth {
    background-color: #e24400;
}
.modal-btn.fifth:hover {
    background-color: #ba3800;
}



.icon-btn {
    border: transparent;
    font-weight: bold;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: 200ms;
    position: relative;
}

.icon-btn i {
    position: absolute;
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
}
.icon-btn.close {
    color: #E02222;
}

.icon-btn.close:hover {
    color: #ba1f1f;
}

.icon-btn.remove {
    color: #E02222;
}

.icon-btn.remove:hover {
    color: #ba1f1f;
}


.icon-btn.close i {
    font-size: 30px;
}

.icon-btn.remove i {
    font-size: 30px;
}

.modal-icon-header {
    display: block;
    text-align: center;
    color: #fff;
    padding: 0.5rem;
}
.modal-icon-header i {
    font-size: 60px;
}

.modal-text-header {
    display: flex;
    width: 100%;
    text-align: left;
    color: #fff;
    padding: 0.9rem;
    background-color: #000A17 ;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 15px;
}



.modal-error,
.modal-save,
.modal-field,
.modal-row,
.modal-success {
    width: 500px; 
}
.modal-error h5, .modal-field h5 {
    margin-bottom: 0.5rem;
    font-size: 15px;
}

.modal-save h5, .modal-row h5, .modal-success h5   {
    margin-bottom: 1.2rem;
    font-size: 15px;
}

.modal-error .modal-btn,
.modal-save .modal-btn,
.modal-field .modal-btn,
.modal-row .modal-btn,
.modal-success .modal-btn {
    width: 120px;
}




.button-bottom .modal-btn  {
    width: 200px;
}

.modal-error div:nth-child(3) ,
.modal-save div:nth-child(3), 
.modal-field div:nth-child(3),
.modal-row div:nth-child(3),
.modal-success div:nth-child(3)  {
    text-align: center;
    padding: 1rem;
    color: #000;
}

.modal-save div:nth-child(3) div,
.modal-row div:nth-child(3) div,
.modal-success div:nth-child(3) div,
.modal-colaboradores div:nth-child(3) div:nth-child(4)  {
    width: 100%; 
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
}

.modal-colaboradores div:nth-child(3) div:nth-child(4) {
    justify-content: end;
}
  
.modal-error .modal-icon-header {
    background-color: #E61022;
}

.modal-field .modal-icon-header {
    color: #000 !important;
    background-color: #ffdf0e;
}



.modal-save .modal-icon-header {
    background-color: #0a3d84;
}

.modal-row .modal-icon-header {
    background-color: #3f3f3f;
}

.modal-row.alternative  .modal-icon-header{
    background-color: #E61022;
}

.modal-success .modal-icon-header {
    background-color: #049046;
}

.modal-error ul {
    list-style-type: none;
    font-size: 14px;
    padding-bottom: 1rem;
}
 
.modal-colaboradores,
.modal-control-supervisor  {
    width: 650px; 
}

.modal-colaboradores > div:nth-child(3),
.modal-control-supervisor > div:nth-child(3)  {
    padding: 1rem;
    text-align: right;

}

.modal-colaboradores input {
    padding: 0.4rem;
    font-size: 15px;
    border: #777b88 1px solid;
    border-radius: 0.2rem;  
    white-space: normal;
    flex: 1;
}
.modal-colaboradores label {
    display: flex;           
    align-items: center;       
    padding-right: .5rem;
    color: #000; 
    font-size: 14px;
}

.modal-colaboradores .detail-columns-2 {
    margin-bottom: 0.4rem;
    gap: 0.5rem;
}
.modal-colaboradores .detail-columns-2 > div {
    display: flex;
}

.modal-colaboradores .operario-list {
    height: 300px;
    overflow-y: auto;
    margin: 1rem 0;
    background-color: #d7d7d7;
}

.modal-colaboradores table {
   color: #000;
   width: 100%;
   font-size: 14px;
   border-collapse: collapse;  
}

.modal-colaboradores tbody tr {
    background-color: #fff;
    cursor: pointer;
}

.modal-colaboradores td {
    padding:  7px 10px;
    border-bottom: 1px solid #b6b6b6;

}

.modal-colaboradores td:nth-child(1) {
    text-align: center;
    background-color:  #002840;
    color: #fff;
 
}

.modal-colaboradores td:nth-child(2) {
    text-align: left;
}
.modal-colaboradores tr:hover:not(.empty):not(.active) {
    background-color: #d4ebff;
}

.modal-colaboradores tr:hover:not(.empty):not(.active) td:nth-child(1) {
    background-color: #000e1a;
}

.modal-colaboradores tr.active {
    background-color: #b2ffb2;
}

.modal-colaboradores tr.active td:nth-child(1){
    background-color: #018a3c;
}


.modal-colaboradores  th {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10;
    background-color: #015fb2;
    color: #fff;
    padding: 7px 10px;
    outline: 1px solid #015fb2;

}

.modal-colaboradores th:nth-child(1) {
    text-align: center;
    width: 150px;
}

.modal-colaboradores  th:nth-child(2) {
    text-align: left;
}


.modal-colaboradores .operario-list.alternative {
    margin: 0;
    height: 350px;
 }
 
.modal-colaboradores .operario-list.alternative tr{
    pointer-events: none;

}

.modal-colaboradores tr.empty  {
    border-bottom: transparent;
    pointer-events: none;
}

.modal-colaboradores tr.empty td  {
    background-color: #b6deff !important;
    color: #000;
    padding: 7px 10px;
}

.modal-control-supervisor .control-list {
    height: 400px;
    overflow-y: auto;
    background-color: #d7d7d7;
}


.modal-control-supervisor th:nth-child(1) {
    width: 20%;
}
 
.modal-control-supervisor th:nth-child(2) {
    width: 80%;
}


.modal-control-supervisor table {
    color: #000;
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;  
 }
 
 .modal-control-supervisor tbody tr {
     background-color: #fff;
 }
 
 .modal-control-supervisor td {
     padding:  7px 10px;
     border-bottom: 1px solid #b6b6b6;
     text-align: center;
     color: #fff;
 
 }
 
 .modal-control-supervisor .check {
    background-color: #ff3737;
}

.modal-control-supervisor .blank {
    background-color: #46a72b;

}

.modal-control-supervisor tr.empty  td {
    background-color: #f7c0c0;
    color: #000;
}


 .modal-control-supervisor   th {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10;
    background-color: #BD1826;
    color: #fff;
    padding: 7px 10px;
    outline: 1px solid #BD1826;
    text-align: center;
}


.modal-hours-minutes {
    background-color: #ffffff;
    width: 400px; 
    display: flex;
    flex-direction: row;
}

.modal-hours-minutes > div:nth-child(1) {
    width: 40%;
    padding: 1rem;
    background-color: #616EAF;
  
}
  
.modal-hours-minutes > div:nth-child(2) {
    background-color: #fff;
    width: 60%;
    padding: 1rem;
  
}
  
.modal-hours-minutes h3 {
    color: #ffffff;
    margin: 0;
    padding-bottom: 0.5rem;  
}

.modal-hours-minutes h6 {
    color: #3F464B; 
    font-size: 15px;
    margin-bottom: .5rem;
}

.modal-hours-minutes h6 + div {
    display: flex;
    gap: 2px;
    text-align: center;
}
  
.modal-hours-minutes span{
    color: #eaeaea;
    font-size: 16px;
}
  
.modal-hours-minutes small {
    font-size: 25px;
    color: #525f68;
}
  
.modal-hours-minutes input  {
    width: 65px;
    display: block;
    padding: 0.4rem;
    font-size: 17px;
    border: transparent;
    border-bottom: 2px solid #616eaf;
    text-align: center;
}
  
.modal-hours-minutes input[type=number]::-webkit-inner-spin-button,
.modal-hours-minutes input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
  
.modal-hours-minutes  input[type=number] {
    -moz-appearance: textfield;
}
  
.modal-hours-minutes input:focus {
    border-bottom: 2px solid #616eaf;
}
  
.modal-hours-minutes label {
    font-size: 14px;
    color: #525f68; 
    text-align: center;
    width: 100%;
}

.modal-hours-minutes > div:nth-child(2) > div:nth-child(3) {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-end; 
    padding-top: 2rem;
    padding-bottom: .5rem;
    gap: 4px;
    margin-right: 1rem;
}


.modal-hours-minutes button {
    border: none;
    font-size: 15px;
    padding: 2px;
    color: #616eaf;
    background-color: #fff;
    font-weight: bold;
    text-align: right;
    position: relative;
    transition: color 0.3s ease; 
}

.modal-hours-minutes button::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 2px; 
    background-color: #616eaf;
    transition: width 0.3s ease;
}

.modal-hours-minutes button:hover::after {
    width: 100%; 
}


.modal-preview {
    overflow-y: auto;
    background-color: #fff;
}



.modal-aprobar .modal-btn ,
.modal-desaprobar .modal-btn,
.modal-enviar-solicitud .modal-btn,
.modal-responder-solicitud .modal-btn,
.modal-eliminar .modal-btn,
.modal-colaboradores  .modal-btn,
.modal-comentario .modal-btn    {
    width: 160px;
}

.modal-aprobar, .modal-desaprobar {
    background-color: #ffffff;
}

.modal-aprobar > div:nth-child(4), 
.modal-desaprobar > div:nth-child(4) {
    padding: 1rem;
    padding-top: 0;
    display: flex;              
    justify-content: flex-start;  
    flex-direction: column;
    z-index: 5;
}

.modal-aprobar > div:nth-child(4) > div, 
.modal-desaprobar > div:nth-child(4) > div {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    justify-content: end;
    filter: none;
}


.modal-aprobar label, 
.modal-desaprobar label, 
.modal-enviar-solicitud label,
.modal-responder-solicitud label,
.modal-eliminar label   {
    display: block;           
    align-items: center;       
    color: #000; 
    font-size: 15px;
    margin-bottom: 2px;
}

.modal-aprobar select, 
.modal-desaprobar select, 
.modal-enviar-solicitud select,
.modal-eliminar select {
    display: block;       
    width: 100%;    
    padding: 0.4rem;
    font-size: 15px;
    border: #777b88 1px solid;
    border-radius: 0.2rem;  
    white-space: normal;
    margin-bottom: 1rem;
}

.modal-desaprobar textarea, 
.modal-enviar-solicitud textarea,
.modal-eliminar textarea {
    outline: none;
    border-radius: 0.2rem; 
    border: #777b88 1px solid;
    white-space: normal;
    margin-bottom: 1rem;
    padding: 0.4rem;
    font-size: 15px;
    max-height: 150px;
    min-height: 100px;
    width: 100%;        
    resize: vertical;    
    box-sizing: border-box;
}

.modal-enviar-solicitud textarea,
.modal-eliminar textarea {
    max-height: 180px;
    min-height: 150px;

}

.modal-pdf-container {
    height: 450px;
    overflow: auto;
    margin: 1rem;
    padding: 1rem;
    border: 1px solid #cfcfcf;
    filter: none; 
}

.modal-pdf-preview {
    height: 100%;
    overflow: auto;
    margin: 1.5rem;
    filter: none; 
}


.modal-comentario {
    width: 600px; 
}

.modal-comentario  label {
    font-size: 17px;
    font-weight: bold;
}

.modal-comentario h6,
.modal-responder-solicitud h6  {
    font-size: 16px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
    background-color: #d7e8ff;
    border-radius: 6px;
}


.modal-comentario p, 
.modal-responder-solicitud p  {
    font-size: 15px;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: normal;
    background-color: #ebebeb;
    padding: 0.5rem;
    min-height: 150px;
    word-break: break-word; 
}

.modal-comentario > div:nth-child(3)  {
    padding: 1rem 1.5rem;
}

.modal-comentario > div:nth-child(3) div {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.modal-enviar-solicitud,
.modal-responder-solicitud,
.modal-eliminar  {
    width: 600px; 
}

.modal-enviar-solicitud > div:nth-child(3),
.modal-responder-solicitud > div:nth-child(3),
.modal-eliminar > div:nth-child(3) {
    padding: 1rem 1.5rem;
}

.modal-responder-solicitud > div:nth-child(3) div,
.modal-enviar-solicitud > div:nth-child(3) div,
.modal-eliminar > div:nth-child(3) div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}



.modal-receta {
    min-width: 550px;
}

.modal-receta h6 {
    width: 100%;
    background-color: #ca0000;
    color: #fff;
    padding: 0.5rem;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.modal-receta-imagen {
    margin: 0.5rem;
    overflow: auto;
    max-height: calc(75vh - 2rem);
    max-width: calc(100vw - 2rem);
}

.modal-receta span {
    width: 100%;
    display: flex; 
    background-color: #dcdcdc;
    color: #000;
    height: 200px;
    text-align: center;
    font-size: 16px;
    justify-content: center; 
    align-items: center;
}





/* BOTONES */

.detail-columns-3.btn-container {
    padding: 0.7rem 0.8rem;
}

.detail-columns-2.btn-container {
    padding: 0.7rem 0.8rem;

}

.btn-container {
    background-color: #858585;
    border-radius: 6px;
    margin-top: 4px;
    border-bottom: 6px solid #767676;
    position: relative;
}



.btn-container i {
    display: inline-block;
    animation: spin 1s linear infinite; 
    margin-left: 10px; 
    font-size: 30px;
}


.btn-container.loading {
    pointer-events: none;
}

.btn-container span {
    content: '';  
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%) scale(0.5); 
    z-index: 11; 
    font-size: 19px;
    font-weight: bold;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms ease-in-out, visibility 0s 300ms, transform 300ms ease-in-out;
}

.btn-container.loading span {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);  
    transition: opacity 300ms ease-in-out , visibility 0s, transform 300ms ease-in-out;     
}


.btn-container::after {
    border-radius: 6px;
    content: ''; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.901); 
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms ease-in-out, visibility 0s 300ms, transform 300ms ease-in-out;
}

.btn-container.loading::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease-in-out , visibility 0s, transform 300ms ease-in-out;     
}


.btn-container i {
    font-size: 25px;
    top: -8px;
    left: 0;
    animation: spin 1s linear infinite;
    font-weight: bolder;
}
  

.form-btn {
    transition-duration: 200ms;
    color: #ffffff;
    font-size: 90%;
    font-weight: bold;
    border-radius: 1rem;
    border: transparent;
    padding: 0.7rem;
    width: 100%;
    height: 58px;    
    display: flex;
    align-items: center;
    justify-content: center; 
}

.form-btn.primary {
    background-color: #0B1115;
}

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

.form-btn.secondary {
    background-color: #0b38d8;
}

.form-btn.secondary:hover {
    background-color: #082aa6;
}

.form-btn.third {
    background-color: #DC2626;
}

.form-btn.third:hover {
    background-color: #b81a1a;
}


.detail-data input[type="text"], 
.detail-data input[type="number"],  
.detail-data select {
    pointer-events: none; 
    background-color: #e9ecef; 
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.detail-header select,  .detail-header input{
    pointer-events: none; 
    background-color: transparent; 
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    color: #fff;
    text-align: center;
}


.content-collapsible input.loaded-data {
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none; 
    border: transparent;
    background-color: transparent; 
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.content-collapsible input.loaded-data[type="number"] {
    text-align: center;
    -moz-appearance: textfield; 
}
.content-collapsible input.loaded-data[type="number"]::-webkit-inner-spin-button,
.content-collapsible input.loaded-data[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.content-collapsible input.loaded-colaborador {
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none; 
    border: transparent;
    background-color: transparent; 
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    text-align: center;
}



  @media (max-width: 800px) {
    .background-content {
        margin: 0.5rem;
    }
    .border-content {
        margin: 0.5rem;
    }

    .detail-columns-3 {
      grid-template-columns: 1fr ; 
    }

    .detail-columns-2 {
        grid-template-columns: 1fr ; 
    }
    .detail-collapsible  {
        width: 100%;
    }
    .modal-colaboradores input {
        width: 80%;
    }

    .modal-colaboradores label {
        width: 19%;
    }
}

/* Modal Container */
.modal-bulk-approve {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}

/* Close button */
.modal-bulk-approve .modal-cross-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Checkmark icon */
.modal-bulk-approve .check-icon {
    color: #4CAF50;
    margin: 10px auto 10px;
    text-align: center;
    font-size: 0; /* Elimina espacio extra alrededor del icono */
}

.modal-bulk-approve .check-icon .mdi {
    font-size: 60px; /* Tamaño del icono MDI */
}

/* Modal Content */
.modal-bulk-approve #bulk-approve-message {
    padding: 0 20px 30px;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    text-align: center;
}

/* Button Container */
.modal-bulk-approve .modal-buttons {
    display: flex;
    justify-content: center;
    padding: 0 20px 20px;
    gap: 10px;
}

/* Buttons */
.modal-bulk-approve .modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 34px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 200px;
    font-size: 15px;
}

.modal-bulk-approve .primary {
    background-color: #f0f0f0;
    color: #333;
}

.modal-bulk-approve .third {
    background-color: #4CAF50;
    color: white;
}

/* Button hover effects */
.modal-bulk-approve .primary:hover {
    background-color: #e0e0e0;
}

.modal-bulk-approve .third:hover {
    background-color: #3e8e41;
}
