/* ARIA Gateway Documentation Custom Styles */

:root {
  --md-primary-fg-color: #1976D2;
  --md-primary-fg-color--light: #42A5F5;
  --md-primary-fg-color--dark: #0D47A1;
  --md-accent-fg-color: #00ACC1;
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #42A5F5;
  --md-accent-fg-color: #26C6DA;
}

/* Code blocks */
.md-typeset code {
  border-radius: 4px;
}

.md-typeset pre {
  border-radius: 8px;
}

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

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

[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background-color: rgba(66, 165, 245, 0.2);
  color: var(--md-primary-fg-color);
}

/* Navigation */
.md-nav__link--active {
  font-weight: 600;
}

/* API endpoint badges */
.endpoint-badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  margin-right: 0.5em;
}

.endpoint-badge.get {
  background-color: #4CAF50;
  color: white;
}

.endpoint-badge.post {
  background-color: #2196F3;
  color: white;
}

.endpoint-badge.put {
  background-color: #FF9800;
  color: white;
}

.endpoint-badge.delete {
  background-color: #F44336;
  color: white;
}

/* Hero section on home page */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--md-default-fg-color--light);
}

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

.grid-card {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--md-code-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  transition: transform 0.2s, box-shadow 0.2s;
}

.grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-card h3 {
  margin-top: 0;
  color: var(--md-primary-fg-color);
}

.grid-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Admonition custom styles */
.md-typeset .admonition.tip,
.md-typeset details.tip {
  border-color: #00ACC1;
}

.md-typeset .tip > .admonition-title,
.md-typeset .tip > summary {
  background-color: rgba(0, 172, 193, 0.1);
}

/* Copy button styling */
.md-clipboard {
  border-radius: 4px;
}

/* Footer */
.md-footer {
  margin-top: 3rem;
}

/* Search improvements */
.md-search__output {
  border-radius: 8px;
}

/* Mobile responsive */
@media screen and (max-width: 76.1875em) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

