


 /* IMAGEN DE FONDO */

.background-image {
    background-size: cover; 
    background-position: center; 
    height: auto; 
    width: 100vw;   
  
    display: flex;
    justify-content: center; 
    align-items: center; 
    overflow: auto; 
    min-height: 100vh; 
    margin: 0 !important;
}
 /* LOGIN */

.body-login {
    overflow-y: auto;
    overflow-x: hidden;
}

.auth-container {
    position: relative;
    width: 500px;
    border-radius: .5rem;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    animation: enter 500ms ease-out;
    background-color: #cf233d;
    animation: enter 500ms ease-out;
    margin: 2rem;
}

@keyframes enter {
    0%{     
        opacity: 0;
        transform: translateY(+20px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
  }


.auth-container section {
    padding: 1.5rem 1.8rem;
    margin: 0.7rem;
    margin-top: 0;
    background-color: #fff;
    border-radius: 0.5rem;
}

.auth-container span a {
    margin-top: 4px;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 13px;
    text-decoration: none;
    color: #b91c2a ;
    transition: 400ms;
    font-weight: bold;
}

.auth-container span a:hover {
    color: #880f19;
}

.auth-logo {
    text-align: center; 
    padding: 1.4rem;
    padding-bottom: 1.2rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    display: flex;             
    justify-content: center;    
    align-items: center;    
    position: relative;   
    background-color: #691b1b;
}

.auth-logo img {
    max-width: 100%; 
    height: auto; 
    max-height: 65px;
}

.auth-container h4 {
    color: #3d3d3d;
    text-align: center;
    font-size: 18px;
}

.auth-container h5 {
    text-align: center;
    color: #5b0a11;
    font-size: 17px;
    font-weight: normal;
}

.auth-container h6 {
    text-align: center;
    color: #b91c2a;
    font-size: 14px;
}

.auth-container  label {
    color: #000000;
    margin-bottom: 0.2rem;
    font-size: 14px;
}

.auth-container form {
    margin-top: 1rem;
}

.auth-container input[type="password"], 
.auth-container input[type="email"], 
.auth-container input[type="text"] {
    width: 100%;
    padding: 0.7rem;
    font-size: 15px;
    border: #adadad 1px solid;
    border-radius: 0.2rem;  
    margin-bottom: 0.5rem;
    background-color: #fff;
}

.auth-container input[type="number"] {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 20px;
    border: #adadad 1px solid;
    border-radius: 0.2rem;  
    margin-bottom: 2rem;
    text-align: center;
}

.auth-remember {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin: 0.5rem 0;
}

.auth-remember input[type="checkbox"] {
    transform: scale(1.5);
}

.auth-footer {
    text-align: center;
    margin: 1rem 0;
    font-size: 14px;
}

.auth-footer  a {
    text-decoration: none;
    color: #b91c2a;
    font-weight: bold;
}

.errorlist{
    list-style-type: none;
    background-color: #fecacf;
    padding: .5rem;
    margin: 1rem 0;
    border-radius: .2rem;
    font-size: 14px;
 }
 .errorlist  li {
    text-align: center;
    color: #b91c2a;
 }


 .auth-container .helptext ul {
    background-color: #fff2e2;
    color: #5e3c30;
    padding:  0.8rem 1rem ;
    border-radius: .5rem;
    text-align: left;
    margin: 0.5rem 0;
    list-style-type: disc; 
    margin-bottom: 1rem;
    font-size: 14px;

 }

 .auth-container .helptext li {
    margin-left: 2rem;
 }


 .table-footer-ul {
    display: flex;
    list-style-type: none;
    
 }
/* BOTONES */

.long-btn {
    display: block;
    color: #fff;
    width: 100%;
    border-radius: 0.5rem;  
    padding: 0.8rem;
    text-align: center;
    border: transparent;
    font-weight: bold;
    transition-duration: 200ms;
}

.long-btn.auth {
    background-color: #881922;

}

.long-btn.auth:hover {
    background-color: #a2212b
}


/* FORMULARIOS */
.content-form {    
    width: 66%;
    padding: 1rem  ;
}

#filter-form{    
    width: 66%;
    padding: 0;
}

.content-form > div {
    padding: 0.8rem 1rem;
}

.content-form .detail-columns-2 {
  margin-bottom: 1rem;
}

.content-form .detail-columns-1 {
    margin-bottom: 1rem;
}

.content-form .detail-columns-2 .modal-btn {
    width: 100%;
    border-radius: 10px;
}

.content-form .detail-check {
    margin-bottom: 1rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: end;
}

.detail-check .switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

.detail-check .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.detail-check  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2F2F2F;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.detail-check  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.detail-check  input:checked + .slider {
    background-color: #2196F3;
}

.detail-check input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.detail-check  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(56px);
}
  




