/* Claude Cookbooks — Custom CSS */

/* Google Fonts for code + body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Body typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Code blocks */
code, pre, .code {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
}

pre code {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Inline code */
p code, li code, td code {
  background-color: rgba(214, 156, 58, 0.12);
  padding: 0.15em 0.35em;
  border-radius: 4px;
  font-size: 0.88em;
}

/* Dark mode inline code */
.dark p code, .dark li code, .dark td code {
  background-color: rgba(214, 156, 58, 0.2);
}

/* Notebook cell styling — match Jupyter aesthetic */
div.cell {
  margin: 1.5rem 0;
  border-left: 3px solid var(--quarto-border-color, #d4a056);
  padding-left: 1rem;
}

div.cell input {
  background-color: rgba(0,0,0,0.03);
  border-radius: 6px;
}

.dark div.cell input {
  background-color: rgba(255,255,255,0.05);
}

/* Output cells */
div.cell-output {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background-color: rgba(0,0,0,0.02);
  border-radius: 6px;
}

.dark div.cell-output {
  background-color: rgba(255,255,255,0.03);
}

/* Part divider headings */
h1.part-title {
  font-size: 1.8rem;
  color: #d4a056;
  text-align: center;
  border-bottom: 2px solid #d4a056;
  padding-bottom: 0.5rem;
  margin-top: 3rem;
}

/* Chapter titles */
h1, h2, h3 {
  font-weight: 600;
}

/* Sidebar TOC */
#TOC {
  font-size: 0.85rem;
}

#TOC a {
  color: inherit;
  text-decoration: none;
}

/* Callout styling */
.callout {
  border-radius: 8px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.6rem 0.8rem;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
