/* Styles de base */

.content {
    width: 100%;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

#message-list {
    margin-bottom: 50px; /* Pour laisser de la place pour le bouton */
}
/* Positionner le modal en bas à droite */
.modal-dialog.modal-bottom-right {
    position: fixed;
    bottom: 0px;
    right: 20px;
    margin: 0;
    width: 100%;
    top:11%;
    z-index: 1050; /* Assure que le modal reste au-dessus des autres éléments */
  }
  
/* Floating Action Button (fabbb) */
.fabbb {
    position: fixed;
    bottom: 89px;
    right: 28px;
    width: 55px;
    height: 55px;
    background-color: var(--color-dark2);
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.fabbb:hover {
    background-color: var(--color-dark);
}

/* Formulaire flottant */
.form-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ombre pour l'arrière-plan */
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.form-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#message-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#message-form button {
    padding: 10px 20px;
    background-color: var(--theme-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

#message-form button:hover {
    background-color: var(--theme-color);
}

/* Bouton de fermeture du formulaire */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}
