.docs {
  padding: 3rem 0;
  min-height: calc(100vh - 200px);
  background: #f8fafc;
}
.docs__sidebar {
  position: sticky;
  top: 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .docs__sidebar {
    margin-bottom: 0;
  }
}
.docs__sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.docs__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs__nav-item {
  margin-bottom: 0.25rem;
}
.docs__nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}
.docs__nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.docs__nav-link.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
  color: #0ea5e9;
  font-weight: 500;
}
.docs__nav-sub {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0.25rem 0 0.5rem;
}
.docs__nav-sub .docs__nav-link {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}
.docs__content {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
}
@media (min-width: 992px) {
  .docs__content {
    padding: 3rem;
  }
}
.docs__header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}
.docs__breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.docs__breadcrumb a {
  color: #0ea5e9;
  text-decoration: none;
}
.docs__breadcrumb a:hover {
  text-decoration: underline;
}
.docs__breadcrumb span {
  margin: 0 0.5rem;
}
.docs__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}
.docs__description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
}
.docs__body {
  color: #334155;
  line-height: 1.8;
  font-size: 1rem;
}
.docs__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.docs__body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.docs__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
}
.docs__body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 1.5rem 0 0.5rem;
}
.docs__body p {
  margin-bottom: 1.25rem;
}
.docs__body ul, .docs__body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.docs__body ul li, .docs__body ol li {
  margin-bottom: 0.5rem;
}
.docs__body a {
  color: #0ea5e9;
  text-decoration: none;
}
.docs__body a:hover {
  text-decoration: underline;
}
.docs__body code {
  background: #f1f5f9;
  color: #e11d48;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: "JetBrains Mono", "Fira Code", monospace;
}
.docs__body pre {
  background: #1e293b;
  border-radius: 0.5rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.docs__body pre code {
  background: none;
  color: #e2e8f0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.7;
}
.docs__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.docs__body table th, .docs__body table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
}
.docs__body table th {
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
}
.docs__body table tr:nth-child(even) {
  background: #fafafa;
}
.docs__body blockquote {
  border-left: 4px solid #0ea5e9;
  background: #f0f9ff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}
.docs__body blockquote p:last-child {
  margin-bottom: 0;
}
.docs__body hr {
  border: none;
  height: 1px;
  background: #e2e8f0;
  margin: 2rem 0;
}
.docs__children {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.docs__children h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
}
.docs__cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .docs__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.docs__card {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.docs__card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}
.docs__card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.docs__card p {
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
}
.docs__pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.docs__pagination-prev, .docs__pagination-next {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  max-width: 45%;
}
.docs__pagination-prev:hover, .docs__pagination-next:hover {
  border-color: #0ea5e9;
  background: #f0f9ff;
}
.docs__pagination-prev {
  align-items: flex-start;
}
.docs__pagination-next {
  align-items: flex-end;
  margin-left: auto;
}
.docs__pagination-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.docs__pagination-title {
  font-weight: 500;
  color: #0ea5e9;
}
