.wp-list-table {
    width: 100%; /* Ensure full width on larger screens */
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: auto; /* Allow columns to adapt to content */
    display: table; /* Reset to table layout for desktop */
    white-space: normal; /* Allow wrapping on desktop */
    overflow-x: hidden; /* Prevent unnecessary scrolling on desktop */
}

.wp-list-wrapper {
    overflow-x: auto; /* Allow horizontal scrolling only on smaller screens */
    width: 100%; /* Ensure the wrapper matches the table width */
    margin-bottom: 20px; /* Add spacing below */
}

.wp-list-table th, .wp-list-table td {
    padding: 10px;
    text-align: left!important;
    word-wrap: break-word; /* Ensure long words break on smaller screens */
}

.wp-list-table th {
    background-color: #329a23;
    color: #fff!important;
}

.wp-list-table td {
    border-bottom: 1px solid #ddd;
}

.wp-list-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Add media query for smaller screens */
@media (max-width: 768px) {
    .wp-list-table {
        display: block; /* Switch to block for smaller screens */
        white-space: nowrap; /* Prevent wrapping */
        overflow-x: scroll; /* Enable horizontal scrolling */
    }
}
