/* Custom CSS for SharedTools Documentation */

/* Brand colors */
:root {
  --st-primary: #673ab7;
  --st-accent: #9c27b0;
  --st-code-bg: #f5f5f5;
}

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

/* Admonitions custom styles */
.admonition {
  border-radius: 4px;
}

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

table th {
  background-color: var(--st-primary);
  color: white;
  font-weight: bold;
}

/* Tool collection badges */
.tool-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
  margin-right: 8px;
}

.tool-badge.browser {
  background-color: #2196f3;
  color: white;
}

.tool-badge.disk {
  background-color: #4caf50;
  color: white;
}

.tool-badge.eval {
  background-color: #ff9800;
  color: white;
}

.tool-badge.doc {
  background-color: #f44336;
  color: white;
}

.tool-badge.database {
  background-color: #9c27b0;
  color: white;
}

.tool-badge.computer {
  background-color: #607d8b;
  color: white;
}

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

.feature-card {
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
}

.feature-card h3 {
  margin-top: 0;
  color: var(--st-primary);
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] {
  --st-code-bg: #2d2d2d;
}

[data-md-color-scheme="slate"] .feature-card {
  background: #2d2d2d;
  border-color: #444;
}

[data-md-color-scheme="slate"] table th {
  background-color: #5e35b1;
}
