@charset "UTF-8";
/**
 * Documentation Theme Styles
 * Based on https://docs.botble.com/ design
 */
:root {
  --primary-color: #3b82f6;
  --docs-primary-color: #3b82f6;
  --docs-secondary-color: #64748b;
  --docs-success-color: #10b981;
  --docs-warning-color: #f59e0b;
  --docs-danger-color: #ef4444;
  --docs-dark-color: #1e293b;
  --docs-light-color: #f8fafc;
  --docs-border-color: #e2e8f0;
  --docs-text-color: #334155;
  --docs-text-muted: #64748b;
  --docs-sidebar-width: 280px;
  --docs-header-height: 70px;
  --docs-font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --docs-code-font:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--docs-font-family);
  line-height: 1.6;
  color: var(--docs-text-color);
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.docs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--docs-border-color);
  height: var(--docs-header-height);
}

.docs-header-top {
  height: 100%;
  display: flex;
  align-items: center;
}

.docs-logo {
  display: flex;
  align-items: center;
}

.docs-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--docs-dark-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.docs-logo img {
  max-height: 40px;
  width: auto;
}

.docs-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  justify-content: flex-end;
}

.docs-top-nav .docs-top-menu {
  display: flex;
}

/* =============================================
   Forum: User Account Menu (header)
   ============================================= */
.docs-user-menu {
  position: relative;
}

.docs-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--docs-border-color);
  border-radius: 99px;
  padding: 0.25rem 0.6rem 0.25rem 0.25rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--docs-text-color);
  transition: border-color 0.15s, background 0.15s;
}
.docs-user-trigger:hover {
  border-color: var(--docs-primary-color);
  background: var(--docs-light-color);
}

.docs-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.docs-user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.docs-user-caret {
  color: var(--docs-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.docs-user-menu.open .docs-user-caret {
  transform: rotate(180deg);
}

.docs-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--docs-border-color);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  display: none;
  overflow: hidden;
}
.docs-user-dropdown.active {
  display: block;
}

.docs-user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--docs-light-color);
}

.docs-user-dropdown-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.docs-user-dropdown-info {
  overflow: hidden;
}

.docs-user-dropdown-name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--docs-dark-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-user-dropdown-divider {
  height: 1px;
  background: var(--docs-border-color);
  margin: 0;
}

.docs-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--docs-text-color);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.docs-user-dropdown-item svg {
  flex-shrink: 0;
  color: var(--docs-text-muted);
}
.docs-user-dropdown-item:hover {
  background: var(--docs-light-color);
  color: var(--docs-primary-color);
}
.docs-user-dropdown-item:hover svg {
  color: var(--docs-primary-color);
}
.docs-user-dropdown-item--danger {
  color: var(--docs-danger-color);
}
.docs-user-dropdown-item--danger svg {
  color: var(--docs-danger-color);
}
.docs-user-dropdown-item--danger:hover {
  background: #fef2f2;
  color: var(--docs-danger-color);
}

.docs-user-auth-links {
  display: flex;
  align-items: center;
}

.docs-user-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--docs-primary-color);
  border: 1px solid var(--docs-primary-color);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.docs-user-login-btn:hover {
  background: var(--docs-primary-color);
  color: #fff;
}

/* =============================================
   Search Trigger (header bar)
   ============================================= */
.docs-search {
  position: relative;
}

.docs-search-trigger-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.4375rem 0.75rem;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  background: var(--docs-light-color);
  cursor: pointer;
  transition: all 0.2s;
}

.docs-search-trigger-wrap:hover {
  border-color: var(--docs-primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.docs-search-trigger-icon {
  color: var(--docs-text-muted);
  flex-shrink: 0;
}

.docs-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--docs-text-muted);
  outline: none;
  cursor: pointer;
  padding: 0;
}

.docs-search-input::placeholder {
  color: var(--docs-text-muted);
}

.docs-search-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0.125rem 0.375rem;
  background: #fff;
  border: 1px solid var(--docs-border-color);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-family: var(--docs-font-family);
  color: var(--docs-text-muted);
  line-height: 1.3;
  white-space: nowrap;
}

.docs-search-shortcut-key {
  font-size: 0.75rem;
}

/* =============================================
   Search Modal (overlay)
   ============================================= */
.docs-search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.docs-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.docs-search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.docs-search-modal-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 70vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.98) translateY(-10px);
  transition: transform 0.2s;
}

.docs-search-modal.active .docs-search-modal-container {
  transform: scale(1) translateY(0);
}

/* Modal header / input */
.docs-search-modal-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--docs-border-color);
}

.docs-search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.docs-search-modal-icon {
  color: var(--docs-text-muted);
  flex-shrink: 0;
}

.docs-search-modal-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--docs-text-color);
  background: transparent;
  padding: 0.25rem 0;
}

.docs-search-modal-input::placeholder {
  color: var(--docs-text-muted);
}

.docs-search-modal-kbd {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  background: var(--docs-light-color);
  border: 1px solid var(--docs-border-color);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-family: var(--docs-font-family);
  color: var(--docs-text-muted);
  line-height: 1.5;
  flex-shrink: 0;
}

/* Modal body / results */
.docs-search-modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 0.5rem 0;
}

.docs-search-modal-section-title {
  padding: 0.5rem 1rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--docs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Result items */
.docs-search-modal-item {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--docs-text-color);
  border-left: 3px solid transparent;
  transition: background 0.1s, border-color 0.1s;
}

.docs-search-modal-item:hover,
.docs-search-modal-item.selected {
  background: var(--docs-light-color);
  border-left-color: var(--docs-primary-color);
  text-decoration: none;
  color: var(--docs-text-color);
}

.docs-search-modal-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.docs-search-modal-item-excerpt {
  font-size: 0.8125rem;
  color: var(--docs-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.docs-search-modal-item mark {
  background: rgba(59, 130, 246, 0.15);
  color: var(--docs-primary-color);
  padding: 0.0625rem 0.125rem;
  border-radius: 2px;
  font-weight: 600;
}

/* Loading state */
.docs-search-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  color: var(--docs-text-muted);
  font-size: 0.875rem;
}

.docs-search-modal-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--docs-border-color);
  border-top-color: var(--docs-primary-color);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Empty state */
.docs-search-modal-empty {
  text-align: center;
  padding: 2rem 1.5rem;
}

.docs-search-modal-empty-icon {
  color: var(--docs-text-muted);
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.docs-search-modal-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--docs-dark-color);
  margin-bottom: 0.25rem;
}

.docs-search-modal-empty-sub {
  font-size: 0.875rem;
  color: var(--docs-text-muted);
  margin-bottom: 1.25rem;
}

/* Suggestion chips */
.docs-search-modal-suggestions {
  margin-top: 1rem;
}

.docs-search-modal-suggestions-label {
  font-size: 0.8125rem;
  color: var(--docs-text-muted);
  margin-bottom: 0.5rem;
}

.docs-search-modal-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.docs-search-modal-suggestion-chip {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--docs-light-color);
  border: 1px solid var(--docs-border-color);
  border-radius: 20px;
  color: var(--docs-text-color);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: all 0.15s;
}

.docs-search-modal-suggestion-chip:hover {
  background: var(--docs-primary-color);
  border-color: var(--docs-primary-color);
  color: #fff;
  text-decoration: none;
}

.docs-top-nav .docs-top-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.docs-top-nav .docs-top-menu .menu-item {
  position: relative;
}

.docs-top-nav .docs-top-menu .menu-item > a {
  color: var(--docs-text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.2s;
}

.docs-top-nav .docs-top-menu .menu-item.active > a {
  color: var(--docs-primary-color);
}

.docs-top-nav .docs-top-menu .menu-item > a:hover {
  color: var(--docs-primary-color);
}

.docs-top-nav .docs-top-menu .menu-item.active > a {
  color: var(--docs-primary-color);
  position: relative;
}

.docs-top-nav .docs-top-menu .menu-item.active > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--docs-primary-color);
  border-radius: 2px;
}

.docs-top-nav .docs-top-menu .menu-item.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.5rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

.docs-top-nav .docs-top-menu .menu-item .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--docs-border-color);
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
}

.docs-top-nav .docs-top-menu .menu-item .sub-menu .menu-item a {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--docs-border-color);
}

.docs-top-nav .docs-top-menu .menu-item .sub-menu .menu-item a:hover {
  background: var(--docs-light-color);
}

.docs-top-nav .docs-top-menu .menu-item .sub-menu .menu-item:last-child a {
  border-bottom: none;
}

.docs-top-nav .docs-top-menu .menu-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.docs-mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.docs-mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--docs-text-color);
  margin: 2px 0;
  transition: 0.3s;
}

.docs-mobile-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.docs-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.docs-mobile-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.docs-wrapper {
  display: flex;
  min-height: 100vh;
  padding-top: var(--docs-header-height);
}

.docs-wrapper.docs-wrapper--no-sidebar .docs-content {
  width: 100%;
  margin-left: 0;
}

.docs-sidebar {
  width: var(--docs-sidebar-width);
  background: var(--docs-light-color);
  border-right: 1px solid var(--docs-border-color);
  position: fixed;
  top: var(--docs-header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  scroll-behavior: smooth;
  /* Thin scrollbar - hidden by default, show on hover */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s ease;
}
.docs-sidebar:hover {
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.docs-sidebar {
  /* Webkit (Chrome, Safari, Edge) */
}
.docs-sidebar::-webkit-scrollbar {
  width: 5px;
}
.docs-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.docs-sidebar::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}
.docs-sidebar:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.18);
}
.docs-sidebar:hover::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.35);
}

.docs-sidebar-inner {
  padding: 1rem 0;
}

.docs-sidebar-header {
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--docs-border-color);
  margin-bottom: 1rem;
}

.docs-sidebar-header h4 {
  margin: 0;
  color: var(--docs-dark-color);
  font-size: 1.1rem;
  font-weight: 600;
}

.docs-nav .docs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav .docs-nav-item {
  position: relative;
}

.docs-nav .docs-nav-item.active > .docs-nav-link {
  color: var(--docs-primary-color);
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

.docs-nav .docs-nav-item.has-children > .docs-nav-link .docs-nav-toggle {
  transition: transform 0.2s;
}

.docs-nav .docs-nav-item.active.has-children > .docs-nav-link .docs-nav-toggle {
  transform: rotate(180deg);
}

.docs-nav .docs-nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: var(--docs-text-color);
  text-decoration: none;
  transition: all 0.2s;
}

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

.docs-nav .docs-nav-link i,
.docs-nav .docs-nav-link svg.docs-nav-icon {
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

.docs-nav .docs-nav-link .docs-nav-toggle {
  margin-left: auto;
}

.docs-nav .docs-nav-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.02);
  display: none;
}

.docs-nav .docs-nav-sublist.show {
  display: block;
}

