/* InnoAI Platform Documentation - Custom Styles */

:root {
  --md-primary-fg-color: #7c3aed;
  --md-primary-fg-color--light: #8b5cf6;
  --md-primary-fg-color--dark: #6d28d9;
  --md-accent-fg-color: #a78bfa;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 2rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Cards grid */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.grid.cards > ul {
  display: contents;
}

.grid.cards li {
  list-style: none;
  padding: 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.grid.cards li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Code blocks */
.highlight pre {
  border-radius: 8px;
}

/* Tables */
.md-typeset table:not([class]) {
  border-radius: 8px;
  overflow: hidden;
}

/* Admonitions */
.md-typeset .admonition {
  border-radius: 8px;
}

/* Footer note */
.footer-note {
  text-align: center;
  padding: 2rem 0;
  color: var(--md-default-fg-color--light);
}

/* Buttons */
.md-button {
  border-radius: 8px;
  font-weight: 600;
}

/* Icons in cards */
.lg.middle {
  font-size: 2rem;
  vertical-align: middle;
}

/* API endpoint styling */
.md-typeset code {
  border-radius: 4px;
}

/* Swagger UI container */
swagger-ui {
  margin: 2rem 0;
}
