body {
  font-family: 'Nunito Sans', sans-serif !important;
  background-color: #f4f6fa;
  color: #353535 !important;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

th, td {
  padding: 16px 14px;
  border: none;
  font-size: 15px;
  text-align: left;
  background: #fff;
}

th {
  background: #f8f9fa;
  font-weight: 700;
  color: #343a40;
  letter-spacing: 0.03em;
}

tr:nth-child(even) td {
  background: #f4f7fb;
}

tr:hover td {
  background: #e8eefa !important;
}

.panel-body, .login-box-body, .register-box-body, .info-box {
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  background: #fff !important;
  margin-bottom: 18px;
}

button, .btn, .btn-primary, .btn-success {
  border-radius: 11px !important;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0,0,0,0.09);
  transition: background 0.2s;
}

.btn-primary.btningreso,
.btn-primary {
  background: linear-gradient(90deg, #ed1c24 60%, #ff851b 100%) !important;
  border: none !important;
}

.btn-success {
  background: linear-gradient(90deg, #52B156 60%, #45d47f 100%) !important;
}

.custom-select, .form-control {
  border-radius: 10px !important;
  padding: 12px !important;
  border: 1.5px solid #ECECEC !important;
  background: #f8f9fa !important;
  font-size: 14px !important;
  transition: border 0.2s;
}

.custom-select:focus, .form-control:focus {
  border-color: #ff851b !important;
  background: #fff !important;
}

.panel-heading, .modal-header {
  border-radius: 18px 18px 0 0 !important;
  background: linear-gradient(90deg, #ff851b, #ffb975 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.07);
}

/* Efecto sutil de foco en selects y formularios */
:focus-visible {
  outline: 2px solid #ff851b;
}

/* Mejor separación y claridad en tablas */
.dataTable thead tr th {
  background-color: #f1f5fb !important;
  border-bottom: 2px solid #ECECEC !important;
}

/* Placeholders y ayuda */
::placeholder {
  color: #B0B8C1 !important;
  opacity: 1;
}


/* ========================== */
/* style-modern.css           */
/* ========================== */

/* Tipografía y colores base */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Nunito Sans', sans-serif !important;
  background-color: #f4f6fa;
  color: #353535 !important;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* ========================== */
/* Tablas / grillas           */
/* ========================== */

.table‐modern, table.table‐modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
  margin-bottom: 22px;
  font-size: 15px;
  overflow: hidden;
}

.table‐modern th,
.table‐modern td {
  padding: 15px 13px;
  border: none;
  text-align: left;
  vertical-align: middle;
  font-size: 15px;
  background: #fff;
  /* Redondeado en celdas: solo para estética, evitar que interfiera con layout */
  border-radius: 8px;
}

.table‐modern th {
  background: #f8f9fb;
  font-weight: bold;
  color: #353535;
  letter-spacing: 0.03em;
}

/* filas alternas */
.table‐modern tr:nth-child(even) td {
  background: #f3f6fa;
}

/* efecto hover */
.table‐modern tr:hover td {
  background: #e6eefa;
  transition: background 0.2s;
}

/* Cabezera especial (si usas thead) */
.table‐modern thead tr th {
  background: #f1f5fb !important;
  border-bottom: 2px solid #ECECEC !important;
}

/* Para tablas que requieren overflow en móvil */
.table‐modern‐wrapper {
  width: 100%;
  overflow-x: auto;
}

/* ========================== */
/* Formularios y selects      */
/* ========================== */

.form‐modern .form-control,
.form‐modern .form-select,
.form‐modern input,
.form‐modern textarea {
  border-radius: 10px !important;
  padding: 12px !important;
  border: 1.5px solid #ECECEC !important;
  background: #f8f9fa !important;
  font-size: 14px !important;
  transition: border 0.2s, background 0.2s;
}

.form‐modern .form-control:focus,
.form‐modern .form-select:focus,
.form‐modern input:focus,
.form‐modern textarea:focus {
  border-color: #ff851b !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255,133,27,0.15);
  outline: none;
}

/* Placeholder style */
.form‐modern ::placeholder {
  color: #B0B8C1 !important;
  opacity: 1;
}

/* ========================== */
/* Paneles / tarjetas         */
/* ========================== */

.card‐modern, .panel‐modern, .info‐box‐modern {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  margin-bottom: 18px;
  padding: 22px;
}

.panel‐modern .panel-heading,
.modal‐modern .modal-header {
  border-radius: 18px 18px 0 0 !important;
  background: linear-gradient(90deg, #ff851b, #ffb975 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.07);
  padding: 16px 20px;
}

/* ========================== */
/* Botones / badges / íconos  */
/* ========================== */

.btn‐modern {
  border-radius: 11px !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.09) !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn‐modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn‐primary‐modern {
  background: linear-gradient(90deg, #ed1c24 60%, #ff851b 100%) !important;
  border: none !important;
  color: #fff !important;
}

.btn‐success‐modern {
  background: linear-gradient(90deg, #52B156 60%, #45d47f 100%) !important;
  border: none !important;
  color: #fff !important;
}

.badge‐modern {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 8px;
  background: #e0e7ff;
  color: #1e3a8a;
  transition: background 0.2s;
}

.badge‐modern:hover {
  background: #c7d2fe;
}

/* ========================== */
/* Responsividad / ayudas      */
/* ========================== */

@media (max-width: 768px) {
  .table‐modern th,
  .table‐modern td {
    padding: 12px 8px;
    font-size: 14px;
  }
}

/* ========================== */
/* Optimizaciones adicionales */
/* ========================== */

/* Hacer que en tablas largas el layout se fije mejor (mejora performance) */
.table‐modern {
  table-layout: auto;
  width: 100%;
}

/* Evitar focos feos */
:focus-visible {
  outline: 2px solid #ff851b;
  outline-offset: 2px;
}

/* ========================== */
/* Fin archivo               */
/* ========================== */
