/* ---- GLOBAL ---- */
body {
  
  font-family: "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(120deg, #f6fafd 0%, #eee5ff 100%);
  
  /*       du blanc        violet très clair       violet principal   */
}

  
  a {
    text-decoration: none;
  }
  
  main.container {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  
  /* ---- NAVBAR ---- */
  .navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
  }
  
  .nav-link {
    color: #fff !important;
    font-weight: 500;
  }
  
  .nav-link:hover {
    color: #ffc107 !important;
  }
  
  /* ---- CARDS ---- */
  .card {
    border-radius: 0.75rem;
    transition: transform 0.2s ease-in-out;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card-title i {
    margin-right: 8px;
  }
  
  /* ---- BUTTONS ---- */
  .btn-outline-light {
    border-width: 2px;
  }
  
  .btn-outline-light:hover {
    background-color: #fff;
    color: #000;
  }
  
  /* ---- TABLES ---- */
  .table th {
    background-color: #e9ecef;
    font-weight: bold;
  }
  
  .table td, .table th {
    vertical-align: middle;
  }
  
  /* ---- FOOTER ---- */
  footer {
    border-top: 3px solid #0d6efd;
    font-size: 0.9rem;
  }
  
  /* ---- FORMS ---- */
  form .form-control {
    border-radius: 0.4rem;
  }
  
  form label {
    font-weight: 500;
  }
  
  #sidebarToggle {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1101;
}
@media (max-width: 991.98px) {
  #sidebarToggle { display: block; }
}
  /* ---- PRIMARY BUTTONS VIOLET ---- */
.btn-primary {
  background-color: #0628a0 !important;  /* Violet principal */
  border-color: #0628a0 !important;
  color: #fff !important;
  transition: background 0.18s, border 0.18s;
}
.btn-success {
  background-color: #0628a0 !important;  /* Violet principal */
  border-color: #0628a0 !important;
  color: #fff !important;
  transition: background 0.18s, border 0.18s;
}

.btn-info {
  background-color: #0628a0 !important;  /* Violet principal */
  border-color: #0628a0 !important;
  color: #fff !important;
  transition: background 0.18s, border 0.18s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #0628a0 !important;  /* Violet foncé au hover */
  border-color: #0628a0 !important;
  color: #fff !important;
}
