/* Common styles for all tables */
#post-content-article-html .article-table-layout {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#post-content-article-html .article-table-layout .table-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#post-content-article-html .article-table-layout .table-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

#post-content-article-html .article-table-layout .search-container {
    display: flex;
    align-items: center;
}

#post-content-article-html .article-table-layout .search-input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 14px;
    width: 200px;
    outline: none;
}

#post-content-article-html .article-table-layout .clear-search {
    border: none;
    border-radius: 7px;
    padding: 8px 12px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 14px;
}

#post-content-article-html .article-table-layout .table-container {
    overflow-x: auto;
    max-height: 400px;
}

#post-content-article-html .article-table-layout table {
    width: 100%;
    border-collapse: collapse;
}

#post-content-article-html .article-table-layout th {
    text-align: left;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 10;
    cursor: pointer;
}

#post-content-article-html .article-table-layout td {
    padding: 10px 15px;
}

#post-content-article-html .article-table-layout td.title-cell {
    max-width: 200px;
    white-space: normal;
    word-wrap: break-word;
}

#post-content-article-html .article-table-layout tr:hover {
    background-color: #f5f5f5;
}

#post-content-article-html .article-table-layout .status-card {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
}

#post-content-article-html .article-table-layout .urgent {
    background-color: #ffe0e0;
    color: #d32f2f;
}

#post-content-article-html .article-table-layout .success {
    background-color: #e0f2e0;
    color: #2e7d32;
}

#post-content-article-html .article-table-layout .placed {
    background-color: #e0e0ff;
    color: #3f51b5;
}

#post-content-article-html .article-table-layout .no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Custom scrollbar - extra thin and inside */
#post-content-article-html .article-table-layout .table-container::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

#post-content-article-html .article-table-layout .table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#post-content-article-html .article-table-layout .table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

#post-content-article-html .article-table-layout .table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive styles */
@media (max-width: 768px) {
    #post-content-article-html .article-table-layout .table-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #post-content-article-html .article-table-layout .search-container {
        width: 100%;
        margin-top: 10px;
    }
    
    #post-content-article-html .article-table-layout .search-input {
        width: calc(100% - 80px);
    }
}

/* Option labels */
#post-content-article-html .option-label {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Style Option A - Thin Black Borders */
#post-content-article-html .style-a .table-header {
    background-color: white;
    border-bottom: 1px solid #333;
}

#post-content-article-html .style-a th {
    background-color: white;
    color: #333;
    border-bottom: 1px solid #333;
    border-right: 1px solid #ddd;
}

#post-content-article-html .style-a th:last-child {
    border-right: none;
}

#post-content-article-html .style-a td {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

#post-content-article-html .style-a td:last-child {
    border-right: none;
}

#post-content-article-html .style-a .clear-search {
    background-color: #333;
    color: white;
}

/* Style Option B - Subtle Grid */
#post-content-article-html .style-b .table-header {
    background-color: #f8f8f8;
    border-bottom: 2px solid #eaeaea;
}

#post-content-article-html .style-b th {
    background-color: #f8f8f8;
    color: #555;
    border-bottom: 2px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

#post-content-article-html .style-b th:last-child {
    border-right: none;
}

#post-content-article-html .style-b td {
    border-bottom: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

#post-content-article-html .style-b td:last-child {
    border-right: none;
}

#post-content-article-html .style-b .clear-search {
    background-color: #eaeaea;
    color: #555;
}

#post-content-article-html .style-b .search-input:focus {
    border-color: #ccc;
}