/* ===============================================
   TABLES.CSS - Clean Table Styling
   Claude-Inspired Minimal Design
   =============================================== */

/* ===================================
   CLEAN TABLE STYLE
   =================================== */

.table-clean {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.table-clean thead {
    background: transparent;
}

.table-clean th {
    padding: 12px 16px;
    text-align: left;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid #e5e7eb;
    line-height: var(--line-height-normal);
}

.table-clean th:last-child {
    text-align: right;
}

.table-clean tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.table-clean tbody tr:hover {
    background: #fafafa;
}

.table-clean tbody tr:last-child {
    border-bottom: none;
}

.table-clean td {
    padding: 12px 16px;
    color: var(--text-body);
    line-height: var(--line-height-normal);
}

.table-clean td:last-child {
    text-align: right;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

/* ===================================
   CODE BLOCKS (For Future Features)
   =================================== */

.code-block {
    background: var(--code-bg);
    border-radius: var(--code-radius);
    padding: var(--code-padding);
    font-family: 'Courier New', Monaco, monospace;
    font-size: 13px;
    line-height: var(--line-height-relaxed);
    color: var(--code-color);
    overflow-x: auto;
    border: none;
    margin: var(--space-md) 0;
}

.code-inline {
    background: var(--code-inline-bg);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', Monaco, monospace;
    font-size: 12px;
    color: var(--code-inline-color);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .table-clean th,
    .table-clean td {
        padding: 10px 12px;
        font-size: var(--text-xs);
    }
    
    .code-block {
        font-size: 12px;
        padding: 12px;
    }
}

