/* Estilo general */
body {
  background-color: #f4f6f9; /* Fondo gris claro moderno */
  font-family: 'Poppins', Arial, sans-serif; /* Tipografía moderna */
  margin: 0;
  padding: 0;
  color: #333333; /* Color de texto general */
}

h1, h2 {
  color: #212529; /* Colores oscuros para títulos */
  font-weight: 600; /* Más peso para un diseño moderno */
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

.container {
  margin-top: 30px;
  padding: 20px;
}

/* Navbar */
.navbar {
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  background-color: #ffffff; /* Fondo blanco limpio */
}

.nav-link {
  color: #e9ebee !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0056b3 !important;
}

.navbar-brand {
  font-weight: bold;
  color: #e0e9f2 !important;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #0056b3 !important;
}

/* Botones */
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 10px 20px;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
  transform: translateY(-2px);
}

.btn {
  border-radius: 8px; /* Bordes más redondeados para un diseño moderno */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15); /* Sombra para botones */
}

.btn:hover {
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2); /* Más sombra al pasar el mouse */
}

/* Tarjetas (Cards) */
.card {
  border-radius: 12px; /* Bordes más redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra más notoria */
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff, #f8f9fa); /* Fondo degradado suave */
}

.card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Más sombra al pasar el mouse */
  transform: scale(1.02); /* Pequeño aumento al pasar el mouse */
}

.card-header {
  font-weight: 600;
  background-color: #007bff;
  color: #ffffff;
  border-bottom: 2px solid #0056b3;
}

/* Tablas */
.table {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.table th, .table td {
  text-align: center;
  vertical-align: middle;
  padding: 15px;
  font-size: 1rem;
  color: #555555; /* Texto en gris suave */
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.table tr:hover {
  background-color: #f1f3f5; /* Resaltar la fila al pasar el mouse */
}

/* Listas */
.list-group-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  background-color: #ffffff; /* Fondo blanco limpio */
}

.list-group-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.list-group-item h5 a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.list-group-item h5 a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.list-group-item p {
  color: #6c757d;
}

/* Formularios */
.form-group label {
  font-weight: bold;
  color: #333333;
}

/* Gráficos */
canvas {
  max-width: 100%;
  height: auto;
}

/* Contenedor de gráficos */
.chart-container {
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

/* Sombras adicionales */
.shadow-light {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Estilo responsivo */
@media (max-width: 768px) {
  .container {
    margin-top: 20px;
    padding: 10px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .card {
    margin-bottom: 20px;
  }
}