﻿    @media screen and (max-width: 768px) {
        /* Force the table not to behave like a table anymore */
        table.responsive-table,
        table.responsive-table thead,
        table.responsive-table tbody,
        table.responsive-table th,
        table.responsive-table td,
        table.responsive-table tr {
            display: block;
            width: 100%;
        }
            /* Hide the table header, but keep it accessible for screen readers */
            table.responsive-table thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }
            /* Style each row as a separate card block */
            table.responsive-table tr {
                margin-bottom: 1rem;
                border: 1px solid #ccc;
                box-sizing: border-box;
            }
            /* Style each cell to go full width and stack vertically */
            table.responsive-table td {
                border: none;
                border-bottom: 1px solid #eee;
                position: relative;
                padding-left: 50%; /* Space for the pseudo-label */
                text-align: right;
                box-sizing: border-box;
            }
                /* Add labels before each cell using the data-label attribute */
                table.responsive-table td::before {
                    content: attr(data-label);
                    position: absolute;
                    left: 1rem;
                    width: 45%;
                    padding-right: 10px;
                    font-weight: bold;
                    text-align: left;
                }
    }
