table, th, td {
    border:1.5px solid black;
}
.table-container {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    font-family: Arial, sans-serif;
}

/*thead {*/
/*    background-color: #f2f2f2;*/
/*}*/

/*th, td {*/
/*    border: 1px solid #dddddd;*/
/*    text-align: left;*/
/*    padding: 8px;*/
/*    white-space: nowrap; !* Prevent text wrapping *!*/
/*}*/

/*th {*/
/*    background-color: #f2f2f2;*/
/*    font-weight: bold;*/
/*}*/

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

/*tr:hover {*/
/*    background-color: #f1f1f1;*/
/*}*/

@media screen and (max-width: 600px) {
    table, th, td {
        border:1px solid !important;
    }
    table, thead, tbody, th, td, tr {
        display: block; /* Display each cell as a block on small screens */
    }
    th {
        text-align: center;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

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

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        content: attr(data-label); /* Use the data-label attribute to show the column name */
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        white-space: nowrap;
    }
}