.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: white !important;
  background: #007bff !important;
  font-weight: bold !important;
}

table.dataTable tbody th {
  white-space: nowrap !important;
}

.addNewRecord {
  background-color: #0d6efd !important;
  color: white !important;
}

.addNewHistoria {
  background-color: #60a258 !important;
  color: white !important;
}

.addNewInventario {
  background-color: #682c95 !important;
  color: white !important;
}

.printHistoria {
  background-color: #e08f5a !important;
  color: white !important;
}

.buttons-excel {
  background-color: #198754 !important;
  color: white !important;
}

.buttons-print {
  background-color: #ffc107 !important;
  color: white !important;
}

.dt-button {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.sedebar-mini {
  height: 100vh !important;
}

.shadow {
  box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.8) !important;
}

.ui-autocomplete {
  z-index: 9999 !important;
}

header .icons {
  display: flex;
}
header .icons span {
  height: 38px;
  width: 38px;
  margin: 0 1px;
  cursor: pointer;
  color: #3d77b8;
  text-align: center;
  line-height: 38px;
  font-size: 1.9rem;
  user-select: none;
  border-radius: 50%;
}
.icons span:last-child {
  margin-right: -10px;
}
header .icons span:hover {
  background: #f2f2f2;
}
header .current-date {
  font-size: 2rem;
  font-weight: 500;
}
.calendar {
  padding: 5px;
}
.calendar ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  text-align: center;
  padding-inline-start: 10px;
}
.calendar .days {
  margin-bottom: 10px;
}
.calendar li {
  color: #333;
  width: calc(100% / 7);
  font-size: 1.07rem;
}
.calendar .weeks li {
  font-weight: 500;
  font-size: 14px;
  cursor: default;
}
.calendar .days li {
  z-index: 1;
  cursor: pointer;
  position: relative;
  margin-top: 30px;
}
.days li.inactive {
  color: #aaa;
}
.days li.active {
  color: #ffffff;
}

.days li::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  height: 40px;
  width: 40px;
  z-index: -1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.days li.active::before {
  background: #9b59b6;
}

.days li:not(.active):hover::before {
  background: #f2f2f2;
}

/* Tema MODULO DE CONTABILIDAD */
:root {
  --color-contabilidad: #2c3e50;
  --color-contabilidad-hover: #1a252f;
  --color-contabilidad-subtle: #f8f9fa;
}

/* Componentes específicos */
.contabilidad-modulo {
  background-color: #f8f9fa;
}

.bg-contabilidad {
  background-color: var(--color-contabilidad) !important;
}

.bg-contabilidad-subtle {
  background-color: var(--color-contabilidad-subtle) !important;
}

.btn-contabilidad {
  background-color: var(--color-contabilidad);
  color: white;
  border: none;
}

.btn-contabilidad:hover {
  background-color: var(--color-contabilidad-hover);
  color: white;
}

/* Badges para tipos de cuenta */
.badge.tipo-cuenta-activo {
  background-color: #3498db;
}
.badge.tipo-cuenta-pasivo {
  background-color: #e74c3c;
}
.badge.tipo-cuenta-patrimonio {
  background-color: #2ecc71;
}
.badge.tipo-cuenta-ingreso {
  background-color: #f1c40f;
}
.badge.tipo-cuenta-gasto {
  background-color: #9b59b6;
}

/* DataTables personalizado */
#tablaCuentas tbody tr:hover {
  background-color: rgba(44, 62, 80, 0.05);
  cursor: pointer;
}

/* Modal específico */
#modalCuenta .form-control:focus {
  border-color: var(--color-contabilidad);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

/* ========================================================
   MEJORAS VISUALES GENERALES
   ======================================================== */

/* Variables globales mejoradas */
:root {
  /* Colores principales */
  --primary-color: #2c7be5;
  --primary-hover: #1a5fb4;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;

  /* Escala de grises */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Espaciado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Bordes */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;

  /* Sombras */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Estilos base mejorados */
body {
  font-family: 'Inter', "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--gray-100);
}

/* Cards mejorados */
.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  background-color: white;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-header {
  background-color: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--spacing-md);
}

.card-body {
  padding: var(--spacing-md);
}

.card-header h3,
.card-header h4,
.card-header h5 {
  margin-bottom: 0;
  font-weight: 600;
}

.card-header-primary {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: white;
}

