/* /css/style.css */

/* Police et marges de base pour le body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

/* Styles pour l'en-tête */
header {
  background-color: #007bff; /* Couleur de fond (bleu) */
  color: #fff;
  padding: 20px 0;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

/* Titres de section */
h2, h4 {
  color: #333;
  margin-bottom: 20px;
}

/* Navigation */
.navbar {
  margin-top: 10px;
}

/* Conteneur principal */
main.container {
  padding: 20px;
}

/* Styles pour l'entête */
header {
  background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-title {
  font-size: 1.5rem; /* Ajustez la taille si nécessaire */
  font-weight: bold;
  margin: 0;
}

.welcome-message {
  font-size: 1rem;
}

/* Labels des formulaires */
.form-label {
  font-weight: bold;
  margin-bottom: 5px;
}

/* Champs de saisie */
.form-control {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

/* Bouton principal */
.btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Marges pour les groupes de champs */
.mb-3 {
  margin-bottom: 1rem;
}

/* Style pour le séparateur */
hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* Adaptation pour petits écrans */
@media (max-width: 576px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  .header-container > div {
    margin-bottom: 0.5rem;
  }
}

/* Style de base pour le tableau */
.table {
    width: 100%;
    border-collapse: collapse;
}

/* En-tête du tableau : fond noir et texte blanc */
table.table thead tr th {
    background-color: #000;
    color: #fff;
}


/* Style pour les cellules du tableau */
.table th,
.table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}

/* Effet de survol pour les lignes du corps du tableau */
.table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Bouton de base */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Bouton bleu petit pour modifier */
.bleu-petit {
  background-color: #007bff;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Bouton rouge petit pour supprimer */
.rouge-petit {
  background-color: #dc3545;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Hover pour les boutons */
.bleu-petit:hover,
.rouge-petit:hover {
  opacity: 0.85;
}

