/* Conteneur pour les boutons d'action flottants */
.mobile-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    pointer-events: none; /* Pour que les clics passent à travers le conteneur mais pas les boutons */
}
.mobile-action-buttons a,
.mobile-action-buttons button {
    pointer-events: auto;
}
/* Ajustement pour les petits écrans */
@media (max-width: 360px) {
    .mobile-action-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .action-btn {
        width: 48px;
        height: 48px;
    }
}
/* Styles pour éviter que le bouton ne soit caché par des éléments fixes en bas */
@media (max-height: 600px) {
    .mobile-action-buttons {
        bottom: 60px; /* Ajuster si vous avez une barre de navigation en bas */
    }
}

/* Position spécifique pour le bouton d'ajout sur la page d'édition */
.edit-page-btn {
    position: absolute;
    bottom: auto;
    top: 70px;
    right: 20px;
}

/* Styles de base pour les boutons d'action */
.action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.action-btn i {
    font-size: 24px;
}

/* Style spécifique pour le bouton d'ajout */
.add-btn {
    background-color: #3498db;
    color: white;
    text-decoration: none;
    overflow: hidden;
}

/* Fix spécifique pour l'icône '+' */
.add-btn .fa-plus {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    display: block;
    line-height: 0;
}

.edit-btn {
    background-color: #2ecc71;
    color: white;
}

/* Label flottant qui apparaît au survol/focus */
.btn-label {
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.action-btn:hover .btn-label,
.action-btn:focus .btn-label {
    opacity: 1;
}
.fa-plus-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}