.docs-nav .docs-nav-sublist .docs-nav-subitem.active .docs-nav-sublink {
  color: var(--docs-primary-color);
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

.docs-nav .docs-nav-sublist .docs-nav-sublink {
  display: block;
  padding: 0.5rem 1.5rem 0.5rem 2rem;
  color: var(--docs-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.docs-nav .docs-nav-sublist .docs-nav-sublink:hover {
  color: var(--docs-primary-color);
  background: rgba(59, 130, 246, 0.05);
}

/* =============================================
   Right Sidebar TOC (On this page)
   ============================================= */
.docs-main-layout {
  display: flex;
  gap: 0;
}

.docs-main-body {
  flex: 1;
  min-width: 0;
}

.docs-right-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: relative;
  display: none;
}

.docs-right-sidebar.has-toc {
  display: block;
}

.docs-right-sidebar-inner {
  position: sticky;
  top: calc(var(--docs-header-height) + 1.5rem);
  max-height: calc(100vh - var(--docs-header-height) - 3rem);
  overflow-y: auto;
  padding: 0 1rem 1rem 0.5rem;
}

.docs-page-toc {
  border-left: 2px solid var(--docs-border-color);
  padding-left: 1rem;
}

.docs-page-toc h5 {
  margin: 0 0 0.75rem;
  color: var(--docs-primary-color);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.docs-page-toc .docs-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-page-toc .docs-toc-list .docs-toc-item {
  margin-bottom: 0.125rem;
}

.docs-page-toc .docs-toc-list .docs-toc-item.docs-toc-level-1 .docs-toc-link {
  font-weight: 600;
}

.docs-page-toc .docs-toc-list .docs-toc-item.docs-toc-level-3 .docs-toc-link {
  padding-left: 0.75rem;
}

.docs-page-toc .docs-toc-list .docs-toc-item.docs-toc-level-4 .docs-toc-link {
  padding-left: 1.5rem;
}

.docs-page-toc .docs-toc-list .docs-toc-item.docs-toc-level-5 .docs-toc-link {
  padding-left: 2.25rem;
}

.docs-page-toc .docs-toc-list .docs-toc-link {
  display: block;
  padding: 0.25rem 0;
  color: var(--docs-text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.5;
  transition: color 0.2s;
  border-left: 2px solid transparent;
  margin-left: -1.125rem;
  padding-left: 0.875rem;
}

.docs-page-toc .docs-toc-list .docs-toc-link:hover {
  color: var(--docs-primary-color);
}

.docs-page-toc .docs-toc-list .docs-toc-link.active {
  color: var(--docs-primary-color);
  border-left-color: var(--docs-primary-color);
  font-weight: 500;
}

/* =============================================
   Content Toolbar (Xem Markdown, Copy, AI)
   ============================================= */
.docs-content-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--docs-border-color);
}

.docs-content-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.docs-content-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.docs-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #fff;
  border: 1px solid var(--docs-border-color);
  border-radius: 6px;
  color: var(--docs-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.docs-toolbar-btn:hover {
  color: var(--docs-primary-color);
  border-color: var(--docs-primary-color);
  background: rgba(59, 130, 246, 0.04);
}

.docs-toolbar-btn svg {
  flex-shrink: 0;
}

.docs-toolbar-btn-primary {
  background: var(--docs-primary-color);
  color: #fff;
  border-color: var(--docs-primary-color);
}

.docs-toolbar-btn-primary:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.docs-toolbar-btn-primary .docs-dropdown-arrow {
  margin-left: 0.125rem;
}

.docs-toolbar-btn.copied {
  color: var(--docs-success-color);
  border-color: var(--docs-success-color);
}

/* Dropdown */
.docs-toolbar-dropdown {
  position: relative;
}

.docs-toolbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s;
}

.docs-toolbar-dropdown.open .docs-toolbar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.docs-toolbar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  color: var(--docs-text-color);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s;
}

.docs-toolbar-dropdown-item:hover {
  background: var(--docs-light-color);
  text-decoration: none;
  color: var(--docs-text-color);
}

.docs-toolbar-dropdown-item img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.docs-toolbar-dropdown-item span {
  flex: 1;
}

.docs-toolbar-dropdown-item .docs-external-icon {
  color: var(--docs-text-muted);
  flex-shrink: 0;
}

.docs-toolbar-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.docs-toolbar-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.docs-toolbar-dropdown-item + .docs-toolbar-dropdown-item {
  border-top: 1px solid var(--docs-border-color);
}

.docs-content {
  flex: 1;
  margin-left: var(--docs-sidebar-width);
  min-height: calc(100vh - var(--docs-header-height));
  display: flex;
  flex-direction: column;
}

.docs-content.docs-content--full {
  margin-left: 0;
}

.docs-main {
  flex: 1;
  padding: 2rem 0;
}

.docs-breadcrumb {
  background: var(--docs-light-color);
  border-bottom: 1px solid var(--docs-border-color);
  padding: 1rem 0;
}

.docs-breadcrumb .breadcrumb {
  margin: 0;
  background: none;
  padding: 0;
}

.docs-breadcrumb .breadcrumb .breadcrumb-item {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.docs-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--docs-text-muted);
  text-decoration: none;
}

.docs-breadcrumb .breadcrumb .breadcrumb-item a:hover {
  color: var(--docs-primary-color);
}

.docs-breadcrumb .breadcrumb .breadcrumb-item.active {
  color: var(--docs-text-color);
}

.docs-breadcrumb .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--docs-text-muted);
  margin: 0 0.5rem;
}

.docs-page-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.docs-article .docs-article-header,
.docs-article .docs-page-header,
.docs-page .docs-article-header,
.docs-page .docs-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--docs-border-color);
}

.docs-article .docs-article-title,
.docs-article .docs-page-title,
.docs-page .docs-article-title,
.docs-page .docs-page-title {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--docs-dark-color);
}

.docs-article .docs-article-description,
.docs-article .docs-page-description,
.docs-page .docs-article-description,
.docs-page .docs-page-description {
  font-size: 1.125rem;
  color: var(--docs-text-muted);
  margin-bottom: 1rem;
}

.docs-article .docs-article-meta,
.docs-page .docs-article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--docs-text-muted);
}

.docs-article .docs-article-meta span,
.docs-page .docs-article-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.docs-article .docs-article-content,
.docs-article .docs-page-content,
.docs-page .docs-article-content,
.docs-page .docs-page-content {
  font-size: 1rem;
  line-height: 1.7;
}

.docs-article .docs-article-content h1,
.docs-article .docs-article-content h2,
.docs-article .docs-article-content h3,
.docs-article .docs-article-content h4,
.docs-article .docs-article-content h5,
.docs-article .docs-article-content h6,
.docs-article .docs-page-content h1,
.docs-article .docs-page-content h2,
.docs-article .docs-page-content h3,
.docs-article .docs-page-content h4,
.docs-article .docs-page-content h5,
.docs-article .docs-page-content h6,
.docs-page .docs-article-content h1,
.docs-page .docs-article-content h2,
.docs-page .docs-article-content h3,
.docs-page .docs-article-content h4,
.docs-page .docs-article-content h5,
.docs-page .docs-article-content h6,
.docs-page .docs-page-content h1,
.docs-page .docs-page-content h2,
.docs-page .docs-page-content h3,
.docs-page .docs-page-content h4,
.docs-page .docs-page-content h5,
.docs-page .docs-page-content h6 {
  margin: 2rem 0 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--docs-dark-color);
}

.docs-article .docs-article-content h1:first-child,
.docs-article .docs-article-content h2:first-child,
.docs-article .docs-article-content h3:first-child,
.docs-article .docs-article-content h4:first-child,
.docs-article .docs-article-content h5:first-child,
.docs-article .docs-article-content h6:first-child,
.docs-article .docs-page-content h1:first-child,
.docs-article .docs-page-content h2:first-child,
.docs-article .docs-page-content h3:first-child,
.docs-article .docs-page-content h4:first-child,
.docs-article .docs-page-content h5:first-child,
.docs-article .docs-page-content h6:first-child,
.docs-page .docs-article-content h1:first-child,
.docs-page .docs-article-content h2:first-child,
.docs-page .docs-article-content h3:first-child,
.docs-page .docs-article-content h4:first-child,
.docs-page .docs-article-content h5:first-child,
.docs-page .docs-article-content h6:first-child,
.docs-page .docs-page-content h1:first-child,
.docs-page .docs-page-content h2:first-child,
.docs-page .docs-page-content h3:first-child,
.docs-page .docs-page-content h4:first-child,
.docs-page .docs-page-content h5:first-child,
.docs-page .docs-page-content h6:first-child {
  margin-top: 0;
}

.docs-article .docs-article-content h1,
.docs-article .docs-page-content h1,
.docs-page .docs-article-content h1,
.docs-page .docs-page-content h1 {
  font-size: 2.25rem;
}

.docs-article .docs-article-content h2,
.docs-article .docs-page-content h2,
.docs-page .docs-article-content h2,
.docs-page .docs-page-content h2 {
  font-size: 1.875rem;
}

.docs-article .docs-article-content h3,
.docs-article .docs-page-content h3,
.docs-page .docs-article-content h3,
.docs-page .docs-page-content h3 {
  font-size: 1.5rem;
}

.docs-article .docs-article-content h4,
.docs-article .docs-page-content h4,
.docs-page .docs-article-content h4,
.docs-page .docs-page-content h4 {
  font-size: 1.25rem;
}

.docs-article .docs-article-content h5,
.docs-article .docs-page-content h5,
.docs-page .docs-article-content h5,
.docs-page .docs-page-content h5 {
  font-size: 1.125rem;
}

.docs-article .docs-article-content h6,
.docs-article .docs-page-content h6,
.docs-page .docs-article-content h6,
.docs-page .docs-page-content h6 {
  font-size: 1rem;
}

.docs-article .docs-article-content p,
.docs-article .docs-page-content p,
.docs-page .docs-article-content p,
.docs-page .docs-page-content p {
  margin: 1rem 0;
}

.docs-article .docs-article-content a,
.docs-article .docs-page-content a,
.docs-page .docs-article-content a,
.docs-page .docs-page-content a {
  color: var(--docs-primary-color);
  text-decoration: none;
}

.docs-article .docs-article-content a:hover,
.docs-article .docs-page-content a:hover,
.docs-page .docs-article-content a:hover,
.docs-page .docs-page-content a:hover {
  text-decoration: underline;
}

.docs-article .docs-article-content a.external-link::after,
.docs-article .docs-page-content a.external-link::after,
.docs-page .docs-article-content a.external-link::after,
.docs-page .docs-page-content a.external-link::after {
  content: "↗";
  margin-left: 0.25rem;
  font-size: 0.875rem;
}

.docs-article .docs-article-content ul,
.docs-article .docs-article-content ol,
.docs-article .docs-page-content ul,
.docs-article .docs-page-content ol,
.docs-page .docs-article-content ul,
.docs-page .docs-article-content ol,
.docs-page .docs-page-content ul,
.docs-page .docs-page-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.docs-article .docs-article-content ul li,
.docs-article .docs-article-content ol li,
.docs-article .docs-page-content ul li,
.docs-article .docs-page-content ol li,
.docs-page .docs-article-content ul li,
.docs-page .docs-article-content ol li,
.docs-page .docs-page-content ul li,
.docs-page .docs-page-content ol li {
  margin: 0.5rem 0;
}

.docs-article .docs-article-content blockquote,
.docs-article .docs-page-content blockquote,
.docs-page .docs-article-content blockquote,
.docs-page .docs-page-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--docs-primary-color);
  background: var(--docs-light-color);
  font-style: italic;
}

.docs-article .docs-article-content blockquote p:first-child,
.docs-article .docs-page-content blockquote p:first-child,
.docs-page .docs-article-content blockquote p:first-child,
.docs-page .docs-page-content blockquote p:first-child {
  margin-top: 0;
}

.docs-article .docs-article-content blockquote p:last-child,
.docs-article .docs-page-content blockquote p:last-child,
.docs-page .docs-article-content blockquote p:last-child,
.docs-page .docs-page-content blockquote p:last-child {
  margin-bottom: 0;
}

