/* Nova AI Custom Styles */

:root {
  --nova-primary: #3f51b5;       /* Indigo */
  --nova-accent: #673ab7;         /* Deep Purple */
  --nova-gradient: linear-gradient(135deg, #3f51b5 0%, #673ab7 100%);
}

/* Hero section styling */
.md-typeset h1:first-child {
  font-weight: 700;
  background: var(--nova-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card styling enhancements */
.md-typeset .grid.cards > ul > li {
  border: 1px solid var(--md-default-fg-color--lightest);
  transition: all 0.3s ease;
}

.md-typeset .grid.cards > ul > li:hover {
  border-color: var(--nova-primary);
  box-shadow: 0 4px 12px rgba(63, 81, 181, 0.15);
  transform: translateY(-2px);
}

/* Code block enhancements */
.md-typeset pre {
  border-radius: 8px;
  border-left: 4px solid var(--nova-accent);
}

/* Admonition styling */
.md-typeset .admonition {
  border-left-width: 4px;
}

/* Custom badge styling */
.md-typeset img[src*="shields.io"] {
  display: inline-block;
  margin: 0 4px;
}

/* Mermaid diagram styling */
.mermaid {
  text-align: center;
  background-color: transparent;
}

/* Table of contents enhancements */
.md-nav__link--active {
  color: var(--nova-primary);
  font-weight: 600;
}

/* Footer enhancements */
.md-footer {
  background: var(--nova-gradient);
}

/* API documentation styling */
.doc-heading {
  border-bottom: 2px solid var(--nova-accent);
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/* Code signature styling */
.doc-signature {
  background-color: var(--md-code-bg-color);
  padding: 1em;
  border-radius: 4px;
  border-left: 3px solid var(--nova-accent);
  margin-bottom: 1em;
}

/* Parameter table styling */
.doc-parameters table {
  width: 100%;
  border-collapse: collapse;
}

.doc-parameters th {
  background-color: var(--md-default-fg-color--lightest);
  color: var(--md-default-fg-color);
  font-weight: 600;
  padding: 0.6em;
}

/* Search result highlighting */
.md-search-result__article--document {
  border-left: 3px solid var(--nova-accent);
}

/* Mobile responsiveness */
@media screen and (max-width: 76.1875em) {
  .md-typeset h1:first-child {
    font-size: 1.8em;
  }
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #3f51b5;
  --md-accent-fg-color: #673ab7;
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li:hover {
  box-shadow: 0 4px 12px rgba(103, 58, 183, 0.25);
}

/* Version selector styling */
.md-version {
  color: var(--nova-primary);
  font-weight: 500;
}

/* Navigation tabs enhancement */
.md-tabs {
  background: var(--nova-gradient);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Copy button styling */
.md-clipboard {
  color: var(--nova-accent);
}

/* Inline code styling */
.md-typeset code {
  background-color: var(--md-code-bg-color);
  color: var(--nova-accent);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

/* Links enhancement */
.md-typeset a {
  transition: color 0.2s ease;
}

.md-typeset a:hover {
  color: var(--nova-accent);
}
