.stat-box {
    background-color: #f7f7f7;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin-top: 20px;
}


/* For success messages */
.toast-success {
    background-color: #28a745; /* Custom green color */
    color: white;
}

/* For info messages */
.toast-info {
    background-color: #17a2b8; /* Custom blue color */
    color: white;
}

/* For warning messages */
.toast-warning {
    background-color: #ffc107; /* Custom yellow color */
    color: black;
}

/* For error messages */
.toast-error {
    background-color: #dc3545; /* Custom red color */
    color: white;
}



/****
  * Header CSS
    */

    .modal {
        display: none; /* Masqué par défaut */
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4); /* Couleur de fond avec opacité */
      }
      
      .modal-content {
        background-color: #fefefe;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 800px;
      }
      
      .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
      }
      
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }
      
      .form-container {
          background-color: #f9f9f9;
          padding: 20px;
          border-radius: 8px;
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          margin-bottom: 20px;
      }
      
      .form-group {
          margin-bottom: 15px;
      }
      
      .form-group label {
          font-weight: bold;
          color: black;
          display: block;
          margin-bottom: 5px;
      }
      
      .form-control {
          width: 100%;
          padding: 10px;
          border: 1px solid #ddd;
          border-radius: 4px;
          color: black;
      }
      
      .btn {
          padding: 10px 20px;
          border: none;
          border-radius: 4px;
          cursor: pointer;
          color: black;
      }
      
      .btn-primary {
          background-color: #ae985b ;
          color: black;
      }
      
      .btn:hover {
          opacity: 0.8;
      }
      
      #loader, #loaderUpdate {
          display: none; 
          border: 16px solid #f3f3f3;
          border-radius: 50%;
          border-top: 16px solid #ae985b ;
          width: 60px;
          height: 60px;
          animation: spin 2s linear infinite;
          margin: 20px auto;
      }
      
      @keyframes spin {
          0% { transform: rotate(0deg); }
          100% { transform: rotate(360deg); }
      }