.docs-article .docs-article-content table,
.docs-article .docs-page-content table,
.docs-page .docs-article-content table,
.docs-page .docs-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

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

.docs-article .docs-article-content table th,
.docs-article .docs-page-content table th,
.docs-page .docs-article-content table th,
.docs-page .docs-page-content table th {
  background: var(--docs-light-color);
  font-weight: 600;
  color: var(--docs-dark-color);
}

.docs-article .docs-article-content img,
.docs-article .docs-page-content img,
.docs-page .docs-article-content img,
.docs-page .docs-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}

.docs-article .docs-article-tags,
.docs-page .docs-article-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--docs-border-color);
}

.docs-article .docs-article-tags .docs-tags-label,
.docs-page .docs-article-tags .docs-tags-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--docs-text-color);
  margin-right: 0.5rem;
}

.docs-article .docs-article-tags .docs-tag,
.docs-page .docs-article-tags .docs-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem;
  background: var(--docs-light-color);
  color: var(--docs-text-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.docs-article .docs-article-tags .docs-tag:hover,
.docs-page .docs-article-tags .docs-tag:hover {
  background: var(--docs-primary-color);
  color: white;
}

.docs-tag-page .docs-category-header .docs-category-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

pre {
  position: relative;
  background: #f8f9fa;
  border: 1px solid var(--docs-border-color);
  border-radius: 6px;
  padding: 1rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}

pre.docs-code-processed {
  padding-top: 2.5rem;
}

pre code {
  font-family: var(--docs-code-font);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--docs-text-color);
  background: none;
  padding: 0;
  border: none;
}

code {
  font-family: var(--docs-code-font);
  font-size: 0.875rem;
  background: var(--docs-light-color);
  color: var(--docs-danger-color);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  border: 1px solid var(--docs-border-color);
}

.docs-code-copy {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--docs-primary-color);
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.docs-code-copy:hover {
  background: #2563eb;
}

/* ====================================================================
   Page Navigation (Previous / Next) - Card-style bottom navigation
   ==================================================================== */
.docs-page-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--docs-border-color);
}

.docs-page-navigation__container {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.docs-page-navigation__item {
  flex: 1;
  min-width: 0;
}

.docs-page-navigation__item--previous {
  display: flex;
  justify-content: flex-start;
}

.docs-page-navigation__item--next {
  display: flex;
  justify-content: flex-end;
}

/* Navigation link card */
.docs-page-navigation__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--docs-border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--docs-text-color);
  background-color: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  cursor: pointer;
}

.docs-page-navigation__link--previous {
  flex-direction: row;
  justify-content: flex-start;
}

.docs-page-navigation__link--next {
  flex-direction: row;
  text-align: right;
  justify-content: flex-end;
}

.docs-page-navigation__link--next .docs-page-navigation__content {
  align-items: flex-end;
}

/* Hover and focus states for active links */
a.docs-page-navigation__link:hover {
  border-color: var(--docs-primary-color);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

a.docs-page-navigation__link:focus-visible {
  outline: 2px solid var(--docs-primary-color);
  outline-offset: 2px;
}

/* Disabled state (no previous/next available) */
.docs-page-navigation__link--disabled {
  cursor: default;
  opacity: 0.45;
  border-style: dashed;
}

/* Arrow icon container */
.docs-page-navigation__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--docs-text-muted);
  transition: color 0.25s ease, background-color 0.25s ease;
}

a.docs-page-navigation__link:hover .docs-page-navigation__arrow {
  color: var(--docs-primary-color);
  background-color: rgba(59, 130, 246, 0.08);
}

/* Content area (label + title) */
.docs-page-navigation__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

/* Label: "TRƯỚC" / "TIẾP THEO" */
.docs-page-navigation__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--docs-text-muted);
}

/* Page title */
.docs-page-navigation__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--docs-dark-color);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.docs-page-navigation__link:hover .docs-page-navigation__title {
  color: var(--docs-primary-color);
}

/* Empty title placeholder (dash) */
.docs-page-navigation__title--empty {
  font-weight: 400;
  color: var(--docs-text-muted);
}

