/* General Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Header Styling */
th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

/* Row Striping */
tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Responsive Table */
@media (max-width: 600px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        display: none;
    }

    tr {
        margin-bottom: 15px;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
        white-space: nowrap;
    }
}