/* DocMan Phase 2 styles */
body {
  min-height: 100vh;
}
.page-wrapper {
  display: flex;
  min-height: calc(100vh - 56px);
}
.sidebar {
  transition: width 0.2s, min-width 0.2s;
  overflow: hidden;
}
.sidebar.collapsed {
  min-width: 0 !important;
  width: 0 !important;
  padding: 0 !important;
}
.main-content {
  flex: 1;
  padding: 1.5rem;
}
.badge-author { background-color: #0d6efd; }
.badge-reviewer { background-color: #198754; }
.badge-board { background-color: #6f42c1; }
.needs-action { background-color: #fff3cd; }
.tab-content > .tab-pane {
  padding-top: 1rem;
}
.doc-meta dt {
  font-weight: 600;
  color: #555;
}
.doc-meta dd {
  margin-bottom: 0.5rem;
}
.aging-warning {
  color: #dc3545;
  font-weight: bold;
}

/* Document workflow timeline */
.doc-timeline {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.doc-timeline .tl-node {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #adb5bd;
  background: #fff;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
  vertical-align: middle;
}
.doc-timeline .tl-node.filled {
  background: #0d6efd;
  border-color: #0d6efd;
}
.doc-timeline .tl-node.filled.done {
  background: #198754;
  border-color: #198754;
}
.doc-timeline .tl-line {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: #dee2e6;
  flex-shrink: 0;
  vertical-align: middle;
}
.doc-timeline .tl-line.filled {
  background: #0d6efd;
}
.doc-timeline .tl-line.filled.done {
  background: #198754;
}
.tl-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-left: 8px;
  white-space: nowrap;
}
