.multiselect {
    margin-bottom: 1.3rem;
  }

  .selectBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
  }

  .selectBox:after {
    content: "▼";
    font-size: 14px;
  }

  .checkboxes {
    display: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    position: absolute;
    width: 100%;
    z-index: 99;
    margin-top: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  }

  .checkboxes label {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
  }

  .checkboxes label:hover {
    background: #f3f3f3;
    border-radius: 4px;
  }

  /* Style de la modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
  }

  /* Boîte de dialogue (scrollable) */
  .modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 95%;
    max-width: 600px;
    border-radius: 10px;

    /* 🔥 Permet le scroll interne */
    max-height: 70vh;
    overflow-y: auto;

    /* Douce animation */
    animation: slideDown 0.3s ease;
  }

  /* Animation d’apparition */
  @keyframes slideDown {
    from { transform: translateY(-30px); opacity:0; }
    to   { transform: translateY(0); opacity:1; }
  }

  .close {
    float: right;
    font-size: 22px;
    cursor: pointer;
  }