/* DocuLyn PDF / Whiteboard tab bar */
#doculynViewTabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 10px;
  background: #111827;
  border-bottom: 1px solid #374151;
  box-sizing: border-box;
}

#doculynViewTabs .doculyn-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

#doculynViewTabs .doculyn-tab:hover {
  background: #1f2937;
  color: #fff;
}

#doculynViewTabs .doculyn-tab.active {
  background: #2563eb;
  color: #fff;
}

#doculynViewTabs .doculyn-tab-hint {
  margin-left: auto;
  color: #9ca3af;
  font-size: 11px;
}

html,
body {
  height: 100%;
}

/* Offset PDF shell under the fixed tab bar */
body.doculyn-tab-pdf,
body.doculyn-tab-tldraw {
  padding-top: 36px;
  box-sizing: border-box;
}

#tldraw-root {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10040;
  background: #f3f4f6;
}

body.doculyn-tab-pdf #tldraw-root {
  display: none !important;
}

body.doculyn-tab-tldraw #outerContainer {
  visibility: hidden;
  pointer-events: none;
}

body.doculyn-tab-tldraw #tldraw-root {
  display: block;
}
