body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f1c, #1c1c3c);
    color: #ffffff;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    letter-spacing: 1px;
    text-align: center;
}


/*BITE*/
/* --- FORMULAIRE --- */
form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    margin-bottom: 50px;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

form input::placeholder {
    color: #ccc;
}

/* --- BOUTON AJOUTER UNIQUEMENT --- */
.btn_add {
    align-self: center;
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn_add:hover {
    background-color: #e6c200;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.7);
    transform: scale(1.05);
}

/* --- TABLEAU --- */
table {
    width: 95%;
    max-width: 1100px;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

thead {
    background-color: rgba(255, 255, 255, 0.07);
}

th, td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
    font-size: 1.1rem;
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

td {
    font-size: 1rem;
    color: #eee;
}

td:nth-child(2) {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transition: 0.2s;
}

/* --- BOUTONS DANS LE TABLEAU UNIQUEMENT --- */
td button {
    background-color: transparent;
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

td button:hover {
    background-color: #FFD700;
    color: #000;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 12px;
    }

    h1 {
        font-size: 2rem;
    }

    form {
        width: 90%;
        padding: 20px;
    }

    form input, .btn_add {
        font-size: 0.95rem;
    }

    td button {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}