.content-form textarea {
    box-sizing: border-box; 
    width: 100%;
    padding: 0.5rem;
    font-size: 15px;
    border: #87888d 1px solid;
    border-radius: 0.2rem;  
    white-space: normal;
    word-break: break-word;
    resize: vertical;
    height: 100px;
    min-height: 100px;
    max-height: 150px;
}



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



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

.content-form strong {
    width: 100%;
    display: block;
    padding: 5px;
    text-align: center;
    font-size: 17px;
    background-color: #98101B;
    color: #fff;
    border-radius: 4px;
    font-weight: normal;
    margin-bottom: 10px;
}

.content-form input[type="text"]:focus{
    border: #038ac6 1px solid !important;
}


.content-form input[type="file"] {
    box-sizing: border-box; 
    width: 100%;
    padding: 0.5rem;
    font-size: 15px;
    border: #87888d 1px solid;
    border-radius: 0.2rem;  
    white-space: normal;
    word-break: break-word;
    background-color: #fff;
    cursor: pointer;

}

.content-form input[type="file"]:hover::file-selector-button {
    background-color: #3b3b3b; 
}

.content-form input::file-selector-button {
    font-weight: bold;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 3px;
    background-color: #000000;
    cursor: pointer;
    transition-duration: 200ms;
    content: "";
    margin-right: 1rem;
    font-family: 'Nunito', sans-serif;
}

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

.content-form .modal-btn {
    width: 160px;
}

.content-form small {
    display: block;
    color: #636363;
    font-size: 14px;
    text-align: left;
    margin-top: 1px;
}
.content-btn-container {
    display: flex;
    justify-content: end;
    gap: 4px;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;

    margin-top: 0.9rem;
    margin-bottom: 0.4rem;
    position: relative;
}


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

.content-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;     
}


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


.content-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;
    z-index: 50;
    transition: opacity 300ms ease-in-out, visibility 0s 300ms, transform 300ms ease-in-out;
}
.content-btn-container.loading::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease-in-out , visibility 0s, transform 300ms ease-in-out;     
}


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

.content-form .modal-btn.search {
    display: block;
}

.content-form.alternative {
    width: 100%;
}

.content-form.alternative > div {
    display: flex;
    gap: 0.5rem;
    padding: 0;
}

.content-form.alternative > div > div:first-child {
    flex: 2;
    padding: 0.8rem 1rem;
}

.content-form.alternative > div:nth-child(2) > div:first-child {
    padding-bottom: 0;
}

.content-form.alternative > div > div:nth-child(2) {
    flex: 1;
    padding: 0.8rem 1rem;
}

.content-form.alternative > div:nth-child(3) > div:first-child {
    padding-top: 0;

}

.content-form.alternative .content-btn-container {
    margin: 0;
    
}


/* TABLAS EN FORMULARIOS */

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

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

.table-form td:first-child{
    padding-left: 0;
}
.table-form td:last-child{
    padding-right: 0;
}
  
.table-form th {
    color: #ffffff;
    font-size: 16px;
    text-align: left;
    font-weight: normal;
    padding: 6px 10px;  
    background-color: #262728;
}

.table-form th:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.table-form th:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table-form  tr  {
    font-size: 16px;
    border-radius: 2rem;
}
    
.table-form  tbody tr {
    border-bottom: 0.5px solid #93969e; 

}
.table-form  tbody tr:first-child {
    border-bottom: none;
}

.total-table {
    margin-bottom: 10px;
}



/* TIPOS DE FORMULARIOS */


.content-form.parada > div {
    background-color: #eafff1;
}

.content-form.receta > div {
    background-color: #ffe9e9;
   
}

.content-form.receta {
    width: 100%;
}

.content-form.receta section {
    width: 66%;
}

.content-form .content-bottom {
    background-color: transparent;
    padding: 5px 0;
}


.content-form.inventario  > div{    
    background-color: #fff1f1;
}


.content-form.personal > div > div {
    background-color: #e5f5ff;
}

