/* Custom styles for LLM Sandbox documentation */

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

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

.grid.cards > div:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Material icons styling */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Icon sizing */
.lg {
  font-size: 2rem !important;
}

.middle {
  vertical-align: middle;
}

/* Custom badge styling */
.badges {
  text-align: center;
  margin: 1rem 0;
}

.badges img {
  margin: 0.2rem;
}

/* Code block improvements */
.highlight pre {
  padding: 1rem;
  overflow-x: auto;
}

/* Mermaid diagram styling */
.mermaid {
  text-align: center;
  margin: 1rem 0;
}
