/* Style général */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Titre */
h2 {
    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;
    font-weight: bold;
}

.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;
}

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

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