.table-wrap {
    overflow: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

th {
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.status-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.status-paid,
.status-active,
.status-success {
    background: #dcfce7;
    color: #166534;
}

.status-partial,
.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-credit,
.status-danger,
.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-draft,
.status-muted {
    background: #e2e8f0;
    color: #334155;
}

