.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tableau-theme {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #cde4c4;      /* bordure verte douce */
    border-radius: 8px;
    overflow: hidden;
    background-color: white;      /* vert ultra pâle */
    font-family: "Segoe UI", sans-serif;
    font-size: 1rem;
}

/* En-tête */
.tableau-theme thead {
    background-color: #054b29;
    color: white;
    text-align: left;
}

/* Cellules */
.tableau-theme th,
.tableau-theme td {
    padding: 1rem;
    border-bottom: 1px solid #e1eed7;
}

/* Ligne survolée */
.tableau-theme tbody tr:hover {
    background-color: #eef7dd;      /* highlight léger */
    transition: background-color 0.2s ease;
}

/* Boutons dans tableau */
.tableau-theme .fiche-btn {
    background-color: #85c536;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 6px
}

td .fiche-btn,
td form {
    display: block;       /* force chaque bouton à sa propre ligne */
    margin-bottom: 6px;   /* espace vertical entre chaque */
}

td form {
    margin:0;
}

td form .fiche-btn {
    width: 100%;
    box-sizing: border-box;
}
.tableau-theme .fiche-btn:hover {
    background-color: #6ba72b;
}

.form-wrapper {
    background: rgba(133, 197, 54, 0.8);
    border: 1px solid #138d40;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.form-wrapper .h3 {
    color:white;
}