/* Documentation Styles - Shared across component pages */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  margin: 0;
  background: #f8f9fa;
}

/* Documentation Header */
.docs-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 3rem;
}
.docs-header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 300;
}
.docs-header p {
  margin: 1rem 0 0 0;
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Container */
.aiab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Content Sections */
.section {
  background: white;
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
  color: #2c3e50;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.section h3 {
  color: #34495e;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.section h4 {
  color: #7f8c8d;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Code Blocks */
.code-block {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
}

.code-block code {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875rem;
}

/* Inline code */
code {
  background: #f1f5f9;
  color: #e11d48;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid #ecf0f1;
}

th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

tr:hover {
  background: #f8f9fa;
}

/* Demo Sections */
.aiab-demo-section {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 1.5rem 0;
}

.demo-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

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

.aiab-feature-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--color-primary);
}

.aiab-feature-card h4 {
  margin-top: 0;
  color: #2c3e50;
}

/* Navigation */
.aiab-nav-breadcrumb {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  margin-bottom: 1rem;
}

.aiab-nav-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.aiab-nav-breadcrumb a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .aiab-container {
    padding: 0 1rem;
  }

  .docs-header h1 {
    font-size: 2rem;
  }

  .section {
    padding: 1.5rem;
  }
}
