body {
    background-color: #f8f9fa;
  }
  
 
  .navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1050;
  }
  
  .navbar-brand {
    font-weight: bold;
    color: #007bff !important;
   
  }
  
  .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Assure que le footer est en bas */
    width: 250px;
    height: 100vh;
    background-color: #007bff;
    color: white;
    position: fixed;
    top: 60px; /* Assurez-vous que la sidebar commence juste sous la navbar */
    z-index: 1040;
    left: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-footer {
    background-color: #0056b3;
    color: #d1ecf1;
    font-size: 0.85rem;
    position: absolute;
    bottom: 60px;
    width: 100%;
    text-align: center;
}

.sidebar-footer p {
    margin: 0;
    color: #d1ecf1;
}

.sidebar-footer:hover {
    background-color: #004085;
}

  
  .sidebar a {
    color: #d1ecf1;
    text-decoration: none;
  }
  
  .sidebar a:hover {
    color: #ffffff;
  }
  
  .sidebar .nav-item {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
  }
  
  .active {
    background: #d1ecf1a4;
  }
  
  .sidebar .nav-item:hover {
    background: #d1ecf1a4;
  }
  
  
  .content {
    margin-left: 250px;
    padding: 1rem;
   
  }
  
  @media (max-width: 768px) {
    .sidebar {
      transform: translateX(-250px);
      z-index: 1040;
    }
  
    .sidebar.show {
      transform: translateX(0);
    }
  
    .content {
      margin-left: 0;
    }
  }
  
  .card-quick-link {
    border: none;
    background-color: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 1020;
  }
  
  .card-quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
  }
  
  .card-quick-link .card-icon {
    font-size: 2.5rem;
    color: #007bff;
  }
  
  .header-title {
    color: #007bff;
    font-weight: bold;
  }
  
  .form-check-input {
  width: 20px;
  height: 20px;
}

/**  Tips**/
/* Flèche de la bulle */
#tip-container {
  position: absolute;
  right: 0px; /* Positionné à droite */
  top: 50px;   /* Ajuster la position verticale */
  margin-top: 60px;
  z-index: 1040;
}

.tip-arrow {
  position: absolute;
  top: 100%; /* Positionnée en dessous de la bulle */
  right: 50px; /* Alignée à droite */
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #343a40; /* Même couleur que bg-dark */
}

/* Animation d'apparition */
#tip-container .tip {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 767px) {
    .card-body {
        font-size: 14px;
    }

    .table th, .table td {
        font-size: 12px;
    }
}