/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.budget-container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.header {*/
/*display: flex;*/
/*position:fixed;
    top:0;
    left:0;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.header a {
    text-decoration: none;
}
.header a span {
    font-weight: bold;
    font-size: 40px;
    color:#333;
}

    .back-btn, .edit-btn {
        cursor: pointer;
        font-size: 20px;
        color: #007AFF;
    }

.total-budget {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.budget-list {
    list-style: none;
    padding: 0;
}

    .budget-list li {
        border-bottom: 1px solid #eee;
    }

        .budget-list li:last-child {
            border-bottom: none;
        }

    .budget-list a {
        display: flex;
        align-items: center;
        padding: 12px;
        font-size: 18px;
        text-decoration: none;
        color: black;
    }

        .budget-list a:hover {
            background-color: #f0f0f0;
        }

.icon {
    margin-right: 10px;
    font-size: 22px;
}*/


/* Style général */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    
}
html {
    position: relative;
    top: 100px;
}

/* En-tête */
.header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #4CAF50;
    border-radius: 8px;
}

    .header a {
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        font-weight: bold;
    }

/* Animation retour */
.back-btn {
    font-size: 24px;
    transition: transform 0.3s ease-in-out;
}

    .back-btn:hover {
        transform: translateX(-5px);
    }

/* Titre */
h1 {
    color: #333;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background-color: #4CAF50;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #45a049;
    }

.btn-info {
    background-color: #2196F3;
    color: #fff;
}

    .btn-info:hover {
        background-color: #1e88e5;
    }

.btn-warning {
    background-color: #FF9800;
    color: #fff;
}

    .btn-warning:hover {
        background-color: #fb8c00;
    }

.btn-danger {
    background-color: #F44336;
    color: #fff;
}

    .btn-danger:hover {
        background-color: #e53935;
    }

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    animation: fadeIn 0.7s ease-in-out;
}

    .table th, .table td {
        padding: 12px;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

.thead-dark th {
    background-color: #4CAF50;
    color: #fff;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

/* Effet survol sur les lignes */
.table tbody tr:hover {
    background-color: rgba(76, 175, 80, 0.2);
    transition: background-color 0.3s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
