.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }

  #spinnerModal, #confirmationModal {
    z-index: 100 !important;
  }

  .modal-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
  }
  
  .modal-header button:hover {
    background-color: #f0f0f0;
  }
  
  .modal-content {
    background-color: #fefefe;
    padding: 30px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: start;
    align-items: start;
  }
  
  #spinnerModal .modal-content, #confirmationModal .modal-content {
    width: 40% !important;
  }

  #spinnerModal .modal-content {
    align-items: center !important;
    justify-content: center !important;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .modal-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
  }
  
  .modal-buttons button {
    padding: 10px;
    width: 150px;
  }

  #edit-conversation-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  #edit-conversation-form label {
    font-weight: bold;
  }
  
  #edit-conversation-form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
  }
