/* Modifier la classe .footer-container */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 15%;
    background: #000000;
    color: white;
    position: relative; /* Ajoutez cette ligne */
}

.footer-section {
    flex: 1;
    min-width: 300px;
    margin: 10px;
}

.footer-title {
    margin-bottom: 15px;
}

.footer-text {
    font-size: 16px;
}

.footer-copyright {
    text-align: center;
    padding: 10px;
    background: #1E1E1E;
    color: white;
    border-top: 1px solid #2A2A2A;
}

@media screen and (max-width: 768px) {
    .footer-container {
        padding: 20px;
    }

    .footer-section {
        min-width: 100%;
        text-align: center;
        margin: 8px 0;
    }

    .footer-title {
        margin-bottom: 3px;
    }

    .footer-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-section ul {
        list-style: none;
    }
}

/* Styles pour le bouton d'édition */
.admin-edit-footer {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.admin-edit-footer .btn {
    background-color: #6ab04c;
    border-color: #6ab04c;
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.admin-edit-footer .btn:hover {
    background-color: #519a3c;
    border-color: #519a3c;
}

/* Styles pour la page d'édition du footer */
.edit-controls {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: right;
}

.edit-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    color: white;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-control {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.9);
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}