.mobile-table {
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.mobile-table .sticky-header thead {
    display: none;
}

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

.mobile-table thead tr {
    display: none; /* Hide the header row */
}

.mobile-table td {
    /* Style each cell */
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px; /* Adjust padding for spacing */
    border-bottom: 1px solid #ddd;
    text-align: left; /* Align text to the left */
}

.mobile-table td:before {
    /* Label for each cell */
    content: attr(data-label);
    font-weight: bold;
    display: block; /* Make label a block to move content to next line */
    margin-bottom: 5px; /* Space between label and cell content */
}

.mobile-table tr {
    /* Style each row as a card */
    background-color: #f9f9f9; /* Card background color */
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px; /* Rounded corners for card effect */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Slight shadow for depth */
}

/* Additional styling for better appearance */
.mobile-table td:last-child {
    border-bottom: none; /* Remove bottom border for the last cell */
}