.docs-home .docs-hero {
  background: linear-gradient(135deg, var(--docs-primary-color), #6366f1);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.docs-home .docs-hero .docs-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.docs-home .docs-hero .docs-hero-description {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.docs-home .docs-hero .docs-hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.docs-home .docs-hero .docs-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.docs-home .docs-hero .docs-hero-actions .btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.docs-home .docs-hero .docs-hero-actions .btn.btn-primary {
  background: white;
  color: var(--docs-primary-color);
}

.docs-home .docs-hero .docs-hero-actions .btn.btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.docs-home .docs-hero .docs-hero-actions .btn.btn-outline-primary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.docs-home .docs-hero .docs-hero-actions .btn.btn-outline-primary:hover {
  background: white;
  color: var(--docs-primary-color);
  transform: translateY(-2px);
}

.docs-home .docs-features {
  padding: 4rem 0;
}

.docs-home .docs-features .item-card {
  padding: 0.5rem;
  background: white;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  width: calc((100% - 20px) / 3);
}

.docs-home .docs-features .docs-feature-card {
  text-align: center;
  padding: 2rem 1rem;
  text-decoration: none;
}

.docs-home .docs-features .docs-feature-card .docs-feature-badge {
  background-color: #cb2134;
  color: #fff;
  padding: 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.docs-home .docs-features .docs-feature-card .docs-feature-icon {
  font-size: 2.5rem;
  color: var(--docs-primary-color);
  margin-bottom: 1rem;
}

.docs-home .docs-features .docs-feature-card .docs-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-home .docs-features .docs-feature-card .docs-feature-description {
  color: var(--docs-text-muted);
  line-height: 1.6;
}

.docs-home .docs-categories {
  background: var(--docs-light-color);
  padding: 4rem 0;
}

.docs-home .docs-categories .docs-category-card {
  background: white;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: all 0.2s;
}

.docs-home .docs-categories .docs-category-card:hover {
  border-color: var(--docs-primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.docs-home .docs-categories .docs-category-card .docs-category-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.docs-home .docs-categories .docs-category-card .docs-category-icon {
  font-size: 2rem;
  color: var(--docs-primary-color);
  margin-bottom: 1rem;
}

.docs-home .docs-categories .docs-category-card .docs-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-home .docs-categories .docs-category-card .docs-category-description {
  color: var(--docs-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.docs-home .docs-categories .docs-category-card .docs-category-count {
  font-size: 0.875rem;
  color: var(--docs-primary-color);
  font-weight: 500;
}

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

.docs-category .docs-category-header .docs-category-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-category .docs-category-header .docs-category-description {
  font-size: 1.125rem;
  color: var(--docs-text-muted);
}

.docs-category .docs-posts-list .docs-post-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.docs-category .docs-posts-list .docs-post-item:hover {
  border-color: var(--docs-primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content {
  flex: 1;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content .docs-post-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content .docs-post-title a {
  color: var(--docs-dark-color);
  text-decoration: none;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content .docs-post-title a:hover {
  color: var(--docs-primary-color);
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content .docs-post-description {
  color: var(--docs-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content .docs-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--docs-text-muted);
}

.docs-category .docs-posts-list .docs-post-item .docs-post-content .docs-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-arrow {
  margin-left: 1rem;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-arrow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--docs-light-color);
  color: var(--docs-text-muted);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s;
}

.docs-category .docs-posts-list .docs-post-item .docs-post-arrow a:hover {
  background: var(--docs-primary-color);
  color: white;
}

/* Category count info */
.docs-category-count-info {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--docs-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.docs-category-count-info span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Load More Button */
.docs-load-more {
  text-align: center;
  padding: 1.5rem 0;
}

.docs-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px dashed var(--docs-border-color);
  border-radius: 8px;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--docs-primary-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.docs-load-more-btn:hover {
  background: rgba(59, 130, 246, 0.04);
  border-color: var(--docs-primary-color);
  border-style: solid;
}

.docs-load-more-btn.loading {
  opacity: 0.7;
  cursor: wait;
}

.docs-load-more-btn.loading svg {
  animation: spin 1s linear infinite;
}

.docs-load-more-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.docs-load-more-btn:hover svg {
  transform: translateY(2px);
}

.docs-load-more-info {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--docs-text-muted);
}

/* Post item fade-in animation for load more */
.docs-post-item--fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.docs-post-item--fade-in.docs-post-item--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hidden post items (for client-side load more in AJAX content) */
.docs-category .docs-posts-list .docs-post-item--hidden {
  display: none;
}

.docs-search-results .docs-search-header {
  margin-bottom: 2rem;
}

.docs-search-results .docs-search-header .docs-search-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-search-results .docs-search-header .docs-search-info {
  margin-bottom: 1rem;
  color: var(--docs-text-muted);
}

.docs-search-results .docs-search-header .docs-search-form-wrapper {
  margin-bottom: 2rem;
}

.docs-search-results .docs-search-header .docs-search-form-wrapper .docs-search-form {
  max-width: 500px;
}

.docs-search-results .docs-search-header .docs-search-form-wrapper .docs-search-form .input-group {
  display: flex;
}

.docs-search-results .docs-search-header .docs-search-form-wrapper .docs-search-form .input-group .form-control {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--docs-border-color);
  border-radius: 6px 0 0 6px;
  font-size: 1rem;
}

.docs-search-results .docs-search-header .docs-search-form-wrapper .docs-search-form .input-group .form-control:focus {
  outline: none;
  border-color: var(--docs-primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.docs-search-results .docs-search-header .docs-search-form-wrapper .docs-search-form .input-group .btn {
  padding: 0.75rem 1.5rem;
  background: var(--docs-primary-color);
  color: white;
  border: 1px solid var(--docs-primary-color);
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.docs-search-results .docs-search-header .docs-search-form-wrapper .docs-search-form .input-group .btn:hover {
  background: #2563eb;
}

.docs-search-results .docs-search-list .docs-search-item {
  padding: 1.5rem;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-item-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-item-title a {
  color: var(--docs-dark-color);
  text-decoration: none;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-item-title a:hover {
  color: var(--docs-primary-color);
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-categories {
  margin-bottom: 0.5rem;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-categories .docs-search-category {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--docs-light-color);
  color: var(--docs-primary-color);
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-categories .docs-search-category:hover {
  background: var(--docs-primary-color);
  color: white;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-description {
  color: var(--docs-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--docs-text-muted);
}

.docs-search-results .docs-search-list .docs-search-item .docs-search-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.docs-search-results .docs-search-empty {
  text-align: center;
  padding: 3rem 0;
}

.docs-search-results .docs-search-empty .docs-empty-icon {
  font-size: 4rem;
  color: var(--docs-text-muted);
  margin-bottom: 1rem;
}

.docs-search-results .docs-search-empty h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-search-results .docs-search-empty p {
  color: var(--docs-text-muted);
  margin-bottom: 2rem;
}

.docs-search-results .docs-search-empty .docs-search-suggestions {
  margin-top: 2rem;
}

.docs-search-results .docs-search-empty .docs-search-suggestions h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-search-results .docs-search-empty .docs-search-suggestions .docs-category-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.docs-search-results .docs-search-empty .docs-search-suggestions .docs-category-links .docs-category-link {
  padding: 0.5rem 1rem;
  background: var(--docs-light-color);
  color: var(--docs-text-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.docs-search-results .docs-search-empty .docs-search-suggestions .docs-category-links .docs-category-link:hover {
  background: var(--docs-primary-color);
  color: white;
}

.docs-error-page {
  padding: 4rem 0;
  text-align: center;
}

.docs-error-page .docs-error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--docs-primary-color);
  margin-bottom: 1rem;
  line-height: 1;
}

.docs-error-page .docs-error-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-error-page .docs-error-description {
  font-size: 1.125rem;
  color: var(--docs-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.docs-error-page .docs-error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.docs-error-page .docs-error-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.docs-error-page .docs-error-actions .btn.btn-primary {
  background: var(--docs-primary-color);
  color: white;
}

.docs-error-page .docs-error-actions .btn.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.docs-error-page .docs-error-actions .btn.btn-outline-primary {
  background: transparent;
  color: var(--docs-primary-color);
  border: 2px solid var(--docs-primary-color);
}

.docs-error-page .docs-error-actions .btn.btn-outline-primary:hover {
  background: var(--docs-primary-color);
  color: white;
  transform: translateY(-2px);
}

.docs-error-page .docs-error-search {
  max-width: 400px;
  margin: 0 auto;
}

.docs-error-page .docs-error-search h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--docs-dark-color);
}

.docs-footer {
  background: var(--docs-light-color);
  border-top: 1px solid var(--docs-border-color);
  padding: 2rem 0;
  margin-left: var(--docs-sidebar-width);
  margin-top: auto;
}

.docs-footer.docs-footer--not-home {
  margin-left: 0;
}

.docs-footer .docs-footer-text {
  margin: 0;
  color: var(--docs-text-muted);
  font-size: 0.875rem;
}

.docs-footer .docs-footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.docs-footer .docs-footer-social .docs-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--docs-border-color);
  color: var(--docs-text-muted);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s;
}

.docs-footer .docs-footer-social .docs-social-link:hover {
  background: var(--docs-primary-color);
  color: white;
}

.docs-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.docs-pagination .pagination {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-pagination .pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: white;
  color: var(--docs-text-color);
  border: 1px solid var(--docs-border-color);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.docs-pagination .pagination .page-item .page-link:hover {
  background: var(--docs-light-color);
  border-color: var(--docs-primary-color);
}

.docs-pagination .pagination .page-item.active .page-link {
  background: var(--docs-primary-color);
  color: white;
  border-color: var(--docs-primary-color);
}

.docs-pagination .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.docs-pagination .pagination .page-item.disabled .page-link:hover {
  background: white;
  border-color: var(--docs-border-color);
}

@media (max-width: 1200px) {
  .docs-right-sidebar {
    width: 200px;
  }
}
@media (max-width: 992px) {
  .docs-right-sidebar,
  .docs-right-sidebar.has-toc {
    display: none !important;
  }
  .docs-main-layout {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .docs-mobile-toggle {
    display: flex;
  }
  .docs-header-right {
    gap: 0.5rem;
  }
  .docs-search-trigger-wrap {
    width: 180px;
  }
  .docs-search-shortcut {
    display: none;
  }
  .docs-search-modal-container {
    margin: 0 0.75rem;
    max-height: 80vh;
  }
  .docs-top-nav {
    display: none;
  }
  .docs-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .docs-sidebar.active {
    transform: translateX(0);
  }
  .docs-content {
    margin-left: 0;
    width: 100%;
  }
  .docs-page-content {
    padding: 0 1rem;
  }
  .docs-right-sidebar,
  .docs-right-sidebar.has-toc {
    display: none !important;
  }
  .docs-content-toolbar {
    flex-wrap: wrap;
  }
  .docs-toolbar-btn span {
    display: none;
  }
  .docs-toolbar-btn-primary span {
    display: inline;
  }
  .docs-home .docs-hero {
    padding: 2rem 0;
  }
  .docs-home .docs-hero .docs-hero-title {
    font-size: 2rem;
  }
  .docs-home .docs-hero .docs-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .docs-home .docs-features,
  .docs-home .docs-categories {
    padding: 2rem 0;
  }
  .docs-article-title,
  .docs-page-title,
  .docs-category-title,
  .docs-search-title {
    font-size: 1.75rem;
  }
  .docs-error-page {
    padding: 2rem 0;
  }
  .docs-error-page .docs-error-code {
    font-size: 4rem;
  }
  .docs-error-page .docs-error-title {
    font-size: 1.5rem;
  }
  .docs-error-page .docs-error-actions {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .docs-search-trigger-wrap {
    width: 44px;
    padding: 0.4375rem;
    justify-content: center;
    cursor: pointer;
    border-color: transparent;
  }
  .docs-search-trigger-wrap .docs-search-input {
    display: none;
  }
  .docs-search-modal {
    padding-top: 5vh;
  }
  .docs-hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .docs-page-navigation__container {
    flex-direction: column;
    gap: 0.75rem;
  }
  .docs-page-navigation__link {
    padding: 1rem 1.25rem;
  }
  .docs-page-navigation__link--next {
    text-align: left;
  }
  .docs-page-navigation__link--next .docs-page-navigation__content {
    align-items: flex-start;
  }
}
.docs-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
body.docs-mobile-menu-open {
  overflow: hidden;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader .preloader-inner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--docs-primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-end {
  text-align: right;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-none {
  display: none;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.docs-nav-toggle {
  transition: transform 0.3s ease;
  margin-left: auto;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--docs-text-muted);
  cursor: pointer;
}

.docs-nav-toggle.rotated {
  transform: rotate(180deg);
}

.docs-nav-toggle:hover {
  color: var(--docs-primary-color);
}

.docs-nav-item.has-children > .docs-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-nav-item.has-children > .docs-nav-link .docs-nav-title {
  flex: 1;
}

.docs-nav-item.expanded > .docs-nav-sublist {
  display: block;
}

.docs-nav-subitem.has-children > .docs-nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-nav-subitem.has-children > .docs-nav-sublink .docs-nav-subtitle {
  flex: 1;
}

.docs-nav-subitem.has-children > .docs-nav-sublink .docs-nav-toggle {
  width: 12px;
  height: 12px;
}

.docs-nav-subitem.expanded > .docs-nav-sublist {
  display: block;
}

.docs-nav-sublist.level-2 {
  margin-left: 1rem;
}

.docs-nav-sublist.level-2 .docs-nav-sublink {
  padding-left: 1rem;
  font-size: 0.875rem;
}

.docs-nav-sublist.level-3 {
  margin-left: 1.5rem;
}

.docs-nav-sublist.level-3 .docs-nav-sublink {
  padding-left: 1.5rem;
  font-size: 0.8125rem;
}

.docs-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.docs-loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--docs-border-color);
  border-top: 3px solid var(--docs-primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.docs-loading-spinner p {
  color: var(--docs-text-muted);
  margin: 0;
  font-size: 0.875rem;
}

.docs-main-content.loading,
.docs-article-content.loading,
.docs-page-content.loading {
  position: relative;
  min-height: 200px;
}

.docs-main-content.loading > *:not(.docs-loading-spinner),
.docs-article-content.loading > *:not(.docs-loading-spinner),
.docs-page-content.loading > *:not(.docs-loading-spinner) {
  opacity: 0.5;
  pointer-events: none;
}

.docs-error {
  text-align: center;
  padding: 3rem 1rem;
}

.docs-error h3 {
  color: var(--docs-danger-color);
  margin-bottom: 1rem;
}

.docs-error p {
  color: var(--docs-text-muted);
  margin-bottom: 2rem;
}

.docs-error .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--docs-primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.docs-error .btn:hover {
  background: #2563eb;
}

.docs-nav-link,
.docs-nav-sublink {
  position: relative;
  transition: all 0.2s ease;
}

.docs-nav-link.active,
.docs-nav-sublink.active {
  color: var(--docs-primary-color);
  background-color: rgba(59, 130, 246, 0.1);
}

.docs-nav-link.active::before,
.docs-nav-sublink.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--docs-primary-color);
}

.docs-nav-link:hover,
.docs-nav-sublink:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.docs-nav-sublist {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.docs-nav-sublist:not(.show) {
  display: none;
}

.docs-nav-sublist.show {
  display: block;
}

.docs-nav-item.loading > .docs-nav-link,
.docs-nav-item.loading > .docs-nav-sublink,
.docs-nav-subitem.loading > .docs-nav-link,
.docs-nav-subitem.loading > .docs-nav-sublink {
  position: relative;
}

.docs-nav-item.loading > .docs-nav-link::after,
.docs-nav-item.loading > .docs-nav-sublink::after,
.docs-nav-subitem.loading > .docs-nav-link::after,
.docs-nav-subitem.loading > .docs-nav-sublink::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid transparent;
  border-top: 2px solid var(--docs-primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.docs-nav-item.loading > .docs-nav-link .docs-nav-toggle,
.docs-nav-item.loading > .docs-nav-sublink .docs-nav-toggle,
.docs-nav-subitem.loading > .docs-nav-link .docs-nav-toggle,
.docs-nav-subitem.loading > .docs-nav-sublink .docs-nav-toggle {
  opacity: 0;
}

.docs-nav-subitem.docs-nav-category > .docs-nav-sublink {
  font-weight: 500;
}

.docs-nav-subitem.docs-nav-category > .docs-nav-sublink::before {
  content: "📁";
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

.docs-nav-subitem.docs-nav-post > .docs-nav-sublink::before {
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .docs-nav-toggle {
    width: 16px;
    height: 16px;
    padding: 0.125rem;
  }
  .docs-loading-spinner {
    padding: 2rem 1rem;
  }
  .docs-loading-spinner .spinner {
    width: 30px;
    height: 30px;
  }
}
/* Additional category page styles */
.docs-category-header .docs-category-image {
  margin-top: 1rem;
}

.docs-category-header .docs-category-image img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.docs-post-tags {
  margin-top: 0.5rem;
}

.docs-tag-small {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--docs-light-color);
  color: var(--docs-text-muted);
  border-radius: 12px;
  font-size: 0.75rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.docs-post-updated {
  font-size: 0.875rem;
  color: var(--docs-text-muted);
}

.docs-category-parent {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--docs-border-color);
}

.docs-category-parent p {
  margin: 0;
  color: var(--docs-text-muted);
  font-size: 0.875rem;
}

.docs-category-parent p a {
  color: var(--docs-primary-color);
  text-decoration: none;
  font-weight: 500;
}

.docs-category-parent p a:hover {
  text-decoration: underline;
}

.docs-empty-actions {
  margin-top: 1rem;
}

.docs-empty-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--docs-primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.docs-empty-actions .btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* AJAX loading states */
.docs-content.loading {
  opacity: 0.6;
  pointer-events: none;
}

.docs-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

/* Enhanced breadcrumb for AJAX */
.docs-breadcrumb .breadcrumb .breadcrumb-item a.ajax-link {
  color: var(--docs-primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.docs-breadcrumb .breadcrumb .breadcrumb-item a.ajax-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* =============================================
   Language Switcher (docs-lang-switcher)
   ============================================= */
.docs-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.docs-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 1px solid var(--docs-border-color);
  border-radius: 8px;
  padding: 0.375rem 0.625rem;
  cursor: pointer;
  color: var(--docs-text-color);
  transition: all 0.2s;
}

.docs-lang-trigger:hover {
  border-color: var(--docs-primary-color);
  background: rgba(59, 130, 246, 0.04);
}

.docs-lang-trigger img.flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.docs-lang-chevron {
  width: 14px;
  height: 14px;
  color: var(--docs-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.docs-lang-switcher.open .docs-lang-chevron {
  transform: rotate(180deg);
}

.docs-lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1000;
  padding: 0.5rem 0;
}

.docs-lang-switcher.open .docs-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.docs-lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-lang-item {
  margin: 0;
}

.docs-lang-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  color: var(--docs-text-color);
  text-decoration: none;
  transition: background 0.15s;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
}

.docs-lang-link:hover {
  background: var(--docs-light-color);
  text-decoration: none;
  color: var(--docs-text-color);
}

.docs-lang-link img.flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.docs-lang-name {
  flex: 1;
  white-space: nowrap;
}

.docs-lang-check {
  width: 16px;
  height: 16px;
  color: var(--docs-primary-color);
  flex-shrink: 0;
}

.docs-lang-item.active .docs-lang-link {
  font-weight: 500;
}

/* =========================================================================
 * Feedback Widget
 * ========================================================================= */
.docs-feedback {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f4f8 100%);
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 12px;
}

.docs-feedback-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.docs-feedback-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--docs-text-color, #374151);
}

.docs-feedback-buttons {
  display: flex;
  gap: 0.5rem;
}

.docs-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docs-text-color, #374151);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.docs-feedback-btn:hover {
  border-color: var(--docs-primary-color, #3b82f6);
  color: var(--docs-primary-color, #3b82f6);
  background: rgba(59, 130, 246, 0.04);
}

.docs-feedback-btn.active.docs-feedback-btn--like {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.docs-feedback-btn.active.docs-feedback-btn--dislike {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.docs-feedback-btn svg {
  flex-shrink: 0;
}

.docs-feedback-comment {
  margin-top: 1rem;
  animation: fadeInDown 0.25s ease;
}

.docs-feedback-textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--docs-text-color, #374151);
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.docs-feedback-textarea:focus {
  outline: none;
  border-color: var(--docs-primary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.docs-feedback-textarea::placeholder {
  color: var(--docs-text-muted, #9ca3af);
}

.docs-feedback-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.docs-feedback-submit {
  padding: 0.5rem 1.25rem;
  background: var(--docs-primary-color, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.docs-feedback-submit:hover {
  background: #2563eb;
}

.docs-feedback-result {
  animation: fadeInDown 0.25s ease;
}

.docs-feedback-thanks {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #10b981;
  font-weight: 500;
}

.docs-feedback-thanks svg {
  flex-shrink: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================================
 * Sidebar FAQ Link
 * ========================================================================= */
.docs-sidebar-faq {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--docs-border-color, #e5e7eb);
}

.docs-sidebar-faq-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  color: var(--docs-text-color, #374151);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.docs-sidebar-faq-link:hover {
  background: rgba(59, 130, 246, 0.06);
  color: var(--docs-primary-color, #3b82f6);
  text-decoration: none;
}

.docs-sidebar-faq-link.active {
  background: rgba(59, 130, 246, 0.08);
  color: var(--docs-primary-color, #3b82f6);
  font-weight: 600;
}

.docs-sidebar-faq-link svg {
  flex-shrink: 0;
  color: var(--docs-primary-color, #3b82f6);
}

/* =========================================================================
 * FAQ Page
 * ========================================================================= */
.docs-faq-page {
  max-width: 100%;
}

.docs-faq-header {
  margin-bottom: 2rem;
}

.docs-faq-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--docs-text-color, #1f2937);
  margin-bottom: 0.5rem;
}

.docs-faq-title svg {
  color: var(--docs-primary-color, #3b82f6);
  flex-shrink: 0;
}

.docs-faq-subtitle {
  color: var(--docs-text-muted, #6b7280);
  font-size: 1rem;
  margin: 0;
}

.docs-faq-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.docs-faq-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.875rem 1.5rem;
  background: #fff;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 10px;
  min-width: 100px;
}

.docs-faq-stat-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--docs-text-color, #1f2937);
}

.docs-faq-stat--good .docs-faq-stat-value {
  color: #10b981;
}

.docs-faq-stat--bad .docs-faq-stat-value {
  color: #ef4444;
}

.docs-faq-stat-label {
  font-size: 0.75rem;
  color: var(--docs-text-muted, #9ca3af);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* FAQ Sections */
.docs-faq-section {
  margin-bottom: 2.5rem;
}

.docs-faq-section-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--docs-text-color, #1f2937);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--docs-primary-color, #3b82f6);
}

.docs-faq-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.5rem;
  background: var(--docs-primary-color, #3b82f6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
}

.docs-faq-section-desc {
  color: var(--docs-text-muted, #6b7280);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* FAQ Items (Accordion) */
.docs-faq-questions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.docs-faq-item {
  background: #fff;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.docs-faq-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.docs-faq-item[open] {
  border-color: var(--docs-primary-color, #3b82f6);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
}

.docs-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.15s;
}

.docs-faq-question::-webkit-details-marker {
  display: none;
}

.docs-faq-question:hover {
  background: rgba(59, 130, 246, 0.02);
}

.docs-faq-question-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.docs-faq-question-icon {
  flex-shrink: 0;
  color: var(--docs-primary-color, #3b82f6);
}

.docs-faq-question-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--docs-text-color, #374151);
  line-height: 1.5;
}

.docs-faq-question-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.docs-faq-question-votes {
  display: flex;
  gap: 0.25rem;
}

.docs-faq-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--docs-text-muted, #9ca3af);
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  line-height: 1;
}

.docs-faq-vote:hover {
  background: rgba(59, 130, 246, 0.05);
}

.docs-faq-vote--like:hover,
.docs-faq-vote--like.active {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
}

.docs-faq-vote--dislike:hover,
.docs-faq-vote--dislike.active {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}

.docs-faq-vote-count {
  font-weight: 600;
}

.docs-faq-toggle-icon {
  color: var(--docs-text-muted, #9ca3af);
  transition: transform 0.2s ease;
  display: flex;
}

.docs-faq-item[open] .docs-faq-toggle-icon {
  transform: rotate(180deg);
}

/* FAQ Answer */
.docs-faq-answer {
  padding: 0 1.25rem 1.25rem 3rem;
  animation: fadeInDown 0.2s ease;
}

.docs-faq-answer-content {
  color: var(--docs-text-color, #374151);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.docs-faq-answer-content p {
  margin-bottom: 0.75rem;
}

.docs-faq-answer-content p:last-child {
  margin-bottom: 0;
}

.docs-faq-answer-content code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.8125rem;
}

.docs-faq-answer-content ul,
.docs-faq-answer-content ol {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.docs-faq-answer-content li {
  margin-bottom: 0.375rem;
}

.docs-faq-answer-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.docs-faq-answer-content th,
.docs-faq-answer-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  text-align: left;
}

.docs-faq-answer-content th {
  background: #f9fafb;
  font-weight: 600;
}

/* FAQ Hidden Items (load more / filter) */
.docs-faq-item--hidden {
  display: none !important;
}

.docs-faq-item--filtered {
  display: none !important;
}

/* Filter Bar */
.docs-faq-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 10px;
  flex-wrap: wrap;
}

.docs-faq-filters {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.docs-faq-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 20px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--docs-text-color, #374151);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.docs-faq-filter:hover {
  border-color: var(--docs-primary-color, #3b82f6);
  color: var(--docs-primary-color, #3b82f6);
}

.docs-faq-filter.active {
  background: var(--docs-primary-color, #3b82f6);
  border-color: var(--docs-primary-color, #3b82f6);
  color: #fff;
}

.docs-faq-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.375rem;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.docs-faq-filter.active .docs-faq-filter-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Save Ratings Button */
.docs-faq-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 1rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--docs-text-color, #374151);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.docs-faq-save-btn:hover {
  border-color: var(--docs-primary-color, #3b82f6);
  color: var(--docs-primary-color, #3b82f6);
}

.docs-faq-save-btn--saved {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.06);
}

.docs-faq-save-btn svg {
  flex-shrink: 0;
}

/* Load More */
.docs-faq-load-more {
  text-align: center;
  padding: 0.75rem 0;
}

.docs-faq-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  border: 1px dashed var(--docs-border-color, #d1d5db);
  border-radius: 8px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docs-primary-color, #3b82f6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.docs-faq-load-more-btn:hover {
  background: rgba(59, 130, 246, 0.04);
  border-color: var(--docs-primary-color, #3b82f6);
}

.docs-faq-load-more-btn svg {
  flex-shrink: 0;
}

.docs-faq-load-more-count {
  font-size: 0.75rem;
  color: var(--docs-text-muted, #9ca3af);
}

/* Vote Popup Modal */
.docs-vote-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  animation: docsFadeIn 0.15s ease;
}

.docs-vote-modal {
  width: 100%;
  max-width: 460px;
  margin: 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: docsSlideUp 0.2s ease;
  overflow: hidden;
}

.docs-vote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--docs-border-color, #e5e7eb);
}

.docs-vote-modal-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--docs-text-color, #1f2937);
}

.docs-vote-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  color: var(--docs-text-muted, #9ca3af);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}

.docs-vote-modal-close:hover {
  background: #f3f4f6;
  color: var(--docs-text-color, #374151);
}

.docs-vote-modal-body {
  padding: 1.25rem;
}

.docs-vote-modal-question {
  font-size: 0.875rem;
  color: var(--docs-text-muted, #6b7280);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.docs-vote-modal-type {
  margin-bottom: 1rem;
}

.docs-vote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.docs-vote-badge--like {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.docs-vote-badge--dislike {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.docs-vote-badge svg {
  flex-shrink: 0;
}

/* Vote Modal Field & Select */
.docs-vote-modal-field {
  margin-bottom: 1rem;
}

.docs-vote-modal-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--docs-text-color, #374151);
  margin-bottom: 0.375rem;
}

.docs-vote-modal-select {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--docs-text-color, #374151);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: auto;
}

.docs-vote-modal-select:focus {
  outline: none;
  border-color: var(--docs-primary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Feedback Rating Row (in widget) */
.docs-feedback-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.docs-feedback-rating-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--docs-text-muted, #6b7280);
  white-space: nowrap;
}

.docs-feedback-rating-select {
  flex: 1;
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 6px;
  background: #fff;
  font-size: 0.8125rem;
  font-family: inherit;
  color: var(--docs-text-color, #374151);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: auto;
}

.docs-feedback-rating-select:focus {
  outline: none;
  border-color: var(--docs-primary-color, #3b82f6);
}

.docs-vote-modal-textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--docs-text-color, #374151);
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.docs-vote-modal-textarea:focus {
  outline: none;
  border-color: var(--docs-primary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.docs-vote-modal-textarea::placeholder {
  color: var(--docs-text-muted, #9ca3af);
}

.docs-vote-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--docs-border-color, #e5e7eb);
  background: #f9fafb;
}

.docs-vote-modal-cancel {
  padding: 0.5rem 1rem;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docs-text-color, #374151);
  cursor: pointer;
  transition: background 0.15s;
}

.docs-vote-modal-cancel:hover {
  background: #f3f4f6;
}

.docs-vote-modal-submit {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--docs-primary-color, #3b82f6);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.docs-vote-modal-submit:hover {
  background: #2563eb;
}

.docs-vote-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes docsFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes docsSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes docsFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .docs-faq-stats {
    gap: 0.5rem;
  }
  .docs-faq-stat {
    padding: 0.75rem 1rem;
    min-width: 80px;
    flex: 1;
  }
  .docs-faq-question {
    padding: 0.875rem 1rem;
  }
  .docs-faq-answer {
    padding: 0 1rem 1rem 1rem;
  }
  .docs-faq-question-votes {
    display: none;
  }
  .docs-feedback {
    padding: 1rem 1.25rem;
    margin-top: 0;
  }
  .docs-feedback-question {
    flex-direction: column;
    align-items: flex-start;
  }
  .docs-faq-filter-bar {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .docs-faq-filters {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
  }
  .docs-faq-filters::-webkit-scrollbar {
    height: 4px;
  }
  .docs-faq-filters::-webkit-scrollbar-thumb {
    background: var(--docs-border-color);
    border-radius: 2px;
  }
  .docs-faq-filter {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .docs-vote-modal {
    max-width: calc(100vw - 2rem);
  }
}
/* =========================================================================
   Review Status - Sidebar Dots & Widget
   ========================================================================= */
.review-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 6px;
  flex-shrink: 0;
  vertical-align: middle;
}

.review-dot--ok {
  background-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.review-dot--pending {
  background-color: #eab308;
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
}

.docs-nav-link .review-dot,
.docs-nav-sublink .review-dot {
  margin-left: 5px;
  margin-right: 2px;
}

/* Review Status Widget */
.docs-review-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 12px;
  background: var(--docs-sidebar-bg, #f8f9fa);
  border: 1px solid var(--docs-border, #e5e7eb);
  border-radius: 8px;
  font-size: 13px;
}

.docs-review-widget-label {
  font-weight: 600;
  color: var(--docs-text-secondary, #64748b);
  white-space: nowrap;
}

.docs-review-widget-buttons {
  display: flex;
  gap: 4px;
}

.docs-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--docs-border, #e5e7eb);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  color: var(--docs-text-secondary, #64748b);
  transition: all 0.15s ease;
  line-height: 1;
}

.docs-review-btn:hover {
  border-color: var(--docs-primary, #3b82f6);
  color: var(--docs-primary, #3b82f6);
}

.docs-review-btn.active {
  font-weight: 600;
}

.docs-review-btn--none.active {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #475569;
}

.docs-review-btn--ok.active {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #16a34a;
}

.docs-review-btn--pending.active {
  background: #fefce8;
  border-color: #eab308;
  color: #ca8a04;
}

.docs-review-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.docs-review-dot--none {
  background: #94a3b8;
}

.docs-review-dot--ok {
  background: #22c55e;
}

.docs-review-dot--pending {
  background: #eab308;
}

.docs-review-btn-text {
  line-height: 1;
}

/* =========================================================================
   Feedback Reviews List
   ========================================================================= */
.docs-reviews {
  margin-top: 2rem;
  padding: 0;
}

.docs-reviews__header {
  margin-bottom: 1.25rem;
}

.docs-reviews__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--docs-text-color, #1e293b);
  margin: 0;
}

.docs-reviews__title svg {
  flex-shrink: 0;
  color: var(--docs-primary-color, #3b82f6);
}

.docs-reviews__count {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--docs-text-muted, #64748b);
}

.docs-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.docs-reviews__item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-left: 4px solid #d0d7e2;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  animation: docsFadeInUp 0.35s ease forwards;
}

.docs-reviews__item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left-color: #2832b9;
}

.docs-reviews__item--like {
  border-left-color: #c5d8f6;
}

.docs-reviews__item--like:hover {
  border-left-color: #2832b9;
}

.docs-reviews__item--dislike {
  border-left-color: #fcd5d5;
}

.docs-reviews__item--dislike:hover {
  border-left-color: #dc2626;
}

.docs-reviews__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2832b9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.docs-reviews__body {
  flex: 1;
  min-width: 0;
}

.docs-reviews__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.docs-reviews__author {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2832b9;
  line-height: 1.3;
}

.docs-reviews__date {
  font-size: 0.8125rem;
  color: var(--docs-text-muted, #94a3af);
  margin-top: 2px;
}

.docs-reviews__meta-left {
  min-width: 0;
}

.docs-reviews__meta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.docs-reviews__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.docs-reviews__type-badge svg {
  flex-shrink: 0;
}

.docs-reviews__type-badge--like {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.docs-reviews__type-badge--dislike {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.docs-reviews__rating-type {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--docs-text-muted, #94a3af);
  font-style: italic;
  max-width: 180px;
  text-align: right;
  line-height: 1.3;
}

.docs-reviews__comment {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--docs-text-color, #374151);
  word-break: break-word;
  white-space: pre-line;
}

.docs-reviews__load-more {
  text-align: center;
  margin-top: 0.5rem;
}

.docs-reviews__load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--docs-border-color, #e5e7eb);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docs-primary-color, #3b82f6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.docs-reviews__load-more-btn:hover {
  background: rgba(59, 130, 246, 0.04);
  border-color: var(--docs-primary-color, #3b82f6);
}

.docs-reviews__load-more-count {
  font-size: 0.8125rem;
  color: var(--docs-text-muted, #94a3af);
}

.docs-reviews__empty {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--docs-text-muted, #94a3af);
}

.docs-reviews__loading {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.docs-reviews__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--docs-primary-color, #3b82f6);
  border-radius: 50%;
  animation: docsReviewsSpin 0.7s linear infinite;
}

@keyframes docsReviewsSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes docsFadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .docs-reviews__item {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  .docs-reviews__avatar {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
  .docs-reviews__meta {
    flex-direction: column;
    gap: 0.25rem;
  }
  .docs-reviews__meta-right {
    align-items: flex-start;
  }
  .docs-home .docs-features .item-card {
    width: calc((100% - 20px) / 2);
  }
  .docs-footer {
    margin-left: 0;
  }
}
/* ============================================================
   Mobile TOC — floating button + bottom sheet
   Only visible on screens ≤ 992px (where desktop TOC is hidden)
   ============================================================ */
.docs-mobile-toc-fab,
.docs-mobile-toc-overlay,
.docs-mobile-toc-sheet {
  display: none;
}

@media (max-width: 992px) {
  /* --- Floating Action Button --- */
  .docs-mobile-toc-fab {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 1040;
    padding: 10px 16px;
    background: var(--docs-primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--docs-font-family);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .docs-mobile-toc-fab:active {
    transform: scale(0.95);
  }
  .docs-mobile-toc-fab svg {
    flex-shrink: 0;
  }
  .docs-mobile-toc-fab.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
  }
  /* --- Overlay --- */
  .docs-mobile-toc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1049;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .docs-mobile-toc-overlay.is-visible {
    display: block;
    opacity: 1;
  }
  /* --- Bottom Sheet --- */
  .docs-mobile-toc-sheet {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    max-height: 65vh;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
  }
  .docs-mobile-toc-sheet.is-open {
    transform: translateY(0);
  }
  /* Header */
  .docs-mobile-toc-sheet__header {
    display: flex;
    align-items: center;
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--docs-border-color);
    position: relative;
  }
  .docs-mobile-toc-sheet__handle {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
  }
  .docs-mobile-toc-sheet__title {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--docs-dark-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .docs-mobile-toc-sheet__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: var(--docs-light-color);
    border: none;
    border-radius: 50%;
    color: var(--docs-text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .docs-mobile-toc-sheet__close:active {
    background: var(--docs-border-color);
    color: var(--docs-dark-color);
  }
  /* Body — reuses .docs-page-toc styling from desktop */
  .docs-mobile-toc-sheet__body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px 16px env(safe-area-inset-bottom, 16px);
    max-height: calc(65vh - 56px);
  }
  .docs-mobile-toc-sheet__body .docs-page-toc {
    border-left: 2px solid var(--docs-border-color);
    padding-left: 1rem;
  }
  .docs-mobile-toc-sheet__body .docs-page-toc h5 {
    display: none;
  }
  .docs-mobile-toc-sheet__body .docs-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .docs-mobile-toc-sheet__body .docs-toc-item {
    margin-bottom: 0.125rem;
  }
  .docs-mobile-toc-sheet__body .docs-toc-link {
    display: block;
    padding: 0.375rem 0;
    padding-left: 0.875rem;
    margin-left: -1.125rem;
    color: var(--docs-text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    line-height: 1.5;
    border-left: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
  }
  .docs-mobile-toc-sheet__body .docs-toc-link:active {
    color: var(--docs-primary-color);
  }
  .docs-mobile-toc-sheet__body .docs-toc-link.active {
    color: var(--docs-primary-color);
    border-left-color: var(--docs-primary-color);
    font-weight: 500;
  }
  .docs-mobile-toc-sheet__body .docs-toc-level-1 .docs-toc-link {
    font-weight: 600;
  }
  .docs-mobile-toc-sheet__body .docs-toc-level-3 .docs-toc-link {
    padding-left: 1.625rem;
  }
  .docs-mobile-toc-sheet__body .docs-toc-level-4 .docs-toc-link {
    padding-left: 2.375rem;
  }
  .docs-mobile-toc-sheet__body .docs-toc-level-5 .docs-toc-link {
    padding-left: 3.125rem;
  }
  .docs-mobile-toc-sheet__empty {
    padding: 24px 20px;
    text-align: center;
    color: var(--docs-text-muted);
    font-size: 0.8125rem;
  }
}
@media (max-width: 768px) {
  .docs-mobile-toc-fab {
    bottom: 16px;
    right: 14px;
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  .docs-mobile-toc-fab svg {
    width: 16px;
    height: 16px;
  }
  .docs-mobile-toc-sheet {
    max-height: 70vh;
    border-radius: 14px 14px 0 0;
  }
  .docs-mobile-toc-sheet__body {
    max-height: calc(70vh - 56px);
  }
  .docs-breadcrumb .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .docs-breadcrumb .breadcrumb::-webkit-scrollbar {
    height: 6px;
  }
  .docs-breadcrumb .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    margin: 0;
  }
  .docs-breadcrumb .breadcrumb .breadcrumb-item {
    text-transform: none;
  }
  .docs-faq-title {
    font-size: 1.5rem;
  }
}
/* =============================================
   Tags Index Page
   ============================================= */
.docs-tags-page {
  padding: 0;
}

.docs-tags-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--docs-border-color);
}

.docs-tags-page-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.docs-tags-page-title h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--docs-dark-color);
  margin: 0;
  line-height: 1.2;
}

.docs-tags-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #eff6ff;
  color: var(--docs-primary-color);
  border-radius: 10px;
  font-size: 1.125rem;
}

.docs-tags-stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: var(--docs-light-color);
  border: 1px solid var(--docs-border-color);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--docs-text-muted);
  white-space: nowrap;
}

/* Alphabet nav */
.docs-tags-alphabet-wrap {
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background: var(--docs-light-color);
  border: 1px solid var(--docs-border-color);
  border-radius: 10px;
}

.docs-tags-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.docs-tags-alpha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.375rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--docs-text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}

.docs-tags-alpha-btn:hover {
  background: var(--docs-primary-color);
  color: #fff;
  text-decoration: none;
}

/* Letter groups */
.docs-tags-groups {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.docs-tags-group {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--docs-border-color);
  scroll-margin-top: 100px;
}

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

.docs-tags-group-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.docs-tags-group-letter {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--docs-primary-color);
  line-height: 1;
  min-width: 1.5rem;
}

.docs-tags-group-divider {
  flex: 1;
  height: 1px;
  background: var(--docs-border-color);
}

.docs-tags-group-count {
  font-size: 0.75rem;
  color: var(--docs-text-muted);
  white-space: nowrap;
}

/* Tag chips */
.docs-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.docs-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: #fff;
  border: 1px solid var(--docs-border-color);
  border-radius: 999px;
  text-decoration: none;
  color: var(--docs-text-color);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.docs-tag-chip:hover {
  background: var(--docs-primary-color);
  border-color: var(--docs-primary-color);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.docs-tag-chip-hash {
  color: var(--docs-primary-color);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 0.1rem;
  transition: color 0.15s;
}

.docs-tag-chip:hover .docs-tag-chip-hash {
  color: rgba(255, 255, 255, 0.75);
}

.docs-tag-chip-name {
  line-height: 1;
}

.docs-tag-chip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  background: #eff6ff;
  color: var(--docs-primary-color);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-left: 0.375rem;
  transition: background 0.15s, color 0.15s;
}

.docs-tag-chip:hover .docs-tag-chip-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 768px) {
  .docs-tags-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .docs-tags-page-title h1 {
    font-size: 1.5rem;
  }
  .docs-tags-group {
    padding: 1.25rem 0;
  }
}
.docs-forum-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--docs-primary, #2563eb);
  color: #fff;
  border: 1.5px solid var(--docs-primary, #2563eb);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.docs-forum-cta-btn:hover {
  opacity: 0.88;
  color: #fff;
}
.docs-forum-cta-btn--outline {
  background: transparent;
  color: var(--docs-primary, #2563eb);
}
.docs-forum-cta-btn--outline:hover {
  background: var(--docs-primary, #2563eb);
  color: #fff;
}
.docs-forum-cta-btn--sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  border-radius: 6px;
}
.docs-forum-cta-btn--xs {
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 5px;
}

.docs-forum-tag-chip {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 20px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  transition: all 0.12s;
}
.docs-forum-tag-chip:hover {
  background: var(--docs-primary, #2563eb);
  color: #fff;
  border-color: var(--docs-primary, #2563eb);
}
.docs-forum-tag-chip--sm {
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
}

.docs-forum-text-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  color: var(--docs-text-muted, #718096);
  cursor: pointer;
  text-decoration: underline;
}
.docs-forum-text-btn:hover {
  color: var(--docs-primary, #2563eb);
}

.docs-forum-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--docs-border, #e2e8f0);
}

.docs-forum-hero__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--docs-text-primary, #1a202c);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.docs-forum-hero__sub {
  color: var(--docs-text-muted, #718096);
  font-size: 0.9rem;
  margin: 0;
}

.docs-forum-hero__right {
  flex-shrink: 0;
  padding-top: 0.35rem;
}

.docs-forum-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.docs-forum-search-form {
  flex: 1;
  min-width: 200px;
}

.docs-forum-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.docs-forum-search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--docs-text-muted, #718096);
  pointer-events: none;
}

.docs-forum-search-input {
  width: 100%;
  padding: 0.5rem 0.85rem 0.5rem 2.35rem;
  border: 1.5px solid var(--docs-border, #e2e8f0);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--docs-surface, #fff);
  color: var(--docs-text-primary, #1a202c);
}
.docs-forum-search-input:focus {
  outline: none;
  border-color: var(--docs-primary, #2563eb);
}

.docs-forum-sort-nav {
  display: flex;
  gap: 0.15rem;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.2rem;
}

.docs-forum-sort-tab {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--docs-text-muted, #718096);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.12s;
}
.docs-forum-sort-tab:hover {
  color: var(--docs-text-primary, #1a202c);
  background: rgba(255, 255, 255, 0.7);
}
.docs-forum-sort-tab.is-active {
  background: #fff;
  color: var(--docs-primary, #2563eb);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.docs-forum-list {
  display: flex;
  flex-direction: column;
}

.docs-forum-thread-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--docs-border, #e2e8f0);
}
.docs-forum-thread-card:last-child {
  border-bottom: none;
}

.docs-forum-thread-card__stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.docs-forum-thread-stat {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  border: 1.5px solid var(--docs-border, #e2e8f0);
  background: var(--docs-surface, #fff);
  transition: border-color 0.12s, background 0.12s;
}
.docs-forum-thread-stat.is-positive {
  border-color: #93c5fd;
  background: #eff6ff;
}
.docs-forum-thread-stat.is-positive .docs-forum-thread-stat__value {
  color: var(--docs-primary, #2563eb);
}
.docs-forum-thread-stat.is-negative {
  border-color: #fca5a5;
  background: #fef2f2;
}
.docs-forum-thread-stat.is-negative .docs-forum-thread-stat__value {
  color: #dc2626;
}
.docs-forum-thread-stat.is-answered {
  border-color: #6ee7b7;
  background: #f0fdf4;
}
.docs-forum-thread-stat.is-answered .docs-forum-thread-stat__value {
  color: #16a34a;
}
.docs-forum-thread-stat--views {
  border-color: transparent;
  background: transparent;
}
.docs-forum-thread-stat--views .docs-forum-thread-stat__value,
.docs-forum-thread-stat--views .docs-forum-thread-stat__label {
  color: var(--docs-text-muted, #718096);
}

.docs-forum-thread-stat__value {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--docs-text-primary, #1a202c);
}

.docs-forum-thread-stat__label {
  font-size: 0.72rem;
  color: var(--docs-text-muted, #718096);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.docs-forum-thread-card__bottom {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 560px) {
  .docs-forum-thread-card__bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.docs-forum-thread-card__body {
  flex: 1;
  min-width: 0;
}

.docs-forum-thread-card__title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.docs-forum-thread-card__title a {
  color: var(--docs-primary, #2563eb);
  text-decoration: none;
}
.docs-forum-thread-card__title a:hover {
  text-decoration: underline;
}

.docs-forum-answered-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
}

.docs-forum-thread-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.docs-forum-thread-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 120px;
  max-width: 160px;
}

.docs-forum-thread-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.docs-forum-thread-card__author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.docs-forum-thread-card__author-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--docs-text-primary, #1a202c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-forum-thread-card__time {
  font-size: 0.72rem;
  color: var(--docs-text-muted, #718096);
}

.docs-forum-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--docs-text-muted, #718096);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.docs-forum-empty-state__icon {
  opacity: 0.3;
}
.docs-forum-empty-state p {
  margin: 0;
  font-size: 1rem;
}

.docs-forum-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.docs-forum-detail-titlebar {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--docs-border, #e2e8f0);
  margin-bottom: 1.75rem;
}

.docs-forum-detail-titlebar__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--docs-text-primary, #1a202c);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.docs-forum-detail-titlebar__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--docs-text-muted, #718096);
}
.docs-forum-detail-titlebar__meta strong {
  color: var(--docs-text-primary, #1a202c);
}

.docs-forum-detail-titlebar__dot {
  color: #cbd5e0;
}

.docs-forum-detail-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.docs-forum-post {
  display: flex;
  gap: 1.25rem;
  border-bottom: 1px solid var(--docs-border, #e2e8f0);
}
.docs-forum-post:last-child {
  border-bottom: none;
}
.docs-forum-post--accepted {
  background: #f9fffe;
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid #bbf7d0;
  margin-bottom: 0.75rem;
}

.docs-forum-vote-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 44px;
  flex-shrink: 0;
}

.docs-forum-vote-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--docs-border, #e2e8f0);
  background: var(--docs-surface, #fff);
  cursor: pointer;
  color: var(--docs-text-muted, #718096);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  user-select: none;
}
.docs-forum-vote-arrow svg {
  flex-shrink: 0;
}
.docs-forum-vote-arrow--up:hover {
  border-color: var(--docs-primary, #2563eb);
  color: var(--docs-primary, #2563eb);
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}
.docs-forum-vote-arrow--up.is-active {
  background: var(--docs-primary, #2563eb);
  border-color: var(--docs-primary, #2563eb);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.docs-forum-vote-arrow--down:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.12);
}
.docs-forum-vote-arrow--down.is-active {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.docs-forum-vote-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--docs-text-primary, #1a202c);
  min-width: 30px;
  text-align: center;
  padding: 0.2rem 0;
  line-height: 1;
}

.docs-forum-accept-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--docs-border, #e2e8f0);
  background: transparent;
  cursor: pointer;
  color: var(--docs-text-muted, #718096);
  margin-top: 0.5rem;
  transition: all 0.15s ease;
}
.docs-forum-accept-btn:hover {
  border-color: #22c55e;
  color: #22c55e;
  background: #f0fdf4;
  transform: scale(1.08);
}
.docs-forum-accept-btn.is-accepted {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.docs-forum-accepted-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  background: #22c55e;
  color: #fff;
  margin-top: 0.5rem;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.docs-forum-faq-star {
  margin-top: 0.5rem;
  opacity: 0.85;
  transition: transform 0.15s;
}
.docs-forum-faq-star:hover {
  transform: scale(1.15);
}

.docs-forum-post__body {
  flex: 1;
  min-width: 0;
}

.docs-forum-post__content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--docs-text-primary, #1a202c);
  margin-bottom: 1.25rem;
}

.docs-forum-accepted-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 5px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
}

.docs-forum-post__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.docs-forum-post__footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.docs-forum-post__author-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--docs-border, #e2e8f0);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.docs-forum-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.docs-forum-author-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
}

.docs-forum-author-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--docs-text-primary, #1a202c);
}

.docs-forum-author-time {
  font-size: 0.75rem;
  color: var(--docs-text-muted, #718096);
  display: block;
}

.docs-forum-comments-thread {
  margin-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.docs-forum-comment-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.docs-forum-comment-item__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.docs-forum-comment-item__bubble {
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
  background: #f8fafc;
  border: 1px solid var(--docs-border, #e2e8f0);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
}

.docs-forum-comment-item__author {
  font-weight: 600;
  color: var(--docs-text-primary, #1a202c);
  font-size: 0.8rem;
}

.docs-forum-comment-item__dot {
  color: #cbd5e0;
  margin: 0 0.2rem;
}

.docs-forum-comment-item__time {
  font-size: 0.75rem;
  color: var(--docs-text-muted, #718096);
}

.docs-forum-comment-item__body {
  margin: 0.2rem 0 0;
  color: var(--docs-text-primary, #1a202c);
  line-height: 1.5;
}

.docs-forum-comment-form {
  display: none;
  margin-top: 0.6rem;
}
.docs-forum-comment-form.is-visible {
  display: block;
}

.docs-forum-comment-form__inner {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.docs-forum-comment-form__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--docs-primary, #2563eb), #8b5cf6);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.docs-forum-comment-form__field {
  flex: 1;
}

.docs-forum-comment-form__input {
  width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--docs-border, #e2e8f0);
  border-radius: 8px;
  font-size: 0.85rem;
  resize: vertical;
  background: var(--docs-surface, #fff);
  color: var(--docs-text-primary, #1a202c);
  margin-bottom: 0.4rem;
}
.docs-forum-comment-form__input:focus {
  outline: none;
  border-color: var(--docs-primary, #2563eb);
}

.docs-forum-comment-form__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.docs-forum-post-section,
.docs-forum-answers-section,
.docs-forum-submit-section {
  margin-bottom: 0.5rem;
}

.docs-forum-answers-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--docs-text-primary, #1a202c);
  padding: 1.25rem 0 0.75rem;
  border-top: 2px solid var(--docs-border, #e2e8f0);
  margin-top: 0.5rem;
}

.docs-forum-answer-form {
  margin-top: 0.75rem;
}

.docs-forum-answer-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid var(--docs-border, #e2e8f0);
  border-radius: 8px;
  font-size: 0.95rem;
  resize: vertical;
  background: var(--docs-surface, #fff);
  color: var(--docs-text-primary, #1a202c);
  line-height: 1.6;
  transition: border-color 0.15s;
}
.docs-forum-answer-textarea:focus {
  outline: none;
  border-color: var(--docs-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.docs-forum-answer-form__actions {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.docs-forum-login-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px dashed var(--docs-border, #e2e8f0);
  border-radius: 10px;
  color: var(--docs-text-muted, #718096);
  font-size: 0.9rem;
}

.docs-forum-closed-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #92400e;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.docs-forum-form-group {
  margin-bottom: 1.5rem;
}

.docs-forum-form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--docs-text-primary, #1a202c);
}

.docs-forum-form-required {
  color: #dc2626;
  margin-left: 0.15rem;
}

.docs-forum-form-input,
.docs-forum-form-textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--docs-border, #e2e8f0);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--docs-surface, #fff);
  color: var(--docs-text-primary, #1a202c);
  transition: border-color 0.15s;
}
.docs-forum-form-input:focus,
.docs-forum-form-textarea:focus {
  outline: none;
  border-color: var(--docs-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.docs-forum-form-input.is-error,
.docs-forum-form-textarea.is-error {
  border-color: #dc2626;
}

.docs-forum-form-textarea {
  resize: vertical;
  min-height: 240px;
  line-height: 1.65;
}

.docs-forum-form-error {
  display: block;
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.docs-forum-form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.docs-prose h1,
.docs-prose h2,
.docs-prose h3 {
  font-weight: 600;
  margin: 1.25em 0 0.5em;
}
.docs-prose p {
  margin: 0 0 0.85em;
}
.docs-prose ul,
.docs-prose ol {
  padding-left: 1.5em;
  margin-bottom: 0.85em;
}
.docs-prose code {
  background: #f1f5f9;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.88em;
}
.docs-prose pre {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}
.docs-prose pre code {
  background: none;
  padding: 0;
  font-size: 0.85em;
}
.docs-prose blockquote {
  border-left: 3px solid var(--docs-border, #e2e8f0);
  padding-left: 1rem;
  color: var(--docs-text-muted, #718096);
  margin: 0.75em 0;
}

.docs-qa-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e8ecf0;
  margin-bottom: 1.5rem;
}

.docs-qa-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 6px 6px 0 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.docs-qa-tab svg {
  opacity: 0.7;
  flex-shrink: 0;
}
.docs-qa-tab:hover {
  color: #1e40af;
  background: #f0f4ff;
  text-decoration: none;
}
.docs-qa-tab.is-active {
  color: #1e40af;
  border-bottom-color: #1e40af;
  background: transparent;
  font-weight: 600;
}
.docs-qa-tab.is-active svg {
  opacity: 1;
}

.docs-faq-forum-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%);
  border: 1px solid #c7d7f8;
  border-radius: 10px;
  margin: 2rem 0 1.5rem;
}
@media (max-width: 640px) {
  .docs-faq-forum-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.docs-faq-forum-cta__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
}

.docs-faq-forum-cta__body {
  flex: 1;
  min-width: 0;
}

.docs-faq-forum-cta__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px;
}

.docs-faq-forum-cta__desc {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.docs-faq-forum-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #1e40af;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.docs-faq-forum-cta__btn:hover {
  background: #1d3a9e;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 640px) {
  .docs-faq-forum-cta__btn {
    align-self: stretch;
    justify-content: center;
  }
}

.docs-faq-forum-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s;
}
.docs-faq-forum-meta-chip--answered {
  color: #166534;
  background: #dcfce7;
}
.docs-faq-forum-meta-chip--up {
  color: #1e40af;
  background: #dbeafe;
}

.docs-faq-forum-answer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.75rem;
}

.docs-faq-forum-answer-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.docs-faq-forum-answer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8375rem;
  font-weight: 500;
  color: var(--docs-primary, #2563eb);
  text-decoration: none;
}
.docs-faq-forum-answer-link:hover {
  text-decoration: underline;
}
.docs-faq-forum-answer-link__badge {
  font-size: 0.7rem;
  font-weight: 500;
  color: #92400e;
  background: #fef3c7;
  border-radius: 4px;
  padding: 1px 6px;
}

.docs-faq-forum-view-all {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.docs-faq-forum-view-all__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  color: var(--docs-primary, #2563eb);
  text-decoration: none;
  font-weight: 500;
}
.docs-faq-forum-view-all__link:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .docs-faq-forum-view-all {
    flex-direction: column;
    align-items: flex-start;
  }
}

.docs-faq-forum-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  margin: 1rem 0 2rem;
}
.docs-faq-forum-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docs-primary, #2563eb);
  text-decoration: none;
}
.docs-faq-forum-footer__link:hover {
  text-decoration: underline;
}
.docs-faq-forum-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--docs-primary, #2563eb);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.docs-faq-forum-footer__btn:hover {
  opacity: 0.88;
  color: #fff;
  text-decoration: none;
}
.docs-faq-forum-footer__btn--outline {
  background: transparent;
  border: 1.5px solid var(--docs-primary, #2563eb);
  color: var(--docs-primary, #2563eb);
}
.docs-faq-forum-footer__btn--outline:hover {
  background: #eff6ff;
}
@media (max-width: 480px) {
  .docs-faq-forum-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.docs-related-posts {
  margin: 2.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--docs-border-color, #e2e8f0);
}
.docs-related-posts__header {
  margin-bottom: 1.25rem;
}
.docs-related-posts__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--docs-dark-color, #1e293b);
  margin: 0;
}
.docs-related-posts__icon {
  color: var(--docs-primary-color, #3b82f6);
  flex-shrink: 0;
}
.docs-related-posts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (max-width: 640px) {
  .docs-related-posts__grid {
    grid-template-columns: 1fr;
  }
}
.docs-related-posts__footer {
  margin-top: 1rem;
  text-align: center;
}
.docs-related-posts__load-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docs-primary-color, #3b82f6);
  background: transparent;
  border: 1.5px solid var(--docs-primary-color, #3b82f6);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.docs-related-posts__load-more svg {
  transition: transform 0.2s;
}
.docs-related-posts__load-more:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #1d4ed8;
}
.docs-related-posts__load-more[data-expanded="1"] svg {
  transform: rotate(180deg);
}

.docs-related-post-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--docs-border-color, #e2e8f0);
  border-radius: 10px;
  text-decoration: none;
  color: var(--docs-text-color, #334155);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.docs-related-post-card:hover {
  border-color: var(--docs-primary-color, #3b82f6);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.1);
  background: #fff;
  color: var(--docs-text-color, #334155);
  text-decoration: none;
}
.docs-related-post-card:hover .docs-related-post-card__arrow {
  color: var(--docs-primary-color, #3b82f6);
  transform: translateX(3px);
}
.docs-related-post-card:hover .docs-related-post-card__title {
  color: var(--docs-primary-color, #3b82f6);
}
.docs-related-post-card--hidden {
  display: none;
}
.docs-related-post-card__body {
  flex: 1;
  min-width: 0;
}
.docs-related-post-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--docs-dark-color, #1e293b);
  margin: 0 0 0.3rem;
  line-height: 1.4;
  transition: color 0.18s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.docs-related-post-card__desc {
  font-size: 0.8rem;
  color: var(--docs-text-muted, #64748b);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.docs-related-post-card__arrow {
  flex-shrink: 0;
  color: #cbd5e1;
  transition: color 0.18s, transform 0.18s;
  margin-top: 2px;
}

/* Layout Home */
.docs-home {
  color: #1e293b;
  background: #f8fafc;
}

/* Hero */
.docs-home .hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}

.docs-home .hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.docs-home .hero .subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 16px;
  font-weight: 400;
}

.docs-home .hero p {
  font-size: 15px;
  opacity: 0.8;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.docs-home .hero-search {
  max-width: 520px;
  margin: 0 auto 28px;
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.docs-home .hero-search input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  outline: none;
  color: #334155;
}

.docs-home .hero-search .docs-search-trigger-wrap {
  padding: 0;
  border: none;
}

.docs-home .hero-search button {
  background: #1e40af;
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
}

.docs-home .hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.docs-home .hero-cta a {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.docs-home .hero-cta .primary {
  background: #fff;
  color: #1e40af;
}

.docs-home .hero-cta .secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.docs-home .hero-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sections */
.docs-home .section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
}

.docs-home .section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.docs-home .section-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 28px;
}

/* Role Cards */
.docs-home .role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.docs-home .role-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.docs-home .role-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.docs-home .role-card .role-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
}

.docs-home .role-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.docs-home .role-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.docs-home .role-card:nth-child(1) .role-icon {
  background: #dbeafe;
  color: #1e40af;
}

.docs-home .role-card:nth-child(2) .role-icon {
  background: #fce7f3;
  color: #be185d;
}

.docs-home .role-card:nth-child(3) .role-icon {
  background: #d1fae5;
  color: #047857;
}

.docs-home .role-card:nth-child(4) .role-icon {
  background: #fef3c7;
  color: #b45309;
}

.docs-home .role-card:nth-child(5) .role-icon {
  background: #ede9fe;
  color: #6d28d9;
}

.docs-home .role-card:nth-child(6) .role-icon {
  background: #fee2e2;
  color: #dc2626;
}

.docs-home .role-card:nth-child(7) .role-icon {
  background: #e0f2fe;
  color: #0369a1;
}

.docs-home .role-card:nth-child(8) .role-icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.docs-home .role-card:nth-child(9) .role-icon {
  background: #f1f5f9;
  color: #475569;
}

/* Feature Cards */
.docs-home .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.docs-home .feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.docs-home .feature-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.docs-home .feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.docs-home .feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.docs-home .feature-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.docs-home .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.docs-home .badge.popular {
  background: #fef3c7;
  color: #b45309;
}

.docs-home .badge.new {
  background: #fee2e2;
  color: #dc2626;
}

.docs-home .feature-card:nth-child(1) .feature-icon {
  background: #dbeafe;
  color: #1e40af;
}

.docs-home .feature-card:nth-child(2) .feature-icon {
  background: #fef3c7;
  color: #b45309;
}

.docs-home .feature-card:nth-child(3) .feature-icon {
  background: #d1fae5;
  color: #047857;
}

.docs-home .feature-card:nth-child(4) .feature-icon {
  background: #fce7f3;
  color: #be185d;
}

.docs-home .feature-card:nth-child(5) .feature-icon {
  background: #ede9fe;
  color: #6d28d9;
}

.docs-home .feature-card:nth-child(6) .feature-icon {
  background: #fee2e2;
  color: #dc2626;
}

.docs-home .feature-card:nth-child(7) .feature-icon {
  background: #e0f2fe;
  color: #0369a1;
}

.docs-home .feature-card:nth-child(8) .feature-icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.docs-home .feature-card:nth-child(9) .feature-icon {
  background: #f1f5f9;
  color: #475569;
}

/* Quick Start */
.docs-home .quickstart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.docs-home .quickstart-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.docs-home .quickstart-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.docs-home .quickstart-card .icon {
  font-size: 24px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.docs-home .quickstart-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.docs-home .quickstart-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* Support */
.docs-home .support-section {
  background: #f1f5f9;
}

.docs-home .support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.docs-home .support-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.docs-home .support-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.docs-home .support-card .icon {
  font-size: 32px;
  color: #3b82f6;
  margin-bottom: 12px;
  display: block;
}

.docs-home .support-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.docs-home .support-card p {
  font-size: 13px;
  color: #64748b;
}

/* Divider */
.docs-home .divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0;
  opacity: 1;
}

@media (max-width: 768px) {
  .docs-home .feature-grid {
    grid-template-columns: 1fr;
  }
  .docs-home .quickstart-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-home .role-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .docs-home .support-grid {
    grid-template-columns: 1fr;
  }
  .docs-home .header-nav {
    display: none;
  }
}


/*# sourceMappingURL=docs.css.map */
