/* Custom styles for scikit-agent documentation */

/* Improve code block styling */
.highlight {
  border-radius: 4px;
}

/* Style for gallery thumbnails */
.sphx-glr-thumbcontainer {
  margin: 10px;
}

/* Improve table styling */
table.docutils {
  border-collapse: collapse;
  margin: 1em 0;
}

table.docutils th,
table.docutils td {
  border: 1px solid #ddd;
  padding: 8px;
}

/* Style for admonitions */
.admonition {
  margin: 1em 0;
  padding: 0.5em;
  border-left: 4px solid #ccc;
}

.admonition.note {
  border-left-color: #3498db;
}

.admonition.warning {
  border-left-color: #f39c12;
}

/* API reference: make autodoc field lists (Parameters, Returns, Raises,
   Return type, ...) read as small titled sections rather than furo's
   shrunken small-caps default. furo's own rules are not !important, so these
   win regardless of its higher selector specificity. Scoped to .field-list so
   function signatures and prose definition lists are left untouched, and no
   colors are set so light and dark modes both work. */
.field-list > dt {
  text-transform: none !important;
  font-size: 1em !important;
  font-weight: 700;
  margin-top: 0.9rem;
}

/* Lay parameters out as spaced rows instead of a bulleted list. */
.field-list > dd > ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.field-list > dd > ul > li {
  margin-bottom: 0.45rem;
}
