.docs-layout {
  display: flex;
  min-height: calc(100vh - 200px);
  color: white;
}
@media (max-width: 768px) {
  .docs-layout {
    flex-direction: column;
  }
}

.docs-sidebar {
  width: 280px;
  background: rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .docs-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
  }
}

.docs-nav {
  position: sticky;
  top: 120px;
}
.docs-nav h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-nav li {
  margin-bottom: 0.25rem;
}
.docs-nav a {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  transition: all 0.15s ease;
}
.docs-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.docs-nav a.active {
  background: rgba(247, 147, 26, 0.2);
  color: #F7931A;
  font-weight: 500;
}

.docs-content {
  flex: 1;
  padding: 2rem;
  min-width: 0;
}

.docs-container {
  max-width: 800px;
  margin: 0 auto;
}
.docs-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.docs-container .lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.docs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.docs-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.docs-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}
.docs-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}
.docs-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.doc-article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
}
.doc-article h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}
.doc-article h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.doc-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.doc-article p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.doc-article ul, .doc-article ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}
.doc-article ul li, .doc-article ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.doc-article code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #F7931A;
}
.doc-article pre {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.doc-article pre code {
  background: none;
  padding: 0;
  color: white;
}
.doc-article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.doc-article table th, .doc-article table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.doc-article table th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}
.doc-article table td {
  color: rgba(255, 255, 255, 0.7);
}
.doc-article hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}
.doc-article a {
  color: #F7931A;
  text-decoration: none;
}
.doc-article a:hover {
  text-decoration: underline;
}

.docs-nav-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.docs-nav-bottom a {
  display: block;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.docs-nav-bottom a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}
.docs-nav-bottom a span {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}
.docs-nav-bottom a strong {
  color: white;
}
.docs-nav-bottom .nav-next {
  text-align: right;
  margin-left: auto;
}
