.mpr-tabla {
    font-family: 'Inter', sans-serif; 
    font-size: 18px; 
    border-collapse: collapse;
    width: 75%;
    margin: 19px auto;
    table-layout: auto;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.mpr-tabla, .mpr-tabla th, .mpr-tabla td {
    border: 1px solid #ddd;
    
}

.mpr-tabla th, .mpr-tabla td {
    padding: 10px;
    text-align: center;
    color: #333;
}

.mpr-tabla th {
    background-color: #71639e;
    color: #FFFFFF;
}

.mpr-tabla tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  /* Hover para resaltar fila activa */
  .mpr-tabla tr:hover {
    background-color: #e0f3ff;
  }

.mpr-btn-section{
    text-align: center;
}

.mpr-checkbox {
    width: 20px; 
    height: 20px;
    transform: scale(1.5); 
    margin-right: 10px; 
    cursor: pointer;
  }

  .mpr-td-cantidad-container{
    display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  }

  .mpr-td-input-cantidad{
    width: 90px;
    padding: 6px;  
    font-size: 18px;  
    text-align: center; 
    border-left: none;
    border-top: none;
    border-right: 1px solid #ccc;
    border-bottom:1px solid #ccc; 
    border-radius: 5px; 
    outline: none;  

  }

  .mpr-td-input-cantidad:focus{
    border-color: #007bff; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
  }

  .mpr-td-input-cantidad::-webkit-inner-spin-button,
  .mpr-td-input-cantidad::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

  
  .label-mpr-cargas {
    font-size: 18px; 
    font-weight: bold; 
    color: #333; 
    margin-right: 8px; 
    display: inline-block; 
  }

  /* Ventana Modal */

  .mpr-modal {
    font-family: 'Inter', sans-serif; 
    display: none;
    position: fixed;
    top: 0; left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center; 
    justify-content: center;
    z-index: 1001;
}
.mpr-modal-contenedor {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mpr-modal-btn {
    margin-top: 20px;
}
.mpr-modal-btn button {
    margin: 5px;
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 5px;
    cursor: pointer;
}
.mpr-modal-btn button i{
    margin-right: 5px;
}
.btn-cancelar-mpr { 
    background: red; font-size: 16px;
    color: white; 
    font-weight: bold;
}
.btn-mpr-modal-imprimir { background: #71639e; font-weight: bold;font-size: 16px;
    color: white; }

/* fin de mpr-modal */
  .mpr-btn-incremento, .mpr-btn-decremento {
    background-color: #71639e;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
  }
  

/* Estilos responsive */
@media (max-width: 768px) {
    .mpr-tabla{
        
        border: none;
        border-collapse: collapse;
    }
 .mpr-tabla th, .mpr-tabla td {
        display: block;
        width: 75%;
    }

     .cabezera {
        display: none;
       
    }

    .mpr-tabla tr {
        margin-bottom: 15px;
        padding: 15px 5px;
        display: block;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
        border: 1px solid #ddd;
        margin-left: 2px;
        width: 80%;
        min-width: 300px;
    }

    .mpr-tabla td {
        display: grid;
        font-size: 18px;
        padding: 12px;
        justify-content: center;
        border-bottom: 1px solid #ddd;
        border-top: none;
        align-items: center;
        border-left: none;
        border-right: none;
        
    }
    .mpr-tabla td .mpr-td-cantidad-container {
        justify-self: center;
    }
    
    .mpr-tabla td:last-child{
        border-bottom: none;
    }

    .mpr-tabla td::before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 10px;
        flex: 1;
    }

    .mpr-btn-section{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        gap: 10px;
        background-color: white; 
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
        z-index: 1000;
          
    }
    .mpr-btn-primario{
        display: flex;
        width: 100px !important;
        font-size: 25px !important;
        justify-content: center;
        align-items: center;

    }


    .mpr-btn-imprimir{  
            width: 150px !important; 
            padding: 14px 30px !important;
            font-size: 18px !important;
            justify-content: center;
            border: none;
            border-radius: 8px;
            cursor: pointer;
           transition: background 0.3s ease;
          
    }
    .mpr-solo-desktop{
        display: none;
    }

    
}

@media (min-width: 769px){
    .mpr-encabezado-mobile{
        display: none;
    }
}

.mpr-cargas {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif !important;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.mpr-cargas option {
    padding: 10px;
    height: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif !important;
}

.mpr-cargas li{
    
    color: black !important;
}




.mpr-btn-primario{
    width: 215px;
    padding: 6px;
    font-size: 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #71639e;
    color: #FFFFFF;
    font-weight: Bold;
    margin: 2px;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

}

.mpr-btn-primario i{
        
    margin: 0 5px 0 2px  ;
    align-self: center;
    justify-self: center;


}
.mpr-btn-primario:hover{
    background-color: #5a4f7f;
    border-color: #443b60;
}


