/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

body {
  font-family: 'Nunito', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

.nav-link {
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
}

.nav-link:hover {
  background-color: #495057;
  border-radius: 5px;
}

.nav-link.active {
  background-color: #0d6efd;
  color: #fff !important;
}

.card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-title {
  font-weight: 600;
}

.sidebar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.sidebar {
  width: 250px;
  background-color: #212529;
  min-height: 100vh;
  padding: 1.5rem 1rem;
  color: #fff;
}

.sidebar .nav-link {
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 0.5rem;
}

.sidebar .nav-link:hover {
  background-color: #343a40;
  border-radius: 4px;
}

.table th {
  font-weight: 600;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.section-title {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}
/* Par défaut, tous les liens sidebar sont fond noir, texte blanc */
.sidebar .nav-link {
    background: none !important;
    color: #fff !important;
    font-weight: 500;
}

/* Le lien actif (celui avec .active) seulement est bleu */
.sidebar .nav-link.active {
    background: #0d6efd !important;
    color: #fff !important;
    font-weight: 700;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .d-flex > .flex-grow-1 {
    padding: 1rem;
	  
  }
}