/* Disable links and styling for the commission lists */
.display-posts-listing .title {
    pointer-events: none; 
    cursor: default;
    color: #000 !important; /* Change this to your preferred text color */
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    display: block;
}

/* Style the excerpt text (The TG/F-Sub and Date) */
.display-posts-listing .excerpt {
    display: block;
    margin-bottom: 15px;
    color: #666;
    font-style: italic;
}

/* Base Table Container */
.commission-table {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    font-family: inherit;
}

/* Header Styling */
.table-header {
    background-color: #f8f9fa;
    display: flex;
    font-weight: bold;
    padding: 12px 15px;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

/* Column Widths */
.col-title { flex: 2; }
.col-status { flex: 1; text-align: right; }

/* Formatting the List Entries */
.commission-table ul.display-posts-listing {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.commission-table .listing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.commission-table .listing-item:last-child {
    border-bottom: none;
}

.commission-table .listing-item:hover {
    background-color: #fcfcfc;
}

/* Title & Excerpt logic */
.commission-table .title {
    flex: 2;
    font-weight: 600;
    color: #333;
    pointer-events: none; /* Keeps titles unclickable */
}

.commission-table .excerpt {
    flex: 1;
    text-align: right;
    font-style: italic;
    color: #007bff; /* Makes the status stand out */
    font-size: 0.9em;
}

/* "No Posts" Message Styling */
.display-posts-listing .no-posts-found {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Add numbering for the Waitlist ONLY */
.waitlist ul {
    counter-reset: waitlist-counter;
}

.waitlist .listing-item::before {
    counter-increment: waitlist-counter;
    content: "#" counter(waitlist-counter);
    margin-right: 15px;
    font-weight: bold;
    color: #aaa;
    min-width: 25px;
}