/* Shared Edge presentation, matching the Agent Builder and integration guides.
   Scoped to .edge-docs so other sections keep their existing presentation. */
.edge-docs .agent-builder-hero-simple {
  text-align: center;
  padding: 3rem 1.25rem;
  margin: -2rem -2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.edge-docs .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 55, 255, 0.15);
  border: 1px solid rgba(0, 55, 255, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}
.edge-docs .agent-builder-hero-simple h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.edge-docs .subtitle { font-size: 1.25rem; color: #9ca3af; margin-bottom: 0; }
.edge-docs .toc-section {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 1rem;
  border-radius: 12px;
  border-left: 4px solid #93c5fd;
  margin-bottom: 1.5rem;
}
.edge-docs .toc-title { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; color: #fff; }
.edge-docs .content-section { max-width: 1400px; margin: 0 auto 1.5rem; }
.edge-docs .content-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-left: 4px solid #0037ff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.edge-docs .content-card p, .edge-docs .content-card li { color: #d1d5db; line-height: 1.7; font-size: 1rem; }
.edge-docs .content-card > :last-child { margin-bottom: 0; }
.edge-docs .card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.edge-docs .card-icon { font-size: 2.25rem; color: #93c5fd; flex-shrink: 0; }
.edge-docs .card-header h3 { font-size: 1.75rem; margin: 0; color: #fff; font-weight: 700; }
.edge-docs h2, .edge-docs h3, .edge-docs h4 { color: #fff; }
.edge-docs h2 { scroll-margin-top: 1.5rem; }
.edge-docs a { color: #fff; }
.edge-docs a:hover { color: #93c5fd; }
.edge-docs code {
  background: rgba(0, 55, 255, 0.2);
  border: 1px solid rgba(0, 55, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.edge-docs .table-wrapper { max-width: 100%; overflow-x: auto; }
.edge-docs table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.edge-docs th { background: #1f2937; color: #fff; }
.edge-docs td { background: #111827; color: #d1d5db; }
.edge-docs th, .edge-docs td { border: 1px solid #374151; padding: 0.75rem; vertical-align: top; }
.edge-docs .warning-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  color: #f3f4f6;
}
.edge-docs .warning-box strong { color: #fbbf24; }
.edge-docs .centered-image { margin: 1.5rem 0; text-align: center; }
.edge-docs .centered-image figcaption { color: #9ca3af; font-size: 0.9rem; margin-top: 0.75rem; font-style: italic; line-height: 1.6; }
.edge-docs .navigation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.edge-docs .nav-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-left: 3px solid #0037ff;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.edge-docs .nav-card:hover { border-left-color: #93c5fd; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.edge-docs .nav-card-icon { font-size: 2rem; color: #93c5fd; }
.edge-docs .nav-card-title { color: #fff; font-size: 1.25rem; font-weight: 700; }
.edge-docs .nav-card-description { color: #d1d5db; font-size: 0.95rem; line-height: 1.5; flex-grow: 1; }
.edge-docs .nav-arrow { color: #93c5fd; font-size: 1.5rem; align-self: flex-end; }
.edge-docs a:focus-visible, .edge-docs summary:focus-visible { outline: 2px solid #93c5fd; outline-offset: 4px; }
@media (max-width: 768px) {
  .edge-docs .agent-builder-hero-simple { padding: 2rem 1rem; margin-left: 0; margin-right: 0; }
  .edge-docs .agent-builder-hero-simple h1 { font-size: 2rem; }
  .edge-docs .subtitle { font-size: 1rem; }
  .edge-docs .content-card { padding: 1rem; }
  .edge-docs .card-header h3 { font-size: 1.5rem; }
  .edge-docs .navigation-grid { grid-template-columns: 1fr; }
  .edge-docs .centered-image img:hover { transform: none; }
}
