/* Documentation Styles */
.docs-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
  gap: 2rem;
}

.docs-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: calc(100vh - 100px);
  overflow-y: auto;
}

.docs-content {
  flex: 1;
  max-width: 800px;
}

.docs-nav {
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.docs-nav h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.docs-nav h4 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1rem;
  color: var(--text-light);
}

.docs-nav ul {
  margin-bottom: 1rem;
}

.docs-nav li {
  margin-bottom: 0.5rem;
}

.docs-nav li a {
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  color: var(--text-color);
  transition: var(--transition);
}

.docs-nav li a:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
}

.docs-nav li.active a {
  background-color: var(--primary-color);
  color: white;
}

.docs-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.docs-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.docs-section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.docs-section:last-child {
  border-bottom: none;
}

.docs-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--primary-color);
}

.docs-section h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
}

.docs-table th,
.docs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.docs-table th {
  background-color: var(--background-alt);
  font-weight: 600;
}

.docs-table td code {
  background-color: var(--background-alt);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .docs-container {
    flex-direction: column;
  }
  
  .docs-sidebar {
    width: 100%;
    position: static;
    height: auto;
    margin-bottom: 2rem;
  }
  
  .docs-content {
    max-width: 100%;
  }
}
