/* Base styles for the body */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Style the table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

    /* Style table header */
    table thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
        font-weight: bold;
    }

    table th,
    table td {
        padding: 12px 15px;
        text-align: left; /* Ensures alignment */
    }

    /* Alternate row coloring */
    table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }

    /* Hover effect for rows */
    table tbody tr:hover {
        background-color: #f1f1f1;
    }

/* Responsive table */
@media (max-width: 600px) {
    table {
        border: 0;
    }

        table thead {
            display: none;
        }

        table tr {
            display: block;
            margin-bottom: 15px;
        }

        table td {
            display: block;
            text-align: right;
            font-size: 0.8em;
            border-bottom: 1px solid #ddd;
        }

            table td::before {
                content: attr(data-label);
                float: left;
                text-transform: uppercase;
                font-weight: bold;
            }

            table td:last-child {
                border-bottom: 0;
            }
}