.content-form.export > div {
    background-color: #fdffe5;
}


/* PARADAS */

.leyenda-paradas {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.leyenda-paradas small {
    padding: 0.5rem 1rem;
    border-radius: 4px;

}

.leyenda-paradas small:nth-child(1) {
    background-color: #87fe87;
}

.leyenda-paradas small:nth-child(2) {
    background-color: #b3ddff;
}




/* PERSONAL */

.usuario-firma span {
    background-color: #000;
    width: 100%;
    display: block;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.usuario-firma div {
    height: 200px;
    width: 100%;
    background-color: #fff;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: #87888d 1px solid;
}

.usuario-firma img {
    max-height: 100%;            
    max-width: 100%;             
    height: auto;                
    width: auto;   
    background-color: #fff;
} 


/* OTROS */

.table-wrapper {
    animation: moving .5s ease;
    margin: 0 ;
    padding:  1.5rem 2rem ;
    background-color: #ffffff;
}

/* MODALES EXTERNOS */




.modal-crear input {
    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-filtrar label,
.modal-crear label   {
    display: block;           
    align-items: center;       
    color: #000; 
    font-size: 15px;
    margin-bottom: 2px;
}

.modal-image {
    width: 800px;
    height: 500px;
    
}


.modal-crear small {
    display: block;
    height: 10px;
}


.modal-crear {
    width: 600px; 
}

.modal-filtrar {
    width: 750px;
}

.modal-crear 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-filtrar .modal-btn,
.modal-crear .modal-btn {
    width: 160px;
}

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

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

.modal-filtrar .checked {
    background-color: #ffc848;
    font-weight: bold;
}

.modal-filtrar .checkedAlternative {
    background-color: #ff9d48;
    font-weight: bold;
}

.modal-filtrar section > div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: stretch;
}

.modal-filtrar section .disabled {
    position: relative; 
    pointer-events: none;
}

.modal-filtrar section .disabled::after {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000036; 
}


.modal-filtrar section > div div {
    flex: 1 1 33%;
    max-width: 32%;  
    min-width: 180px;
    display: flex;
    padding: 6px;
    border-radius: 4px;
 
}

.modal-filtrar section label {
    display: flex;
    gap: 10px;
    padding-left: 0.2rem;
    width: 100%;
    height: 100%;
}


.modal-filtrar section {
    margin: 0.6rem 0;
    height:fit-content;
    max-height: 300px; 
    overflow-y: auto;
}

.modal-filtrar input[type="checkbox"] {
    transform: scale(2.0);
    margin-top: 2pt;
    margin-left: 4px;

}



.modal-crear  .detail-columns-2 {
    display: grid !important;
}


/* SLIDER IMAGES */


.input-title {
    width: 100%;
    text-align: center;
    border: none;
    font-weight: bold;
    font-size: 15px;
    background-color: #006EAE;
    padding: 6px;
    color: #fff;
}


.slider-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}


.slider-container .slider-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: max-content;
  height: 100%;
  width: 100%;
}



.slider-container .slider-item {
  flex: 0 0 100%; 
  width: 100%;
  box-sizing: border-box;

}

.slider-container .slider-empty {
    background-color: #C1D9FF;
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    font-size: 18px;
}

.slider-container .slider-body {
    height: calc(100% - 55px);   
    overflow: auto;
    margin: 10px;
}


 .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  font-size: 20px;
  transition: 200ms ease;
}

.slider-btn.inactive {
    background: rgba(0, 0, 0, 0.4);
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
    pointer-events: none;

}


.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}


.slider-container.empty .slider-btn  {
    opacity: 0 ;
}


@media (max-width: 1000px) {
    .content-form.inventario   {
        width: 100%;
    }
}



@media (max-width: 800px) {
.content-form   {
    width: 100%;
}

.content-form.receta section {
    width: 100%;
}

.content-form.alternative > div {
    flex-direction: column; 
}

.content-form.alternative > div > div {
    flex: 1 1 100%; 
}

.content-form.alternative > div {
    gap: 0;
}
.content-form.alternative > div:nth-child(3) > div:nth-child(2) {
    background-color: #fff !important;
    height: 0;
    padding:  0rem 1rem !important;
}

.table-wrapper {   
    padding:  1rem;
}
    
.modal-filtrar section > div div {
    flex: 1 1 49%;
    max-width: 49%;
}

}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.super_view {
    visibility: hidden;
}  