.ent-list-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    z-index: 1;
}

.ent-list-table thead tr {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
}

.ent-list-table th {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--mist-dim);
    text-transform: uppercase;
    padding: 13px 20px;
    text-align: left;
}

.ent-list-table tbody tr:not(.no-data-row):hover {
    background: rgba(201, 148, 58, 0.04);
}

.ent-list-table tbody tr {
    border-bottom: 1px solid rgba(201, 148, 58, 0.055);
    transition: background 0.2s;
    animation: row-in 0.45s ease both;
}

.ent-list-table tbody td {
    padding: 15px 20px;
    font-size: 14px;
    color: var(--mist);
    vertical-align: middle;
}

.ent-list-table th .material-symbols-outlined {
    font-size: 14px;
}

/************************************
 *
 * Common styles for columns
 *
 ************************************/

.ent-list-table .row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.ent-list-table .date-text {
    color: var(--mist-dim);
    font-style: italic;
}

.ent-list-table .row-name {
    font-size: 15px;
    color: var(--cream);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.ent-list-table .comments-cell {
    display: flex;
    gap: 4px;
    color: var(--mist-dim);
    font-size: 14px;
}

.ent-list-table .comments-cell .material-symbols-outlined {
    font-size: 14px;
}

.ent-list-table tbody tr:hover .row-name {
    color: var(--gold-light);
}

/************************************
 *
 * No Data Row
 *
 ************************************/

.no-data-row .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px 72px;
    gap: 0;
    text-align: center;
    position: relative;
}

.no-data-row .text-label {
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--ember);
    opacity: 0.8;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-data-row .text-label::before, .no-data-row .text-label::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--ember);
    opacity: 0.5;
}

.no-data-row .text-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.no-data-row .text {
    font-size: 14px;
    color: var(--mist);
    font-style: italic;
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: 28px;
}

.no-data-row .empty-glyph {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 28px;
}

.no-data-row .empty-glyph-ring {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid rgba(201, 148, 58, 0.18);
    position: absolute;
    inset: 0;
    animation: no-data-row-spin-1 28s linear infinite;
}

.no-data-row .empty-glyph-ring-2 {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(74, 173, 168, 0.14);
    position: absolute;
    top: 12px;
    left: 12px;
    animation: no-data-row-spin-2 18s linear infinite;
}

.no-data-row .empty-glyph-ring::before, .no-data-row .empty-glyph-ring-2::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(201, 148, 58, 0.45);
    box-shadow: 0 0 6px rgba(201, 148, 58, 0.3);
}

.no-data-row .empty-glyph-ring-2::before, .no-data-row .empty-glyph-ring::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(74, 173, 168, 0.38);
}

/************************************
 *
 * Tabs for the table, OLD styles
 *
 ************************************/

.data-table-tabs {
    margin: 15px 0 0 0;
    padding: 0;
}

.data-table-tabs li {
    list-style-type: none;
    border: 1px solid var(--border-color);
    border-bottom: none;
    display: inline-block;
}

.data-table-tabs a {
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

.data-table-tabs a:not(.active):hover {
    background-color: var(--navbar-hover-color);
}

.data-table-tabs a.active {
    background-color: var(--primary-color);
}

.data-table-tabs a.active:hover {
    background-color: var(--primary-hover-color);
}

/************************************
 *
 * Tabs for the table - vertical
 *
 ************************************/

.data-table-tabs.vertical {
    width: 200px;
    display: inline-block;
}

.data-table-tabs.vertical li {
    width: 200px;
    border-bottom: 1px solid var(--border-color);
}

/************************************
 *
 * Animations
 *
 ************************************/

@keyframes row-in {
    from {
        opacity: 0;
        transform: translateX(-6px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes no-data-row-spin-1 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes no-data-row-spin-2 {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(-315deg);
    }
}
