/* Estilos mínimos para el dashboard */
.card {
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.table th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #666;
  background-color: #f8f9fa;
}

.table td {
  vertical-align: middle;
  padding: 0.75rem;
}

.badge {
  font-weight: 500;
  padding: 0.4em 0.8em;
}

.progress {
  border-radius: 10px;
  background-color: #f0f0f0;
  overflow: hidden;
}

.progress-bar {
  border-radius: 10px;
  transition: width 0.6s ease;
}

.bodi {
  background-color: #495057;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

h2 {
    color:antiquewhite;
}

h5,
h6 {
  color: #343a40;
}

h5 {
  color: #495057;
  font-weight: 600;
}

.chart-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
}

.list-group-item {
  border-left: none;
  border-right: none;
  padding: 0.75rem 1rem;
}

.list-group-item:first-child {
  border-top: none;
}

.list-group-item:last-child {
  border-bottom: none;
}

.btn-group .btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }

  .card-body {
    padding: 15px;
  }

  .table-responsive {
    font-size: 0.85rem;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-out;
}

/* Estilos para filtros */
#filtersPanel .card-body {
  background-color: #f8f9fa;
}

.form-control-sm,
.form-select-sm {
  font-size: 0.875rem;
}

/* Estilos para la tabla de visitantes recientes */
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}
