
  /* Estilos para el módulo de Notas de Pedido */
.np-module {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #f4f6f9;
  padding: 20px;
}

.np-header {
  margin-bottom: 25px;
}

.np-title {

  font-size: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.np-icon {
  margin-right: 12px;
  font-size: 22px;

}

.np-box {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: none;
  background-color: #fff;
  overflow: hidden;
  margin-bottom: 30px;
}

.np-box-header {
  background-color: #f8f9fa;
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.np-box-title {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.np-filters {
  display: flex;
  align-items: center;
}

.np-date-filter {
  width: 250px;
}

.np-daterange {
  border-radius: 4px;
  border: 1px solid #dce4ec;
  padding: 7px 12px;
  font-size: 14px;
}

.np-box-body {
  padding: 20px;
}

/* Tabla principal */
.np-table {
  border: 1px solid #e9ecef;
  border-radius: 5px;
  overflow: hidden;
  font-size: 14px;
}

.np-thead {
  background: linear-gradient(135deg, #3c8dbc 0%, #2980b9 100%);
  color: white;
}

.np-th {
  font-weight: 600;
  padding: 12px 15px !important;
  border-bottom: none !important;
  vertical-align: middle !important;
  color: white !important;
  text-align: center;
}

.np-tbody tr:hover {
  background-color: #f1f9fe !important;
}

.np-tbody td {
  padding: 12px 15px !important;
  vertical-align: middle !important;
}

/* Botones de acción */
.np-btn-view {
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.np-btn-view:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* DataTables personalización */
.dataTables_wrapper .dataTables_length select {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #dce4ec;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #dce4ec;
  margin-left: 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 4px;
  padding: 6px 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #3c8dbc;
  color: white !important;
  border: 1px solid #3c8dbc;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #2980b9 !important;
  color: white !important;
  border: 1px solid #2980b9;
}

/* Modal */
.np-modal-dialog {
  max-width: 800px;
}

.np-modal-content {
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.np-modal-header {
  background: linear-gradient(135deg, #3c8dbc 0%, #2980b9 100%);
  color: white;
  border-bottom: none;
  padding: 18px 24px;
}

.np-modal-title {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.np-modal-title i {
  margin-right: 10px;
}

.np-modal-close {
  color: white;
  opacity: 0.8;
}

.np-modal-close:hover {
  color: white;
  opacity: 1;
}

.np-modal-body {
  padding: 20px 24px;
}

.np-modal-info {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.np-info-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.np-info-col {
  padding: 0 10px;
  margin-bottom: 10px;
  flex: 1;
}

.np-info-label {
  font-weight: 600;
  color: #555;
  margin-right: 8px;
}

.np-info-value {
  color: #333;
}

.np-table-container {
  margin-top: 15px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.np-modal-table {
  margin-bottom: 0;
}

.np-modal-thead {
  background-color: #f1f3f5;
}

.np-modal-thead th {
  font-weight: 600;
  padding: 10px !important;
  font-size: 13px;
  text-align: center;
}

.np-modal-tbody td {
  padding: 10px !important;
  font-size: 13px;
  vertical-align: middle !important;
}

.np-modal-tfoot {
  background-color: #f8f9fa;
  font-weight: 600;
}

.np-total-label {
  text-align: right;
  font-weight: 600;
}

.np-total-value {
  text-align: right;
  font-weight: 600;
  color: #3c8dbc;
}

.np-modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 15px 24px;
}/* Modal */
.np-modal-dialog {
  max-width: 90%;
  width: 1100px;
  margin: 1.75rem auto;
}

.np-modal-content {
  border: none;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.np-modal-header {
  background: linear-gradient(135deg, #3c8dbc 0%, #2563eb 100%);
  color: white;
  border-bottom: none;
  padding: 16px 20px;
}

.np-modal-title {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.np-modal-title i {
  margin-right: 10px;
  font-size: 20px;
}

.np-modal-close {
  color: white;
  opacity: 0.8;
  font-size: 1.5rem;
  padding: 0;
  margin: -1rem -1rem -1rem auto;
}

.np-modal-close:hover {
  color: white;
  opacity: 1;
}

.np-modal-body {
  padding: 20px;
}

.np-modal-info {
  background-color: #f0f9ff;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #3c8dbc;
}

.np-info-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.np-info-col {
  padding: 0 10px;
  margin-bottom: 10px;
  flex: 1;
  min-width: 200px;
}

.np-info-label {
  font-weight: 600;
  color: #445566;
  margin-right: 8px;
  display: inline-block;
}

.np-info-value {
  color: #333;
  font-weight: 500;
}

.np-table-container {
  margin-top: 15px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

.np-modal-table {
  margin-bottom: 0;
  width: 100%;
}

.np-modal-thead {
  background-color: #f1f3f5;
  position: sticky;
  top: 0;
  z-index: 1;
}

.np-modal-thead th {
  font-weight: 600;
  padding: 12px !important;
  font-size: 13px;
  text-align: center;
  border-bottom: 2px solid #dee2e6;
  vertical-align: middle;
  white-space: nowrap;
}

.np-modal-tbody td {
  padding: 10px !important;
  font-size: 13px;
  vertical-align: middle !important;
}

.np-modal-tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.np-modal-tbody tr:hover {
  background-color: #f0f4f8;
}

.np-modal-tfoot {
  background-color: #f8f9fa;
  font-weight: 600;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.np-total-label {
  text-align: right;
  font-weight: 600;
  padding: 12px !important;
}

.np-total-value {
  text-align: right;
  font-weight: 700;
  color: #2563eb;
  padding: 12px !important;
  font-size: 15px;
}

.np-modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Botones del modal */
.np-btn-close {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}

.np-btn-close:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

.np-btn-print {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  margin-left: 10px;
  transition: all 0.2s;
}

.np-btn-print:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.np-btn-print i {
  margin-right: 5px;
}

/* Ajustes para la tabla */
.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

/* Mejoras para responsive */
@media (max-width: 768px) {
  .np-modal-dialog {
    max-width: 95%;
    margin: 1rem auto;
  }
  
  .np-info-col {
    flex: 0 0 100%;
  }
  
  .np-modal-thead th, 
  .np-modal-tbody td {
    padding: 8px !important;
    font-size: 12px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .np-box-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .np-filters {
    margin-top: 15px;
    width: 100%;
  }
  
  .np-date-filter {
    width: 100%;
  }
}



