/* Webueno Table Addon - v6.0.0 */

.wet-wrapper { width: 100%; }

.wet-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.wet-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.wet-table th,
.wet-table td {
    border: 1px solid #e0e0e0;
    padding: 10px 16px;
    vertical-align: middle;
}

/* Header */
.wet-table thead th {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    user-select: none;
    white-space: nowrap;
}

/* Sortable header */
.wet-table thead th.wet-sortable {
    cursor: pointer;
}
.wet-table thead th.wet-sortable:hover {
    opacity: 0.85;
}

/* Sort icons via CSS - no text, pure unicode */
.wet-sort-icon {
    display: inline-block;
    margin-left: 6px;
    font-style: normal;
    font-size: 0.85em;
    opacity: 0.5;
}
.wet-sort-icon::after { content: '\2195'; }
.wet-asc  .wet-sort-icon::after { content: '\2191'; opacity: 1; }
.wet-desc .wet-sort-icon::after { content: '\2193'; opacity: 1; }

/* Striped rows */
.wet-striped tbody tr:nth-child(odd) td { background-color: #f5f7fa; }

/* Hover effect */
.wet-hover tbody tr { transition: background-color 0.15s ease; }
.wet-hover tbody tr:hover td { background-color: #e8f0fe; }

/* Search */
.wet-search-wrapper { margin-bottom: 12px; }
.wet-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.wet-search:focus { border-color: #2c3e50; }

/* Hidden rows (search/pagination) */
.wet-hidden { display: none !important; }

/* No results */
.wet-no-results-row td {
    padding: 16px;
    text-align: center;
    color: #888888;
    font-style: italic;
}

/* Pagination */
.wet-pagination {
    margin-top: 12px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}
.wet-page-btn {
    padding: 6px 12px;
    border: 1px solid #cccccc;
    background: #ffffff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
    transition: background-color 0.15s;
}
.wet-page-btn.active {
    background-color: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
}
.wet-page-btn:hover:not(.active) { background-color: #f0f0f0; }
