/**
 * Custom CSS for Antibody Training Pipeline ESM Documentation
 */

/* Code blocks - better contrast */
.highlight {
  border-radius: 0.3rem;
}

/* Admonitions - custom styling */
.admonition {
  border-left: 0.2rem solid;
  border-radius: 0.2rem;
  margin: 1.5625em 0;
  padding: 0.6rem 0.8rem;
}

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

table th {
  font-weight: 700;
  background-color: var(--md-default-fg-color--lightest);
}

table td, table th {
  border: 0.05rem solid var(--md-default-fg-color--lightest);
  padding: 0.9375em 1.25em;
}

/* API reference - better spacing */
.doc-heading {
  margin-top: 1.5rem;
}

/* Code annotations */
.md-annotation {
  font-size: 0.75em;
}

/* Badges in content */
.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

/* Custom scrollbar for code blocks */
.highlight pre::-webkit-scrollbar {
  height: 0.5rem;
}

.highlight pre::-webkit-scrollbar-thumb {
  background-color: var(--md-default-fg-color--lighter);
  border-radius: 0.25rem;
}

.highlight pre::-webkit-scrollbar-track {
  background-color: var(--md-code-bg-color);
}
