/* Table and data display styles */
table { 
    width: 100%; 
    border-collapse: collapse; 
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 4px 16px rgba(0,0,0,0.05); 
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

th, td { 
    padding: 1rem 1.25rem; 
    text-align: left; 
    transition: all 0.3s ease;
}

th {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid rgba(148, 163, 184, 0.2);
}

tbody tr {
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease-out both;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

tbody tr:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.5);
}

tbody tr:nth-child(even):hover {
    background: rgba(59, 130, 246, 0.12);
}

#articles-tbody { 
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#articles-tbody.loading { 
    opacity: 0.4; 
    pointer-events: none;
}

#articles-tbody.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
    animation: shimmer 2s infinite;
    border-radius: 2px;
}