.table-wrapper {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 16px;
    background: #0d1117;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    font-family: inherit;
}

/* Header styling */
.table-wrapper th {
    background: linear-gradient(135deg, #1a1f2e, #0f1420);
    color: var(--accent-cyan, #06b6d4);
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--accent-cyan, #06b6d4);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* Cell styling */
.table-wrapper td {
    padding: 12px 18px;
    color: #e2e8f0;
    border-bottom: 1px solid #2d2d3a;
    background: transparent;
}

/* Remove border from last row */
.table-wrapper tr:last-child td {
    border-bottom: none;
}

/* Hover effect on rows */
.table-wrapper tbody tr:hover td {
    background: rgba(6, 182, 212, 0.05);
    transition: background 0.2s ease;
}

/* Zebra striping for better readability */
.table-wrapper tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.table-wrapper tbody tr:nth-child(even):hover td {
    background: rgba(6, 182, 212, 0.05);
}

/* First column slightly highlighted (optional) */
.table-wrapper td:first-child,
.table-wrapper th:first-child {
    padding-left: 18px;
}

/* Last column padding */
.table-wrapper td:last-child,
.table-wrapper th:last-child {
    padding-right: 18px;
}

/* Scrollbar styling for table wrapper */
.table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #1e1e2e;
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan, #06b6d4);
}