/* Board notebook slide-in panel */

.board-notebook-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.board-notebook-overlay.show {
  opacity: 1;
  visibility: visible;
}

.board-notebook-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.12);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.board-notebook-panel.show {
  transform: translateX(0);
}

.board-notebook-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.board-notebook-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.board-notebook-note {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: #fff;
}

.board-notebook-note.archived {
  opacity: 0.65;
  background: #f8fafc;
}

.board-notebook-empty {
  text-align: center;
  color: #64748b;
  padding: 2rem 1rem;
  font-size: 0.875rem;
}

.board-notebook-loading {
  text-align: center;
  color: #64748b;
  padding: 2rem;
  font-size: 0.875rem;
}

.board-notebook-error {
  color: #b91c1c;
  font-size: 0.875rem;
  padding: 0.75rem;
  background: #fef2f2;
  border-radius: 0.375rem;
}

.board-notebook-success {
  color: #15803d;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}
