
/* Base container table */
table.nested-table {
    width: 100%;
    border-collapse: collapse;
    margin: 5px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Style for all keys (left column) */
td.table-key {
    font-weight: bold;
    background-color: #f8f9fa;
    color: #333333;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    vertical-align: top;
    width: 25%;
}

/* Style for all values (right column) */
td.table-value {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    vertical-align: top;
    background-color: #ffffff;
}

/* Remove margins for tables inside tables to prevent double padding */
td.table-value > table.nested-table {
    margin: 0;
}

/* Simple Bullet Lists (Primitive values) */
ul.table-list {
    margin: 0;
    padding-left: 20px;
}
ul.table-list li {
    margin-bottom: 4px;
    color: #495057;
}

/* Block containers for lists of complex objects (dicts/lists) */
.nested-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Spacing between complex elements in an array */
}

.list-item-block {
    border-left: 3px solid #0d6efd; /* Visual accent line for distinct list entries */
    padding-left: 8px;
}

/* Empty data placeholder text styling */
.empty-value {
    color: #adb5bd;
    font-style: italic;
}
