thead {
    background-color: #e5f5e0;
}

th, td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

th {
    color: #2a7a2a;
    font-weight: 600;
}

td:first-child {
    font-weight: bold;
    color: #237423;
}

tr:hover {
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    th {
        display: none;
    }

    td {
        padding: 0.5rem 1rem;
        border: none;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #888;
        display: block;
        margin-bottom: 0.2rem;
    }

    tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #ccc;
    }
}