.udb {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.tabBar {
  display: flex;
  gap: 2px;
  padding: 8px 8px 0;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  flex-shrink: 0;
}

.tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #6b7280);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.tab:hover {
  color: var(--text-primary, #111827);
  background: var(--bg-hover, rgba(0, 0, 0, 0.03));
}

.tabActive {
  color: var(--accent, #4f46e5);
  border-bottom-color: var(--accent, #4f46e5);
}

.tabContent {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

@media (prefers-color-scheme: dark) {
  .tabBar {
    border-bottom-color: var(--border-color-dark, #374151);
  }
  .tab {
    color: var(--text-secondary-dark, #9ca3af);
  }
  .tab:hover {
    color: var(--text-primary-dark, #f3f4f6);
    background: rgba(255, 255, 255, 0.05);
  }
  .tabActive {
    color: var(--accent, #818cf8);
    border-bottom-color: var(--accent, #818cf8);
  }
}