.card-header-success {
  background: linear-gradient(135deg, var(--success-color), #218838);
  color: white;
}

.card-header-info {
  background: linear-gradient(135deg, var(--info-color), #138496);
  color: white;
}

.card-header-warning {
  background: linear-gradient(135deg, var(--warning-color), #e0a800);
  color: white;
}

.card-header-danger {
  background: linear-gradient(135deg, var(--danger-color), #bd2130);
  color: white;
}

/* Botones mejorados */
.btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  font-weight: 500;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #218838);
}

.btn-info {
  background: linear-gradient(135deg, var(--info-color), #138496);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning-color), #e0a800);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color), #bd2130);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon i {
  margin-right: 0.5rem;
}

/* Badges mejorados */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 0.2rem;
}

/* Tablas mejoradas */
.table {
  margin-bottom: 0;
}

.table th {
  background-color: var(--gray-100);
  border-bottom: 2px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-700);
}

.table td {
  vertical-align: middle;
  border-color: var(--gray-200);
}

.table-hover tbody tr:hover {
  background-color: var(--gray-100);
}

.table .actions {
  display: flex;
  gap: 0.5rem;
}

/* DataTables mejorados */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.25rem !important;
  margin: 0 0.25rem;
  padding: 0.375rem 0.75rem !important;
  color: var(--primary-color) !important;
  border: 1px solid #dee2e6 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

/* Sidebar mejorado — Dark Premium */
.main-sidebar {
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  border-right: 1px solid rgba(56, 189, 248, 0.08);
}

.brand-link {
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  background: rgba(56, 189, 248, 0.05);
}

.brand-text {
  font-weight: 700 !important;
}

.nav-sidebar .nav-item .nav-link {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  transition: all 0.22s;
  border-radius: 8px;
  margin: 2px 6px;
  color: #94a3b8;
  font-size: 0.8rem;
  overflow: hidden;
}

.nav-sidebar .nav-item .nav-link:hover {
  background-color: rgba(56, 189, 248, 0.1);
  color: #e2e8f0;
}

.nav-sidebar .nav-item .nav-link.active {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.05));
  color: #38bdf8;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.nav-sidebar .nav-item .nav-link i {
  margin-right: 8px;
  font-size: 0.95rem;
  color: #64748b;
  transition: color 0.22s;
  min-width: 20px;
  flex-shrink: 0;
}

.nav-sidebar .nav-item .nav-link:hover i,
.nav-sidebar .nav-item .nav-link.active i {
  color: #38bdf8;
}

.user-panel {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  background: rgba(56, 189, 248, 0.04);
}

/* Formularios mejorados */
.form-control {
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #495057;
}

/* Modal mejorado */
.modal-content {
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
}

.modal-header {
  background-color: #fdfdfd;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
}

