/* Documentation-specific styles */

#doc-content {
  max-width: 56.25rem;
  line-height: 1.6;
}

#doc-content h1 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

#doc-content h2 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  border-bottom: 0.125rem solid #44bbab;
  padding-bottom: 0.25em;
}

#doc-content h3 {
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

#doc-content h4 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

#doc-content code {
  background-color: #f0f0f0;
  padding: 0.125em 0.25em;
  border-radius: 0.1875rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}

#doc-content pre {
  background-color: #f5f5f5;
  padding: 1em;
  border-radius: 0.3125rem;
  overflow-x: auto;
  border-left: 0.1875rem solid #44bbab;
}

#doc-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

#doc-content blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  border-left: 0.25rem solid #44bbab;
  background-color: #f9f9f9;
  font-style: italic;
}

#doc-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

#doc-content table th,
#doc-content table td {
  border: 0.0625rem solid #ddd;
  padding: 0.5em;
  text-align: left;
}

#doc-content table th {
  background-color: #44bbab;
  color: #040404;
  font-weight: bold;
}

#doc-content table tr:nth-child(even) {
  background-color: #f9f9f9;
}

#doc-content img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  margin: 0.5em 0.5em 0.5em 0;
  vertical-align: top;
}

#doc-content a {
  color: #44bbab;
  text-decoration: none;
}

#doc-content a:hover {
  color: #bb2c7b;
  text-decoration: underline;
}

#doc-content ul,
#doc-content ol {
  margin: 0.5em 0;
  padding-left: 2em;
}

#doc-content li {
  margin: 0.25em 0;
}

/* Dark mode styles for documentation */
@media (prefers-color-scheme: dark) {
  #doc-content h2 {
    border-bottom-color: #44bbab;
  }

  #doc-content code {
    background-color: #2a2a2a;
    color: #c9c9c9;
  }

  #doc-content pre {
    background-color: #1a1a1a;
    border-left-color: #44bbab;
  }

  #doc-content blockquote {
    background-color: #1a1a1a;
    border-left-color: #44bbab;
    color: #c9c9c9;
  }

  #doc-content table th,
  #doc-content table td {
    border-color: #444;
  }

  #doc-content table th {
    background-color: #44bbab;
    color: #040404;
  }

  #doc-content table tr:nth-child(even) {
    background-color: #1a1a1a;
  }

  #doc-content a {
    color: #44bbab;
  }

  #doc-content a:hover {
    color: #bb2c7b;
  }
}
