/* Variables globales */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --sidebar-width: 250px;
}

:root {
  --sidebar-width: 250px;
  --bs-body-font-size: 14px;
  --dt-row-stripe: #FFF;
  --dt-column-ordering: #fff;
}

/* Estilos generales */
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: #f8f9fa;
}

/* Estilos para el login */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), #0a58ca);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background: white;
}

/* Estilos para el dashboard */
.dashboard-card {
  transition: transform 0.2s;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 0.8rem;
}

/* Estilos para la barra lateral */
.sidebar {
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
  font-weight: 500;
  gap: 10px;
}

.link-item {
  color: #343434;
}

.link-logout {
  color: #dc3545;
}

.link-item:hover {
  color: var(--primary-color);
  background: rgba(13, 110, 253, 0.1);
}

.link-logout:hover {
  background: rgba(220, 53, 69, 0.1);
}

.sidebar-link.active {
  color: var(--primary-color);
  background: rgba(13, 110, 253, 0.1);
}

.sidebar-link i {
  margin-right: 0.75rem;
  font-size: 1rem;
}

/* Estilo base de la tabla */
.table {
  background-color: white; 
  border: none;
  width: 100%;
}

table.dataTable {
  border: none !important;
  border-collapse: collapse !important;
}

/* Eliminar zebra striping (fondos alternos) */
.table tbody tr:nth-child(even),
.table tbody tr:nth-child(odd) {
  background-color: white !important;
  border: none;
}

/* Solo una línea horizontal entre filas */
.table td,
.table th {
  border-top: none;
  border-bottom: 1px solid #dee2e6;
}

.dataTables_wrapper .dataTables_filter {
  margin-bottom: 1rem;
}


/* Animaciones */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.show {
    transform: translateX(0);
  }
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: green; /* puedes poner green directamente */
}
