/* FastADK Documentation Custom Styles */

/* Enhance code blocks */
.highlight {
  border-radius: 6px;
  padding: 0.5em;
}

/* Improve code readability */
.md-typeset code {
  font-size: 0.9em;
}

/* Make headers stand out more */
.md-typeset h1 {
  font-weight: 700;
  color: var(--md-primary-fg-color);
}

.md-typeset h2 {
  font-weight: 600;
}

/* Better tables */
.md-typeset table:not([class]) {
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12), 0 3px 1px -2px rgba(0,0,0,.2);
  border-radius: 4px;
}

.md-typeset table:not([class]) th {
  background-color: var(--md-primary-fg-color--light);
  color: var(--md-primary-bg-color);
}

/* Increase the size of the content container for better readability */
.md-grid {
  max-width: 72rem;
}

/* Custom admonition styling */
.md-typeset .admonition.example,
.md-typeset details.example {
  border-color: #28a745;
}

.md-typeset .example > .admonition-title,
.md-typeset .example > summary {
  background-color: rgba(40, 167, 69, 0.1);
}

.md-typeset .example > .admonition-title::before,
.md-typeset .example > summary::before {
  background-color: #28a745;
}

/* API documentation improvements */
.doc-contents .doc-heading {
  font-size: 1.2em;
  color: var(--md-primary-fg-color);
}

.doc-contents .doc-object {
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 4px;
  border-left: 4px solid var(--md-primary-fg-color--light);
  background-color: var(--md-code-bg-color);
}

/* Indentation for nested navigation */
.md-nav__item--nested .md-nav__link {
  padding-left: 0.5em;
}
