/* SalamBot Docs - Styles supplémentaires */

/* Amélioration de la lisibilité des tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

th,
td {
  padding: 0.5em;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: var(--md-primary-fg-color--light);
  font-weight: 600;
}

/* Amélioration des diagrammes Mermaid */
.mermaid {
  text-align: center;
  margin: 1.5em 0;
}

/* Amélioration des blocs de code */
.highlight {
  margin: 1em 0;
}

/* Amélioration des admonitions */
.admonition {
  margin: 1.5em 0;
}

/* Amélioration de l'espacement des sections */
h2 {
  margin-top: 2em;
  margin-bottom: 1em;
}

h3 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

/* Style pour les TODO */
strong:has-text('TODO:') {
  color: #ff6b35;
}

/* Styles pour la page d'accueil */
.hero-section {
  text-align: center;
  margin: 2em 0;
  padding: 2em;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 8px;
}

.hero-tagline {
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.6;
  color: #2c3e50;
  margin: 0;
}

/* Grilles pour l'organisation du contenu */
.quick-start-grid,
.deployment-grid,
.docs-grid {
  display: grid;
  gap: 1.5em;
  margin: 1.5em 0;
}

.quick-start-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.deployment-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.docs-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Style pour les cartes de contenu */
.quick-start-grid > div,
.deployment-grid > div,
.docs-grid > div {
  padding: 1.5em;
  border: 1px solid #e1e8ed;
  border-radius: 6px;
  background: #fafbfc;
  transition: box-shadow 0.2s ease;
}

.quick-start-grid > div:hover,
.deployment-grid > div:hover,
.docs-grid > div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Call-to-action footer */
.footer-cta {
  text-align: center;
  margin: 3em 0;
  padding: 2em;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--md-primary-fg-color);
}

.footer-cta h2 {
  margin-top: 0;
  color: var(--md-primary-fg-color);
}

/* Responsive design */
@media (max-width: 768px) {
  .quick-start-grid,
  .deployment-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 1.5em;
  }

  .hero-tagline {
    font-size: 1.1em;
  }
}

/* Style pour les TODO - complétion */
strong:contains('TODO:') {
  background-color: #fff3e0;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}
