.nwb-hierarchy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.nwb-hierarchy-table th {
    background-color: #34495e;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 4px 8px;
    border-bottom: 2px solid #dde4ed;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nwb-hierarchy-table td {
    padding: 3px 8px;
    border-bottom: 1px solid #dde4ed;
    vertical-align: top;
    line-height: 1.4;
}

.nwb-hierarchy-table tbody tr:hover {
    background-color: rgba(43, 87, 151, 0.05);
}

/* Style for the neurodata type column - using monospace for technical data */
.nwb-hierarchy-table td:nth-child(2) {
    color: #34495e;
    font-size: 0.8rem;
}

/* Style for the description column */
.nwb-hierarchy-table td:nth-child(3) {
    color: #2c3e50;
    font-size: 0.8rem;
}

/* Checkbox styling */
.nwb-hierarchy-table input[type="checkbox"] {
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

/* Expansion controls (▼ and ►) */
.nwb-hierarchy-table span[style*="cursor: pointer"] {
    color: #34495e;
    font-size: 0.8rem;
    width: 16px;
    display: inline-block;
    text-align: center;
}

/* Partial load indicator */
.nwb-hierarchy-partial-load {
    background-color: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nwb-hierarchy-partial-load::before {
    content: "⚠️";
    font-size: 1rem;
}