.modal-header .close {
  padding: 1rem 1.25rem;
  margin: -1rem -1.25rem -1rem auto;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Alertas mejoradas */
.alert {
  border-radius: 0.25rem;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert-primary {
  background-color: #cfe2ff;
  color: #0a58ca;
}

.alert-success {
  background-color: #d1e7dd;
  color: #146c43;
}

.alert-info {
  background-color: #cff4fc;
  color: #087990;
}

.alert-warning {
  background-color: #fff3cd;
  color: #997404;
}

.alert-danger {
  background-color: #f8d7da;
  color: #b02a37;
}

/* Iconos flotantes animados */
.floating-icon {
  transition: transform 0.3s ease;
}

.floating-icon:hover {
  transform: translateY(-5px);
}

/* Calendario mejorado */
.calendar .days li:hover:not(.active):not(.today):not(.other-month) {
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
}

.calendar .days li.today {
  background-color: rgba(0, 123, 255, 0.2);
  border-radius: 50%;
  font-weight: bold;
}



/* Efectos de carga */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 123, 255, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mejoras en accesibilidad */
.btn,
.form-control,
a,
button {
  transition: all 0.2s;
}

.btn:focus,
.form-control:focus,
a:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Mejoras para el Dashboard */
.info-box {
  display: flex;
  padding: 0;
  min-height: 100px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  background-color: rgba(0, 0, 0, 0.03);
  color: #fff;
}

.ck-tooltip {
  display: none !important;
}

.info-box-icon i {
  font-size: 2rem;
}

.info-box-content {
  padding: 20px;
  flex: 1;
}

.info-box-text {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #495057;
}

.info-box-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
}

.info-box-progress {
  height: 3px;
  margin-top: 15px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.info-box-progress-bar {
  height: 100%;
  border-radius: 10px;
}

/* Variantes de colores */
.info-box.info-box-primary .info-box-icon {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.info-box.info-box-success .info-box-icon {
  background: linear-gradient(135deg, #28a745, #218838);
}

.info-box.info-box-info .info-box-icon {
  background: linear-gradient(135deg, #17a2b8, #138496);
}

.info-box.info-box-warning .info-box-icon {
  background: linear-gradient(135deg, #ffc107, #e0a800);
}

.info-box.info-box-danger .info-box-icon {
  background: linear-gradient(135deg, #dc3545, #bd2130);
}

.info-box.info-box-primary .info-box-progress-bar {
  background: linear-gradient(to right, #007bff, #0056b3);
}

.info-box.info-box-success .info-box-progress-bar {
  background: linear-gradient(to right, #28a745, #218838);
}

.info-box.info-box-info .info-box-progress-bar {
  background: linear-gradient(to right, #17a2b8, #138496);
}

.info-box.info-box-warning .info-box-progress-bar {
  background: linear-gradient(to right, #ffc107, #e0a800);
}

.info-box.info-box-danger .info-box-progress-bar {
  background: linear-gradient(to right, #dc3545, #bd2130);
}

/* Gráficos y estadísticas */
.chart-container {
  position: relative;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.chart-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.chart-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #212529;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

.chart-legend {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.chart-legend-item {
  display: flex;
  align-items: center;
  margin: 0 10px;
  font-size: 0.9rem;
  color: #6c757d;
}

.chart-legend-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin-right: 5px;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #dee2e6;
  left: 14px;
}

.timeline > li {
  position: relative;
  margin-bottom: 15px;
  margin-right: 10px;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-item {
  margin-left: 40px;
  border-radius: 8px;
  background: #ffffff;
  color: #495057;
  padding: 0;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.timeline > li > .timeline-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.timeline > li > .timeline-item > .timeline-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px;
  border-radius: 8px 8px 0 0;
}

.timeline > li > .timeline-item > .timeline-body {
  padding: 15px;
}

.timeline > li > .timeline-item > .timeline-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

.timeline > li > .fa,
.timeline > li > .fas,
.timeline > li > .far,
.timeline > li > .fab,
.timeline > li > .fal,
.timeline > li > .fad,
.timeline > li > .svg-inline--fa,
.timeline > li > .ion {
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  position: absolute;
  border-radius: 50%;
  text-align: center;
  left: 0;
  top: 0;
  background: #ffffff;
  border: 3px solid #dee2e6;
  z-index: 1;
  color: #6c757d;
}

.timeline > li.timeline-primary > .fa,
.timeline > li.timeline-primary > .fas,
.timeline > li.timeline-primary > .far,
.timeline > li.timeline-primary > .fab,
.timeline > li.timeline-primary > .fal,
.timeline > li.timeline-primary > .fad,
.timeline > li.timeline-primary > .svg-inline--fa,
.timeline > li.timeline-primary > .ion {
  background: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.timeline > li.timeline-success > .fa,
.timeline > li.timeline-success > .fas,
.timeline > li.timeline-success > .far,
.timeline > li.timeline-success > .fab,
.timeline > li.timeline-success > .fal,
.timeline > li.timeline-success > .fad,
.timeline > li.timeline-success > .svg-inline--fa,
.timeline > li.timeline-success > .ion {
  background: #28a745;
  color: #ffffff;
  border-color: #28a745;
}

.timeline > li.timeline-info > .fa,
.timeline > li.timeline-info > .fas,
.timeline > li.timeline-info > .far,
.timeline > li.timeline-info > .fab,
.timeline > li.timeline-info > .fal,
.timeline > li.timeline-info > .fad,
.timeline > li.timeline-info > .svg-inline--fa,
.timeline > li.timeline-info > .ion {
  background: #17a2b8;
  color: #ffffff;
  border-color: #17a2b8;
}

.timeline > li.timeline-warning > .fa,
.timeline > li.timeline-warning > .fas,
.timeline > li.timeline-warning > .far,
.timeline > li.timeline-warning > .fab,
.timeline > li.timeline-warning > .fal,
.timeline > li.timeline-warning > .fad,
.timeline > li.timeline-warning > .svg-inline--fa,
.timeline > li.timeline-warning > .ion {
  background: #ffc107;
  color: #212529;
  border-color: #ffc107;
}

.timeline > li.timeline-danger > .fa,
.timeline > li.timeline-danger > .fas,
.timeline > li.timeline-danger > .far,
.timeline > li.timeline-danger > .fab,
.timeline > li.timeline-danger > .fal,
.timeline > li.timeline-danger > .fad,
.timeline > li.timeline-danger > .svg-inline--fa,
.timeline > li.timeline-danger > .ion {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
}

/* Variables globales del sistema */
:root {
  /* Colores del sistema */
  --primary-color: #2c7be5;
  --primary-hover: #1a5fb4;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;

  /* Escala de grises */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

/* Estilos base del sistema */
.wrapper .content-wrapper {
  background-color: var(--gray-100);
}

/* Navbar personalizado */
.main-header.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--gray-200);
}

.main-header.navbar .nav-link {
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.main-header.navbar .nav-link:hover {
  color: var(--primary-color);
}

/* Sidebar personalizado */
.main-sidebar {
  background: linear-gradient(
    180deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );
}

.main-sidebar .nav-sidebar .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0.375rem;
  margin: 0.2rem 1rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.main-sidebar .nav-sidebar .nav-item .nav-link:hover,
.main-sidebar .nav-sidebar .nav-item .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Cards del sistema */
.content-wrapper .card {
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.content-wrapper .card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.content-wrapper .card .card-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.25rem;
}

/* Botones del sistema */
.content-wrapper .btn {
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.content-wrapper .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.content-wrapper .btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* DataTables personalizadas */
.content-wrapper .dataTables_wrapper .dataTables_length select,
.content-wrapper .dataTables_wrapper .dataTables_filter input {
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
}

.content-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
  margin: 0 0.25rem;
  border: 1px solid var(--gray-300) !important;
}

.content-wrapper
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Formularios del sistema */
.content-wrapper .form-control {
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.content-wrapper .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 123, 229, 0.25);
}
